Solid#

class Solid[source]#

Bases: PDEModelBase

Solid class for setting up the conjugate heat transfer volume model that contains all the common fields every heat transfer zone should have.

Example

Define Solid model for volumes with the name pattern "solid-*".

>>> fl.Solid(
...     entities=[volume_mesh["solid-*"]],
...     heat_equation_solver=fl.HeatEquationSolver(
...         equation_evaluation_frequency=2,
...         linear_solver=fl.LinearSolver(
...             absolute_tolerance=1e-10,
...             max_iterations=50
...         ),
...         relative_tolerance=0.001,
...     ),
...     initial_condition=fl.HeatEquationInitialCondition(temperature="1.0"),
...     material=fl.SolidMaterial(
...         name="aluminum",
...         thermal_conductivity=235 * fl.u.kg / fl.u.s**3 * fl.u.m / fl.u.K,
...         density=2710 * fl.u.kg / fl.u.m**3,
...         specific_heat_capacity=903 * fl.u.m**2 / fl.u.s**2 / fl.u.K,
...     ),
...     volumetric_heat_source=1.0 * fl.u.W / fl.u.m**3,
... )

Attributes

material: SolidMaterial#

The material property of solid.

initial_condition: HeatEquationInitialCondition, optional#

The initial condition of the heat equation solver.

Default:

None

name: str, optional#

Name of the Solid model.

Default:

None

entities: EntityList[GenericVolume, CustomVolume, SeedpointVolume]#

The list of GenericVolume or CustomVolume or SeedpointVolume entities on which the heat transfer equation is solved. The assigned volumes must have only tetrahedral elements.

heat_equation_solver: HeatEquationSolver#

Heat equation solver settings, see HeatEquationSolver documentation.

Default:

HeatEquationSolver()

volumetric_heat_source: str | Any#

The volumetric heat source.

Default:

0 * fl.u.W/fl.u.m**3

Methods

classmethod ensure_custom_volume_has_tets_only(v)[source]#

Check if the CustomVolume object was meshed with tetrahedra-only elements.