Pressure#

class Pressure[source]#

Bases: SingleAttributeModel

Pressure class to specify the static pressure for Outflow boundary condition via Outflow.spec.

Example

>>> fl.Pressure(value = 1.01e6 * fl.u.Pa)

Attributes

value: Any#

The static pressure value.

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