ntrfc.cascade_case.solution package¶
Subpackages¶
Submodules¶
ntrfc.cascade_case.solution.ansys module¶
ntrfc.cascade_case.solution.generic module¶
ntrfc.cascade_case.solution.openfoam module¶
Module contents¶
- class ntrfc.cascade_case.solution.GenericCascadeCase(case_root_directory=None)¶
Bases:
objectA container for data related to a cascade case, including geometry data and fluid flow data.
This class provides functionality for reading in data from file and storing it in instance variables, as well as postprocessing, defining a probe proberegistry, and defining a sliceseriesregistry using inherited classes.
- solver¶
An object representing the solver used to generate the data for this case.
- Type:
object
- inlet¶
Geometry data for the inlet region of the case.
- Type:
pv.PolyData
- outlet¶
Geometry data for the outlet region of the case.
- Type:
pv.PolyData
- blade¶
Geometry data for the blade in the case.
- Type:
pv.PolyData
- fluid¶
Fluid flow data for the case.
- Type:
pv.UnstructuredGrid
- yper_low¶
Geometry data for the lower y-perpendicular plane of the case.
- Type:
pv.PolyData
- yper_high¶
Geometry data for the upper y-perpendicular plane of the case.
- Type:
pv.PolyData
- zper_low¶
Geometry data for the lower z-perpendicular plane of the case.
- Type:
pv.PolyData
- zper_high¶
Geometry data for the upper z-perpendicular plane of the case.
- Type:
pv.PolyData
- probes¶
A registry of probes defined for this case.
- Type:
ProbeContainer
- sliceseries¶
A registry of slices defined for this case.
- Type:
SliceSeries
- blade_loading(figpath='/tmp/tmp8rsgnsrm/blade_loading.png')¶
- compute_avdr_inout_massave()¶
- compute_domainparams_from(alpha)¶
- read_meshes(path, name)¶
Read data for any region from a file and store it in the mesh_dict.
- Parameters:
path (str) – Path to the file containing the geometry data.
- set_active_blade_slice(z=None)¶