flow360.AutomatedFarfield#
- class AutomatedFarfield[source]#
Bases:
_FarfieldBaseSettings for automatic farfield volume zone generation.
Example
>>> fl.AutomatedFarfield(name="Farfield", method="auto")
- method: Literal['auto', 'quasi-3d', 'quasi-3d-periodic'] = 'auto'#
- auto: The mesher will Sphere or semi-sphere will be generated based on the bounding box of the geometry.
Full sphere if min{Y} < 0 and max{Y} > 0.
+Y semi sphere if min{Y} = 0 and max{Y} > 0.
-Y semi sphere if min{Y} < 0 and max{Y} = 0.
- quasi-3d: Thin disk will be generated for quasi 3D cases.
Both sides of the farfield disk will be treated as βsymmetric planeβ
quasi-3d-periodic: The two sides of the quasi-3d disk will be conformal
Note: For quasi-3d, please do not group patches from both sides of the farfield disk into a single surface.
- relative_size: Annotated[float, Gt(gt=0)] = 50.0#
Radius of the far-field (semi)sphere/cylinder relative to the max dimension of the geometry bounding box.
- Constraints:
gt = 0
- property farfield#
Returns the farfield boundary surface.
- property symmetry_plane: GhostSurface#
Returns the symmetry plane boundary surface.
- property symmetry_planes#
Returns the symmetry plane boundary surface(s).
- domain_type: Literal['half_body_positive_y', 'half_body_negative_y', 'full_body'] | None = None#
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, setting domain_type overrides the βautoβ symmetry plane behavior.