25Info <<
"Reading field p\n" << endl;
26_p = autoPtr<volScalarField>
41volScalarField& p = _p();
43Info <<
"Reading field U\n" << endl;
44_U = autoPtr<volVectorField>
59volVectorField& U = _U();
64_U0 = autoPtr<volVectorField>
66 new volVectorField(U0)
71_p0 = autoPtr<volScalarField>
73 new volScalarField(p0)
78_T0 = autoPtr<volScalarField>
80 new volScalarField(T0)
83Info <<
"Reading field T\n" << endl;
84_T = autoPtr<volScalarField>
100IOdictionary transportProperties
104 "transportProperties",
107 IOobject::MUST_READ_IF_MODIFIED,
112_nu = autoPtr<dimensionedScalar>
114 new dimensionedScalar
118 transportProperties.lookup(
"nu")
121#include "createPhi.H"
124scalar pRefValue = 0.0;
125setRefCell(p, mesh.solutionDict().subDict(
"PISO"), pRefCell, pRefValue);
126mesh.setFluxRequired(p.name());
128_laminarTransport = autoPtr<singlePhaseTransportModel>
130 new singlePhaseTransportModel( U, phi )
132singlePhaseTransportModel& laminarTransport = _laminarTransport();
134turbulence = autoPtr<incompressible::turbulenceModel>
136 incompressible::turbulenceModel::New(U, phi, laminarTransport)
138_MRF = autoPtr<IOMRFZoneList>
140 new IOMRFZoneList(mesh)
142_DT = autoPtr<dimensionedScalar>
144 new dimensionedScalar
146 transportProperties.lookup(
"DT")