luminarycloud.params.simulation.physics.fluid.boundary_conditions

Submodules

Classes

Farfield

Farfield boundary condition.

Inlet

Inlet boundary condition.

Outlet

Outlet boundary condition.

Symmetry

Symmetry boundary condition.

TurbulenceBoundaryConditions

Turbulence boundary conditions.

Wall

Wall boundary condition.

Package Contents

class Farfield

Farfield boundary condition.

angle_alpha: LcFloat = 0.0

Angle of attack. Positive angle of attack results in a non-zero far-field velocity component in the negative body-z direction.

angle_beta: LcFloat = 0.0

Angle of sideslip. Positive angle of sideslip results in a non-zero far-field velocity component in the positive body-y direction.

direction: Vector3

Vector specifying the flow direction at the far-field boundary. Automatically scaled to a unit vector internally.

direction_specification: luminarycloud.params.enum.FarFieldFlowDirectionSpecification

Method of defining the flow direction at the far-field.

id: str = ''
mach_number: LcFloat = 0.5

Mach number at the boundary.

momentum: luminarycloud.params.enum.FarfieldMomentum

Method of defining the farfield momentum conditions.

name: str = ''
pressure: LcFloat = 101325

Static pressure at the boundary relative to the material reference pressure.

surfaces: list[str] = []
temperature: LcFloat = 288.15

Static temperature at the boundary.

turbulence: TurbulenceBoundaryConditions

Turbulence boundary conditions.

velocity: LcFloat = 1.0

Velocity magnitude at the boundary.

class Inlet

Inlet boundary condition. NOTE: This is a base class, please use the derived classes from the inlet module.

enable_profile: bool = False

Turn on or off the ability to use tabulated data to define spatially varying boundary conditions.

id: str = ''
inlet_energy: luminarycloud.params.enum.InletEnergy

Method of defining the inlet energy conditions.

name: str = ''
profile_table: RectilinearTable | None = None

Tabulated data for spatially varying boundary conditions.

profile_type: luminarycloud.params.enum.ProfileType

Types of boundary condition profile.

surfaces: list[str] = []
total_temperature: LcFloat = 300

Total temperature at the inlet boundary.

total_temperature_column_index: int = 0

Index of the column of the table in profile_bc_data for Total Temperature.

turbulence: TurbulenceBoundaryConditions

Turbulence boundary conditions.

class Outlet

Outlet boundary condition.

id: str = ''
name: str = ''
outlet_strategy: OutletStrategy

Outlet strategy. Possible types: OutletPressure, OutletTargetMassFlowRate, OutletTargetCorrectedMassFlowRate, FanCurveOutlet from the outlet_strategy module.

pressure_constraint: luminarycloud.params.enum.OutletPressureConstraint

Mode of imposing pressure at the outlet.

surfaces: list[str] = []
class Symmetry

Symmetry boundary condition.

id: str = ''
name: str = ''
surfaces: list[str] = []
class TurbulenceBoundaryConditions

Turbulence boundary conditions.

intensity: luminarycloud.types.LcFloat = 0.05

Turbulence intensity at the boundary.

komega: luminarycloud.params.enum.TurbulenceSpecificationKomega

Condition applied to the k-ω turbulence variables at the boundary.

omega: luminarycloud.types.LcFloat = 4.166705541552236e-05

Uniform boundary condition value for the specific dissipation rate variable.

omega_column_index: int = 0

Index of the column of the profile boundary condition table used for the specific dissipation rate.

sa_variable: luminarycloud.types.LcFloat = 4.166705541552236e-05

Uniform boundary condition value for the Spalart-Allmaras turbulence variable.

sa_variable_column_index: int = 0

Index of the column of the profile boundary condition table used for the Sparlart-Allmaras variable.

spalart_allmaras: luminarycloud.params.enum.TurbulenceSpecificationSpalartAllmaras

Condition applied to the Spalart-Allmaras turbulence equation at the boundary.

tke: luminarycloud.types.LcFloat = 4.166705541552236e-05

Uniform boundary condition value for the turbulent kinetic energy variable.

tke_column_index: int = 0

Index of the column of the profile boundary condition table used for the turbulent kinetic energy.

viscosity: luminarycloud.types.LcFloat = 3.765582173541416e-06

Turbulent viscosity at the boundary.

viscosity_ratio: luminarycloud.types.LcFloat = 0.21043825715555026

Turbulent-to-laminar viscosity ratio at the boundary.

class Wall

Wall boundary condition.

energy: WallEnergy

Condition applied to the energy equation at a solid wall boundary. Possible types: PrescribedHeatFlux, PrescribedTemperature from the energy module.

id: str = ''
momentum: WallMomentum

Condition applied to the momentum equations at a solid wall boundary. Possible types: NoSlip, Slip, WallModel from the momentum module.

name: str = ''
surfaces: list[str] = []