Unsteady#

class Unsteady[source]#

Bases: Flow360BaseModel

Unsteady class for specifying unsteady simulation.

Example

>>> fl.Unsteady(
...     CFL=fl.AdaptiveCFL(
...         convergence_limiting_factor=0.5
...     ),
...     step_size=0.01 * fl.u.s,
...     steps=120,
...     max_pseudo_steps=35,
... )

Attributes

max_pseudo_steps: int#

Maximum pseudo steps within one physical step.

Default:

20

steps: int#

Number of physical steps.

step_size: Expression | Any#

Time step size in physical step marching,

CFL: RampCFL | AdaptiveCFL#

CFL settings within each physical step.

Default:

AdaptiveCFL()

order_of_accuracy: Literal[1, 2]#

Temporal order of accuracy.

Default:

2

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