Steady#

class Steady[source]#

Bases: Flow360BaseModel

Steady class for specifying steady simulation.

Example

>>> fl.Steady(
...     CFL=fl.RampCFL(initial=1, final=200, ramp_steps=200),
...     max_steps=6000,
... )

Attributes

max_steps: int#

Maximum number of pseudo steps.

Default:

2000

CFL: RampCFL | AdaptiveCFL#

CFL settings.

Default:

AdaptiveCFL()

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