Outflow#

class Outflow[source]#

Bases: BoundaryBase

Outflow defines the outflow boundary condition based on the input spec.

Example

  • Define outflow boundary condition with pressure:

    >>> fl.Outflow(
    ...     surfaces=volume_mesh["fluid/outlet"],
    ...     spec=fl.Pressure(value = 0.99e6 * fl.u.Pa)
    ... )
    
  • Define outflow boundary condition with Mach number:

    >>> fl.Outflow(
    ...     surfaces=volume_mesh["fluid/outlet"],
    ...     spec=fl.Mach(value = 0.2)
    ... )
    
  • Define outflow boundary condition with mass flow rate:

    >>> fl.Outflow(
    ...     surfaces=volume_mesh["fluid/outlet"],
    ...     spec=fl.MassFlowRate(value = 123 * fl.u.lb / fl.u.s)
    ... )
    

Attributes

entities: EntityList[Surface, MirroredSurface, WindTunnelGhostSurface]#

List of boundaries with the Outflow boundary condition imposed.

name: str, optional#

Name of the Outflow boundary condition.

Default:

'Outflow'

spec: Pressure | MassFlowRate | Mach#

Specify the static pressure, mass flow rate, or Mach number parameters at the Outflow boundary.

Methods

classmethod remap_symmetric_to_user_name(value)#

Remap ‘symmetric’ ghost entity to user’s symmetry surface name for UDF backward compat.

classmethod ensure_surface_existence(value)#

Ensure all boundaries will be present after mesher