SymmetryPlane#

class SymmetryPlane[source]#

Bases: BoundaryBase

SymmetryPlane defines the symmetric boundary condition. It is similar to SlipWall, but the normal gradient of scalar quantities are forced to be zero on the symmetry plane. Only planar surfaces are supported.

Example

>>> fl.SymmetryPlane(entities=volume_mesh["fluid/symmetry"])
  • Define SymmetryPlane boundary condition with automated farfield symmetry plane boundaries:

    >>> auto_farfield = fl.AutomatedFarfield()
    >>> fl.SymmetryPlane(
    ...     entities=[auto_farfield.symmetry_planes],
    ... )
    

Attributes

entities: EntityList[Surface, MirroredSurface, GhostSurface, GhostCircularPlane]#

List of boundaries with the SymmetryPlane boundary condition imposed.

name: str, optional#

Name of the SymmetryPlane boundary condition.

Default:

'Symmetry'

Additional Constructors

classmethod from_file(filename)#

Load a Flow360BaseModel from a .json file.

Parameters:

filename (str)

Return type:

Flow360BaseModel

Methods

help(methods=False)#

Print fields and methods of a Flow360BaseModel using rich.

Parameters:

methods (bool)

Return type:

None

to_file(filename, **kwargs)#

Export Flow360BaseModel instance to a .json file.

Parameters:
Return type:

None