TAGGED: ansys-meshing-python-script
-
-
December 9, 2024 at 7:57 amsmad0004Subscriber
Hi, Im using the watertight module of pyfluent and need to retrieve default values of the task parameters like the size (variable name: 'BOISize') of face size in the "Apply Local Sizings" task.
How do i retrieve default values?
working code so far:
session = pyfluent.launch_fluent(mode="meshing", precision="double")    Â#Meshing Workflow workflow = session.workflow workflow.InitializeWorkflow(WorkflowType="Watertight Geometry") workflow.TaskObject['Import Geometry'].Arguments = {      'FileFormat': 'CAD', #[CAD, Mesh]      'ImportType': 'Single File', # ['Single File', 'Multiple Files']      'LengthUnit': 'mm', # ['mm', 'm', 'cm', 'in', 'ft', 'um', 'nm']      'UseBodyLabels': 'No', # ['No', 'Yes']      'FileName': f'{file_path}}workflow.TaskObject["Import Geometry"].Execute()add_local_sizing = self.workflow.TaskObject["Add Local Sizing"]Â----------------------------------------------------------------------------------------------------ÂÂÂ
-
December 9, 2024 at 11:00 amRobForum Moderator
Have a look on here https://github.com/ansys That's all I (as staff) can suggest.Â
-
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Fluent fails with Intel MPI protocol on 2 nodes
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
Top Contributors
-
1446
-
599
-
591
-
591
-
366
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.