UserDefinedFarfield#
- class UserDefinedFarfield[source]#
Bases:
_FarfieldBaseSetting for user defined farfield zone generation. This means the “farfield” boundaries are coming from the supplied geometry file and meshing will take place inside this “geometry”.
Important: By default, the volume mesher will grow boundary layers on
UserDefinedFarfield. UsePassiveSpacingto project or disable boundary layer growth.Example
>>> fl.UserDefinedFarfield(name="InnerChannel")
Attributes
- domain_type: Literal['half_body_positive_y', 'half_body_negative_y', 'full_body'], optional#
- half_body_positive_y: Trim to a half-model by slicing with the global Y=0 plane; keep the ‘+y’ side for meshing and simulation. - half_body_negative_y: Trim to a half-model by slicing with the global Y=0 plane; keep the ‘-y’ side for meshing and simulation. - full_body: Keep the full body for meshing and simulation without attempting to add symmetry planes. Warning: When using AutomatedFarfield or UserDefinedFarfield, setting domain_type overrides automatic symmetry plane detection.
- Default:
None
Properties
- symmetry_plane: GhostSurface#
Returns the symmetry plane boundary surface.
Warning: This should only be used when using GAI and beta mesher.
Additional Constructors
- classmethod from_file(filename)#
Load a Flow360BaseModel from a .json file.
- Parameters:
filename (str)
- Return type:
Flow360BaseModel
Methods