1 Info<< "Reading thermophysical properties\n" << endl;
3 autoPtr<basicPsiThermo> pThermo
5 basicPsiThermo::New(mesh)
7 basicPsiThermo& thermo = pThermo();
9 volScalarField& p = thermo.p();
10 volScalarField& h = thermo.h();
11 const volScalarField& T = thermo.T();
12 volScalarField psis("psi", thermo.psi()/thermo.Cp()*thermo.Cv());
29 Info<< "\nReading field U\n" << endl;
43 # include "compressibleCreatePhi.H"
45 Info<< "Creating turbulence model\n" << endl;
46 autoPtr<compressible::RASModel> turbulence
48 compressible::RASModel::New
58 MRFZones mrfZones(mesh);
59 mrfZones.correctBoundaryVelocity(U);
61 // Create relative velocity
74 mrfZones.relativeVelocity(Urel);
76 // Create rotational velocity (= omega x r)
83 // Create rothalpy, in two steps to preserve boundary conditions
96 i -= 0.5*magSqr(Urot);