`add_local_sizing.InsertCompoundChildTask()
workflow.TaskObject["Add Local Sizing"].Execute()
add_local_sizing = workflow.TaskObject["Add Local Sizing"]
add_local_sizing.Arguments = dict(
{
"AddChild": "yes",
"BOIControlName": "facesize_main",
"BOIFaceLabelList": ["wall_ahmed_body_main"],
"BOIGrowthRate": 1.15,
"BOISize": 12,
}
)
add_local_sizing.Execute()
add_local_sizing.InsertCompoundChildTask()
workflow.TaskObject["Add Local Sizing"].Execute()
add_local_sizing = workflow.TaskObject["Add Local Sizing"]
add_local_sizing.Arguments = dict(
{
"AddChild": "yes",
"BOIControlName": "facesize_wheels",
"BOIFaceLabelList": ["wheels"],
"BOIGrowthRate": 1.15,
"BOISize": 7,
}
)
add_local_sizing.Execute()
add_local_sizing.InsertCompoundChildTask()
workflow.TaskObject["Add Local Sizing"].Execute()`
This section of code focuses on adding local sizing to each part of my ahmed body. This code was mainly taken under the "Add Local Face Sizing" section of the Ahmed Body External Aerodynamics Simulation example linked here: [https://examples.fluent.docs.pyansys.com/version/dev/examples/00-released_examples/00-ahmed_body_workflow.html#sphx-glr-examples-00-released-examples-00-ahmed-body-workflow-py]
The first section has the BOIControlName "facesize_main", and it ran perfectly (Because it's the exact same code) However, the 3d body that I'm testing has wheels, so I tried to add local sizing under the BOIControlName "facesize_wheels" which I had made up to correspond to my named selection of "wheels". The code freezes on the last line of the code, when the local sizing of the wheels is finally executed.
I'm guessing that that there's a set of BOIControlNames that I have to pick from, but I'm not sure where to find that, or if that's the problem at all. Thanks in advance for the help.