luminarycloud.params.simulation.physics.fluid.boundary_conditions¶
Submodules¶
Classes¶
Package Contents¶
- class Farfield¶
Farfield boundary condition.
- to_code() str ¶
- angle_alpha: float = 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: float = 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: float = 0.5¶
Mach number at the boundary.
- momentum: luminarycloud.params.enum.FarfieldMomentum¶
Method of defining the farfield momentum conditions.
- name: str = ''¶
- pressure: float = 101325¶
Static pressure at the boundary relative to the material reference pressure.
- surfaces: list[str] = []¶
- temperature: float = 288.15¶
Static temperature at the boundary.
- turbulence: TurbulenceBoundaryConditions¶
Turbulence boundary conditions.
- velocity: float = 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.
- to_code() str ¶
- 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: Optional[RectilinearTable] = None¶
Tabulated data for spatially varying boundary conditions
- profile_type: luminarycloud.params.enum.ProfileType¶
Types of boundary condition profile.
- surfaces: list[str] = []¶
- total_temperature: float = 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.
- to_code() str ¶
- id: str = ''¶
- name: str = ''¶
- outlet_strategy: OutletStrategy¶
Outlet strategy.
- pressure_constraint: luminarycloud.params.enum.OutletPressureConstraint¶
Mode of imposing pressure at the outlet.
- surfaces: list[str] = []¶
- class Symmetry¶
Symmetry boundary condition.
- to_code() str ¶
- id: str = ''¶
- name: str = ''¶
- surfaces: list[str] = []¶
- class TurbulenceBoundaryConditions¶
Turbulence boundary conditions.
- to_code() str ¶
- intensity: float = 0.05¶
Turbulence intensity at the boundary.
- komega: luminarycloud.params.enum.TurbulenceSpecificationKomega¶
Condition applied to the k-ω turbulence variables at the boundary.
- omega: float = 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: float = 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: float = 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: float = 3.765582173541416e-06¶
Turbulent viscosity at the boundary.
- viscosity_ratio: float = 0.21043825715555026¶
Turbulent-to-laminar viscosity ratio at the boundary.