HeatEquationInitialCondition#

class HeatEquationInitialCondition[source]#

Bases: ExpressionInitialConditionBase

HeatEquationInitialCondition class for specifying the Solid.initial_condition.

Note

The result of the expressions will be treated as non-dimensional values. Please refer to the Units Introduction for more details.

Example

>>> fl.HeatEquationInitialCondition(temperature="1.0")

Attributes

constants: dict[str, typing.Annotated[str, AfterValidator(func=<function process_expressions at 0x7bbe26477a30>)]] | None#

The expression for the initial condition.

Default:

None

temperature: str#

Additional Constructors

classmethod from_file(filename)#

Load a Flow360BaseModel from a .json file.

Parameters:

filename (str)

Return type:

Flow360BaseModel

Methods

help(methods=False)#

Print fields and methods of a Flow360BaseModel using rich.

Parameters:

methods (bool)

Return type:

None

to_file(filename, **kwargs)#

Export Flow360BaseModel instance to a .json file.

Parameters:
Return type:

None