Flow field module
This module contains the flow field variables and related functions.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rkind), | public, | allocatable | :: | Cm(:,:) |
Meridional velocity |
||
real(kind=rkind), | public, | allocatable | :: | Ct(:,:) |
Tangential velocity |
||
real(kind=rkind), | public, | allocatable | :: | Htot(:,:) |
Total enthalpy |
||
real(kind=rkind), | public, | allocatable | :: | S(:,:) |
Entropy |
||
real(kind=rkind), | public, | allocatable | :: | T(:,:) |
Static temperature |
||
real(kind=rkind), | public, | allocatable | :: | p(:,:) |
Static pressure |
||
real(kind=rkind), | public, | allocatable | :: | rho(:,:) |
Density |
||
type(boundary_conditions_t), | protected | :: | boco |
Boundary conditions |
|||
class(thermo_t), | protected, | allocatable | :: | gas |
Thermodynamic properties of the gas |
Compute the tangential velocity. The rotating frame is taken into account for leading and trailing edge of rotors. Similarly, mirroring is taken into account for compressor stators and turbine rotors.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | i |
Quasinormal index |
||
integer, | intent(in) | :: | j |
Streamline index |
Tangential velocity
Compute the mass flow rate through a quasinormal
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | i |
Quasinormal index |
Mass flow rate in (kg/s)
Initialize the flow field structure and set all fields to zero
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(toml_table), | intent(inout) | :: | table |
Save the flow field to a Matlab/Octave compatible file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
Name of the output file |