luminarycloud.params.simulation.physics.heat

Submodules

Classes

AdjointControlsHeat

BoundaryConditionsHeat

Boundary conditions for a heat transfer physics solver.

HeatSource

InitializationHeat

Type of initial condition for the field variables.

SolutionControlsHeat

Solution controls for a heat transfer physics solver.

SpatialDiscretizationHeat

Spatial discretization settings for a heat transfer physics solver.

Package Contents

class AdjointControlsHeat
to_code() str
gmres_restart_iters: int = 50

Number of iterations between GMRES restarts. A larger period makes the method more effective for tougher problems (for example incompressible flows), but increases the computational cost.

solution_method: luminarycloud.params.enum.AdjointSolutionMethod

The method used to solve the discrete adjoint equations.

class BoundaryConditionsHeat

Boundary conditions for a heat transfer physics solver.

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 = ''
name: str = ''
profile_table: luminarycloud.tables.RectilinearTable | None = None

Tabulated data for spatially varying boundary conditions

profile_type: luminarycloud.params.enum.ProfileType

Types of boundary condition profile.

surfaces: list[str] = []
class HeatSource
to_code() str
enable_profile: bool = False

Turn on or off the ability to use tabulated data to define time varying heat sources.

heat_source_column_index: int = 0

Index of the column of the table for heat source.

heat_source_type: HeatSourceType

Heat source specification.

id: str = ''
name: str = ''

Name of the heat source.

profile_table: Optional[RectilinearTable] = None

Tabulated data for time varying heat sources

profile_type: luminarycloud.params.enum.ProfileType

Types of boundary condition profile.

volumes: list[str] = []

Ids of the zones the heat source is applied to.

class InitializationHeat

Type of initial condition for the field variables.

to_code() str
class SolutionControlsHeat

Solution controls for a heat transfer physics solver.

to_code() str
heat_relaxation_method: HeatRelaxationMethod

Relaxation scheme for steady-state simulations or time implicit transient simulations.

preset: luminarycloud.params.enum.SolutionControlsHeatPreset

Select suggested control settings or allow a custom choice. In general, assume a trade-off between speed and robustness (i.e. the ability to converge).

class SpatialDiscretizationHeat

Spatial discretization settings for a heat transfer physics solver.

to_code() str
geometry_fixes: luminarycloud.params.enum.GeometryFixes

Strategies to cope with problematic mesh regions (e.g. high skewness angles).

geometry_fixes_mitigations: float = 0.25

Magnitude of the geometrical fixes mitigations. Expected value within [0,1]. The higher this value, the more numerical dissipation is added at control volumes with low-quality topological properties.

gradient_method: luminarycloud.params.enum.GradientMethod

Method for computing the spatial gradients of fluid variables.

hlsq_blend: float = 2.0

Blending parameter in the hybrid least squares gradient methods in [1,2].

preset: luminarycloud.params.enum.SpatialDiscretizationHeatPreset

Select suggested control settings or allow a custom choice. In general, assume a trade-off between accuracy and robustness (i.e. the ability to converge).