simulation_setup – Common Simulation Setup¶
Provides abstract classes for block groups which are used by pyPost and pyTrace.
- class tracesuite.simulation_setup.Block[source]¶
Python class representing a general block.
I.e. a structured or unstructured part of the computational domain handled by an instance of SolverCntl. Note that Trace holds meta information of all blocks on each rank but only allocates actual (e.g. solution) data on blocks that are assigned to its own rank (i.e. local blocks).
If this is a local block, dimensionalized access to the underlying data fields is provided. Furthermore, iterators can be used to loop over all cells in a single loop. All methods and properties are valid on each rank. Nevertheless, if the block is not local, fields will be empty and iterators loop length will be zero.
- abstract property cells¶
Returns the cells of the block.
- abstract property dim¶
Returns the dimension of the block.
- abstract property family: BlockGroup¶
Returns the block’s family.
- abstract property inner_cells¶
Returns the inner cells of the block.
- class tracesuite.simulation_setup.BlockGroup[source]¶
Abstract class for pyTrace and pyPost block groups.
- class tracesuite.simulation_setup.Component[source]¶
Specific BlockGroup representing a single component in turbomachinery context.
- class tracesuite.simulation_setup.Panel[source]¶
Python class representing a general panel.
All methods and properties are valid on each rank.
- abstract property family: PanelGroup¶
Returns the panel’s family.
- class tracesuite.simulation_setup.PanelGroup[source]¶
Abstract class for pyTrace and pyPost panel groups.
- class tracesuite.simulation_setup.Row[source]¶
Specific BlockGroup representing a single row in turbomachinery context.
- abstract property type¶
Returns the row type.
- class tracesuite.simulation_setup.Setup[source]¶
Complete turbomachine setup.
- abstract property block_groups: ChainMap[str, BlockGroup]¶
Returns dictionary of all blocks groups in either TRACE or POST.
- abstract property boundaries: dict[str, PanelGroup]¶
Returns dictionary of all boundaries.
- property panel_groups: ChainMap[str, PanelGroup]¶
Returns dictionary of all panel groups in either TRACE or POST.