luminarycloud.params.simulation.physics¶
Submodules¶
Classes¶
Configuration for a fluid flow physics solver - simulates the flow of liquids and gases. |
|
Configuration for a heat transfer physics solver - simulates heat transfer in solid media. |
|
Defines the input options needed for periodic boundaries. We assume each periodic BC can have translational OR rotational periodicity. To transform a point on boundary A to its periodically matching point on boundary B, we first subtract the center of rotation from the point coordinates to get the distance vector from the center to the point of interest, then we apply rotation around the periodicity axis and add back the center of rotation to get the coordinates of the transformed point. |
Package Contents¶
- class Fluid¶
Configuration for a fluid flow physics solver - simulates the flow of liquids and gases.
- to_code() str ¶
- adjoint_controls: Optional[AdjointControlsFluid]¶
- basic: Optional[BasicFluid]¶
Basic settings for a fluid flow physics solver.
- boundary_conditions: list[BoundaryConditionsFluid] = []¶
Boundary conditions for a fluid flow physics solver.
- initialization: Optional[InitializationFluid]¶
Type of initial condition for the field variables.
- periodic_pair: list[PeriodicPair] = []¶
Defines the input options needed for periodic boundaries. We assume each periodic BC can have translational OR rotational periodicity. To transform a point on boundary A to its periodically matching point on boundary B, we first subtract the center of rotation from the point coordinates to get the distance vector from the center to the point of interest, then we apply rotation around the periodicity axis and add back the center of rotation to get the coordinates of the transformed point.
- physical_behavior: list[PhysicalBehavior] = []¶
Physical behavior settings for a fluid flow physics solver.
- porous_behavior: list[PorousBehavior] = []¶
Porous model settings for a fluid flow physics solver.
- sliding_interfaces: list[SlidingInterfaces] = []¶
Defines the two sides that form a sliding interface. The two sides are abutting, possibly in combination with a periodic transformation, and should have the same normal grid velocity. The tangential grid velocity can, and usually will, be different. Each side of the sliding interface can be composed out of an arbitrary number of surfaces.
- solution_controls: Optional[SolutionControlsFluid]¶
Solution controls for a fluid flow physics solver.
- spatial_discretization: Optional[SpatialDiscretizationFluid]¶
Spatial discretization settings for a fluid flow physics solver.
- turbulence: Optional[Turbulence]¶
Turbulence settings for a fluid flow physics solver.
- class Heat¶
Configuration for a heat transfer physics solver - simulates heat transfer in solid media.
- to_code() str ¶
- adjoint_controls: Optional[AdjointControlsHeat]¶
- boundary_conditions: list[BoundaryConditionsHeat] = []¶
Boundary conditions for a heat transfer physics solver.
- heat_source: list[HeatSource] = []¶
- initialization: Optional[InitializationHeat]¶
Type of initial condition for the field variables.
- periodic_pair: list[PeriodicPair] = []¶
Defines the input options needed for periodic boundaries. We assume each periodic BC can have translational OR rotational periodicity. To transform a point on boundary A to its periodically matching point on boundary B, we first subtract the center of rotation from the point coordinates to get the distance vector from the center to the point of interest, then we apply rotation around the periodicity axis and add back the center of rotation to get the coordinates of the transformed point.
- sliding_interfaces: list[SlidingInterfaces] = []¶
Defines the two sides that form a sliding interface. The two sides are abutting, possibly in combination with a periodic transformation, and should have the same normal grid velocity. The tangential grid velocity can, and usually will, be different. Each side of the sliding interface can be composed out of an arbitrary number of surfaces.
- solution_controls: Optional[SolutionControlsHeat]¶
Solution controls for a heat transfer physics solver.
- spatial_discretization: Optional[SpatialDiscretizationHeat]¶
Spatial discretization settings for a heat transfer physics solver.
- class PeriodicPair¶
Defines the input options needed for periodic boundaries. We assume each periodic BC can have translational OR rotational periodicity. To transform a point on boundary A to its periodically matching point on boundary B, we first subtract the center of rotation from the point coordinates to get the distance vector from the center to the point of interest, then we apply rotation around the periodicity axis and add back the center of rotation to get the coordinates of the transformed point.
- to_code() str ¶
- name: str = ''¶
- periodicity_type: PeriodicityType¶
- surfaces_side_a: list[str] = []¶
- surfaces_side_b: list[str] = []¶