You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I want to retrieve default values, and then determine an input for Argument params given those default values.
For example i want to get the default size for a face size that i will set in the "apply local sizings" task.
Current working code:
session = pyfluent.launch_fluent(mode="meshing", precision="double")
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I want to retrieve default values, and then determine an input for Argument params given those default values.
For example i want to get the default size for a face size that i will set in the "apply local sizings" task.
Current working code:
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"]
#retrive default value of param "BOISize" from add_local_sizing.Arguments() here
Beta Was this translation helpful? Give feedback.
All reactions