1 Info<< "Reading thermophysical properties\n" << endl;
3 autoPtr<basicPsiThermo> thermo
5 basicPsiThermo::New(mesh)
10 volScalarField& h = thermo->h();
11 volScalarField& p = thermo->p();
12 const volScalarField& T = thermo->T();
14 Info<< "Reading field rho\n" << endl;
28 Info<< "Reading field U\n" << endl;
43 // Conservative variables
68 rho*(h + 0.5*magSqr(U)) - p
72 // Create numeric flux
73 numericFlux<rusanovFlux, BarthJespersenLimiter> dbnsFlux
81 // Create mass flux alias for easier coupling with other code components
82 const surfaceScalarField& phi = dbnsFlux.rhoFlux();
84 Info<< "Creating turbulence model\n" << endl;
85 autoPtr<compressible::turbulenceModel> turbulence
87 compressible::turbulenceModel::New