flow360.IsosurfaceOutput#

class IsosurfaceOutput[source]#

Bases: _AnimationAndFileFormatSettings, _OutputBase

IsosurfaceOutput class for isosurface output settings.

Example

Define the IsosurfaceOutput of qcriterion on two isosurfaces:

  • Isosurface_T_0.1 is the Isosurface with its temperature equals to 1.5 non-dimensional temperature;

  • Isosurface_p_0.5 is the Isosurface with its pressure equals to 0.5 non-dimensional pressure.

>>> fl.IsosurfaceOutput(
...     isosurfaces=[
...         fl.Isosurface(
...             name="Isosurface_T_0.1",
...             iso_value=0.1,
...             field="T",
...         ),
...         fl.Isosurface(
...             name="Isosurface_p_0.5",
...             iso_value=0.5,
...             field="p",
...         ),
...     ],
...     output_fields=["qcriterion"],
... )

name: str | None = 'Isosurface output'#

Name of the IsosurfaceOutput.

entities: UniqueItemList[Isosurface] [Required] (alias 'isosurfaces')#

List of Isosurface entities.

output_fields: UniqueItemList[Union] [Required]#

List of output variables. Including universal output variables and UserDefinedField.

output_type: Literal['IsosurfaceOutput'] = 'IsosurfaceOutput'#
output_format: Literal['paraview', 'tecplot', 'both'] = 'paraview'#

paraview, tecplot or both.

frequency: pd.PositiveInt | Literal[-1] = -1#

Frequency (in number of physical time steps) at which output is saved. -1 is at end of simulation. Important for child cases - this parameter refers to the global time step, which gets transferred from the parent case. Example: if the parent case finished at time_step=174, the child case will start from time_step=175. If frequency=100 (child case), the output will be saved at time steps 200 (25 time steps of the child simulation), 300 (125 time steps of the child simulation), etc. This setting is NOT applicable for steady cases.

frequency_offset: int = 0#

Offset (in number of physical time steps) at which output is started to be saved. 0 is at beginning of simulation. Important for child cases - this parameter refers to the global time step, which gets transferred from the parent case (see frequency parameter for an example). Example: if an output has a frequency of 100 and a frequency_offset of 10, the output will be saved at global time step 10, 110, 210, etc. This setting is NOT applicable for steady cases.

Constraints:
  • ge = 0