1 Info <<
"Reading thermophysical properties\n"
4 pThermoPtr_.reset(fluidThermo::New(
mesh));
5 fluidThermo&
thermo = pThermoPtr_();
16 IOobject::READ_IF_PRESENT,
17 IOobject::AUTO_WRITE),
19 volScalarField&
rho = rhoPtr_();
21 Info <<
"Reading field U\n"
31 IOobject::AUTO_WRITE),
33 volVectorField&
U = UPtr_();
38 Info <<
"Creating source term. " << endl;
46 IOobject::AUTO_WRITE),
48 dimensionedVector(
"fvSource", dimensionSet(1, -2, -2, 0, 0, 0, 0), vector::zero),
49 zeroGradientFvPatchField<vector>::typeName));
51 fvSourceEnergyPtr_.reset(
58 IOobject::AUTO_WRITE),
60 dimensionedScalar(
"fvSourceEnergy", dimensionSet(1, -1, -3, 0, 0, 0, 0), 0.0),
61 zeroGradientFvPatchField<scalar>::typeName));
65 mesh.setFluxRequired(
p.name());
67 Info <<
"Creating turbulence model\n"
71 compressible::turbulenceModel::New(
80 MRFPtr_.reset(
new IOMRFZoneListDF(
mesh));