Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Installation and Licensing Ansys Products How to intelligently add local sizes in pyfluent and conveniently obtain zone na Reply To: How to intelligently add local sizes in pyfluent and conveniently obtain zone na

haibin wu
Subscriber
i got it. I used the following code to select all zones with "oil_fluid oil_fluid" in their names. At present, it has solved my problem, but I also want to know if there are other ways to obtain zone name by label to achieve intelligent and convenient selection of zone name meshing_session.workflow.TaskObject["Add Local Sizing"].Arguments.setState( AddChild="yes", BOIControlName="bodysize_oil", BOIExecutio="Body Size", BOIFaceLabelList='*oil_fluid-oil_fluid*', BOISize=2)
[bingo_chatbox]