-
-
February 7, 2019 at 7:02 am
Ryan27
SubscriberI Currently have a parametric study set up with varying geometry constructed using SpaceClaim scripting. The issue is when a parameter changes and the geometry updates, the mesh looses references to the body selections. To overcome this I made the body a named selection in SpaceClaim and selected the "Named Selection" option (instead of Geometry Selection) in ANSYS meshing. However when using a Body of Influence you can only select the body.
I also receive the following Warning in ANSYS Mesher
'One or more objects have lost scoping attachments during the geometry update.
Parametric study setup
Â
Meshing after initial setup
Â
After updating geometry mesh looses reference to body selection
Â
Can be fixed by making named selection of body
Â
This solution still doesn't work when creating a body of influence
-
February 7, 2019 at 8:24 am
-
February 7, 2019 at 12:05 pm
Ryan27
SubscriberThanks, I tried those settings and it still doesn't work. Something else that may be of importance is each time a parameter is changed the SpaceClaim script deletes all components/bodies and completely rebuilds the geometry based on the new parameters.
-
February 7, 2019 at 12:28 pm
peteroznewman
SubscriberI haven't used SpaceClaim scripts, but you have identified the problem that the script deletes all components/bodies. Is is possible for the script to create the Groups (Named Selections) that are used in Meshing?
I have succeeded in using parameters to change the shape of bodies in SpaceClaim when the parameters just move faces. Then Meshing has a persistent face ID to attach items to. Can you achieve the needed changes using this approach?
-
February 7, 2019 at 12:59 pm
Ryan27
SubscriberI've got the script creating all the named selections and this works well and I can use them when meshing. The problem is when creating a body of influence it doesn't give the option to select the BOI as a named selection, only a geometry selection (which is where it loses its reference).
What the script does is import some geometry, rotates the bodies (which is a parameter) then creates an enclosure around it. It also creates another body used as a BOI, along with all the named selections.
I've tried just moving the faces in the enclosure however the geometry seems to be complicated enough that it just ends up deleting them or produces some kind of error.
-
February 7, 2019 at 1:16 pm
peteroznewman
SubscriberSounds like you will have to give up on the BOI as a meshing control.
-
February 7, 2019 at 1:56 pm
Ryan27
SubscriberSo I've found a bit of a work around. As the BOI doesn't change when changing the parameters, I just left it as a permanent body so the script only deletes and rebuilds the enclosure.
-
January 17, 2020 at 6:27 am
ormiseragon
Subscribersorry, i have the same problem,could you please upload your screenshoot ~
-
- The topic ‘Parametric Study ANSYS Meshing losing body references’ is closed to new replies.
-
4607
-
1515
-
1386
-
1209
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.





