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.

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