save_flowfield Subroutine

public subroutine save_flowfield(filename)

Uses

Save the flow field to a Matlab/Octave compatible file

The resulting file can be loaded into Matlab/Octave using the following commands:

   load('results.mat')

The file will contain the following variables:

  • z : Axial coordinate
  • r : Radial coordinate
  • p : Static pressure
  • pTot : Total pressure
  • pTotRel : Relative total pressure
  • T : Static temperature
  • Ttot : Total temperature
  • rho : Density
  • S : Entropy
  • h : Specific enthalpy
  • Htot : Total enthalpy
  • HtotRel : Relative total enthalpy
  • Cm : Meridional velocity
  • Ct : Tangential velocity
  • Wt : Tangential velocity in the rotating frame

Data are stored as 2D arrays, with the first dimension corresponding to the quasinormal index and the second dimension corresponding to the streamline number.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename

Name of the output file