remeshing_parameters#
Bases:
TUIMenu
Enters the dynamic mesh remeshing menu to set parameters for all remeshing methods.
Methods:
cell_skew_max
(*args, **kwargs)Sets the cell skewness threshold above which cells will be remeshed.
face_skew_max
(*args, **kwargs)Sets the face skewness threshold above which faces will be remeshed.
length_max
(*args, **kwargs)Sets the length threshold above which cells will be remeshed.
length_min
(*args, **kwargs)Sets the length threshold below which cells will be remeshed.
parallel_remeshing
(*args, **kwargs)Disables/enables parallel remeshing as part of methods-based remeshing..
poly_remeshing
(*args, **kwargs)Enable/disable poly remeshing.
remeshing_after_moving
(*args, **kwargs)Enables a second round of remeshing based on the skewness parameters after the boundary has moved as part of methods-based remeshing.
remeshing_methods
(*args, **kwargs)Enables/disables individual remeshing options as part of methods-based remeshing.
retain_size_distribution
(*args, **kwargs)Enables/disables the use of local size criteria when marking cells for unified remeshing (in an attempt to maintain the initial mesh size distribution even as the mesh moves), rather than marking cells based on the minimum and maximum length scale values of the cell zone in the initial mesh.
size_remesh_interval
(*args, **kwargs)Sets the interval (in time steps) when remeshing based on size is done for methods-based remeshing.
sizing_funct_defaults
(*args, **kwargs)Sets sizing function defaults.
sizing_funct_rate
(*args, **kwargs)Determines how far from the boundary the increase/decrease happens.
sizing_funct_resolution
(*args, **kwargs)Sets the sizing function resolution with respect to shortest boundary.
sizing_funct_variation
(*args, **kwargs)Sets the maximum sizing function increase/decrease in the interior.
sizing_function
(*args, **kwargs)Enables/disables the sizing function as part of methods-based remeshing.
unified_remeshing
(*args, **kwargs)Enables/disables unified remeshing, which specifies that an algorithm is used that combines aspects of a variety of remeshing methods.
zone_remeshing
(*args, **kwargs)Enables/disables the cell zone remeshing method as part of methods-based remeshing.
Classes:
prism_controls
(path, service)Enters the dynamic mesh prism controls menu, which provides text commands that can be useful when you want to modify the algorithm that attempts to retain the size distribution during unified remeshing.
prism_layer_parameters
(path, service)Enters the dynamic mesh prism layer parameters menu, where you can define the parameters of the prism layers as part of methods-based remeshing.
sizing_controls
(path, service)Enters the dynamic mesh sizing controls menu, which provides text commands that can be useful when you want to modify the algorithm that attempts to retain the size distribution during unified remeshing.
Sets the cell skewness threshold above which cells will be remeshed.
Sets the face skewness threshold above which faces will be remeshed.
Sets the length threshold above which cells will be remeshed.
Sets the length threshold below which cells will be remeshed.
Disables/enables parallel remeshing as part of methods-based remeshing..
Enable/disable poly remeshing.
Bases:
TUIMenu
Enters the dynamic mesh prism controls menu, which provides text commands that can be useful when you want to modify the algorithm that attempts to retain the size distribution during unified remeshing. Each prism control definition is applied to one or more boundary zones, and then affects the height distribution and number of layers of the wedge cells in the adjacent boundary layers.
Methods:
add
(*args, **kwargs)Adds a new prism controls definition.
delete
(*args, **kwargs)Deletes an existing prism controls definition.
edit
(*args, **kwargs)Edits an existing prism controls definition.
list
(*args, **kwargs)Prints a list of the existing prism controls definitions in the console.
list_properties
(*args, **kwargs)Prints the properties of an existing prism controls definition of your choice in the console.
Adds a new prism controls definition. After being prompted for a name, you can enter the following to complete the definition: first-height Sets the height of the first layer of wedge cells in the boundary layer adjacent to the specified zones. growth-method Specifies the method used to determine the increase in height of the wedge cell layers beyond the first layer. The only available option is geometric, so that the height of each layer is the height of the previous layer multiplied by the rate. name Specifies the name of the prism controls definition. nlayers Sets the number of layers of wedge cells in the boundary layer adjacent to the specified zones. rate Sets the coefficient for the growth-method used to determine the increase in height of the wedge cell layers beyond the first layer. zones Specifies all of the boundary zones on which this prism controls definition is applied. Enter q when the definition is complete to return to the text command menu.
Deletes an existing prism controls definition.
Edits an existing prism controls definition. You can revise the fields listed previously for the define/dynamic-mesh/controls/remeshing-parameters/prism-controls/add text command.
Prints a list of the existing prism controls definitions in the console.
Prints the properties of an existing prism controls definition of your choice in the console.
Bases:
TUIMenu
Enters the dynamic mesh prism layer parameters menu, where you can define the parameters of the prism layers as part of methods-based remeshing.
Methods:
first_height
(*args, **kwargs)Sets the first cell height in the prism layer.
growth_rate
(*args, **kwargs)Sets the geometric growth rate of the prism layer.
number_of_layers
(*args, **kwargs)Sets the number of elements in the prism layer.
Sets the first cell height in the prism layer.
Sets the geometric growth rate of the prism layer.
Sets the number of elements in the prism layer.
Enables a second round of remeshing based on the skewness parameters after the boundary has moved as part of methods-based remeshing.
Enables/disables individual remeshing options as part of methods-based remeshing.
Enables/disables the use of local size criteria when marking cells for unified remeshing (in an attempt to maintain the initial mesh size distribution even as the mesh moves), rather than marking cells based on the minimum and maximum length scale values of the cell zone in the initial mesh. Either marking can be overridden if more restrictive values are specified using the define/dynamic-mesh/controls/remeshing-parameters/length-min and define/dynamic-mesh/controls/remeshing-parameters/length-max text commands.
Sets the interval (in time steps) when remeshing based on size is done for methods-based remeshing.
Bases:
TUIMenu
Enters the dynamic mesh sizing controls menu, which provides text commands that can be useful when you want to modify the algorithm that attempts to retain the size distribution during unified remeshing. Each sizing control definition is applied to one or more boundary zones, and then affects the size of the cells throughout the mesh based on their distance from those boundary zone(s) and your settings in the definition.
Methods:
add
(*args, **kwargs)Adds a new sizing controls definition.
delete
(*args, **kwargs)Deletes an existing sizing controls definition.
edit
(*args, **kwargs)Edits an existing sizing controls definition.
list
(*args, **kwargs)Prints a list of the existing sizing controls definitions in the console.
list_properties
(*args, **kwargs)Prints the properties of an existing sizing controls definition of your choice in the console.
Adds a new sizing controls definition. After being prompted for a name, you can enter the following to complete the definition: growth-rate Sets the growth rate of the sizing controls definition. max-length Sets a maximum length threshold that is used when the type is set to auto or soft. min-length Sets a maximum length threshold that is used when the type is set to auto. motion Determines whether the size control definition affects the remeshing based on whether the mesh undergoes motion: auto specifies that it is applied whether or not there is motion; and static specifies that it is only applied if there is no motion. name Specifies the name of the sizing controls definition. type Specifies how the sizing is affected by the selected boundary zones: auto specifies that the default size distribution (rather than the initial size distribution in your selected boundary zones) is used, along with your specified max-length and min-length values; soft specifies that the maximum length scale of your selected boundary zones is used, along with your specified min-length value; and meshed specifies that the maximum and minimum length scales of your selected boundary zones are used, in order to respect their initial size distribution. This setting is only relevant if you have more than one sizing controls definition. zones Specifies all of the boundary zones on which the sizing controls definition is applied. Enter q when the definition is complete to return to the text command menu.
Deletes an existing sizing controls definition.
Edits an existing sizing controls definition. You can revise the fields listed previously for the define/dynamic-mesh/controls/remeshing-parameters/sizing-controls/add text command.
Prints a list of the existing sizing controls definitions in the console.
Prints the properties of an existing sizing controls definition of your choice in the console.
Sets sizing function defaults.
Determines how far from the boundary the increase/decrease happens.
Sets the sizing function resolution with respect to shortest boundary.
Sets the maximum sizing function increase/decrease in the interior.
Enables/disables the sizing function as part of methods-based remeshing.
Enables/disables unified remeshing, which specifies that an algorithm is used that combines aspects of a variety of remeshing methods. It is applied to triangular or tetrahedral cells and can produce wedge cells in 3D boundary layer meshes. Unified remeshing simplifies the remeshing setup and can provide increased robustness compared to methods-based remeshing, especially for parallel simulations.
Enables/disables the cell zone remeshing method as part of methods-based remeshing.