26Info <<
"Reading field p\n" << endl;
27_p = autoPtr<volScalarField>
42volScalarField& p = _p();
46_p0 = autoPtr<volScalarField>
48 new volScalarField(p0)
51Info <<
"Reading field U\n" << endl;
52_U = autoPtr<volVectorField>
67volVectorField& U = _U();
71_U0 = autoPtr<volVectorField>
73 new volVectorField(U0)
75Info <<
"Reading/calculating face flux field phi\n" << endl;
77_phi = autoPtr<surfaceScalarField>
79 new surfaceScalarField
86 IOobject::READ_IF_PRESENT,
89 linearInterpolate(U) & mesh.Sf()
93surfaceScalarField& phi = _phi();
94surfaceScalarField phi0(phi);
96_Uf = autoPtr<surfaceVectorField>
98 new surfaceVectorField
105 IOobject::READ_IF_PRESENT,
112surfaceVectorField& Uf = _Uf();
113surfaceVectorField Uf0(Uf);
116_phi0 = autoPtr<surfaceScalarField>
118 new surfaceScalarField(phi0)
120const pointMesh& pMesh = pointMesh::New(mesh);
121_pointDisplacement = autoPtr<pointVectorField>
134 dimensionedVector(dimLength, Zero),
135 pointPatchVectorField::calculatedType()
138pointVectorField& pointDisplacement = _pointDisplacement();
159scalar pRefValue = 0.0;
161setRefCell(p, mesh.solutionDict().subDict(
"PIMPLE"), pRefCell, pRefValue);
162mesh.setFluxRequired(p.name());
164_laminarTransport = autoPtr<singlePhaseTransportModel>
166 new singlePhaseTransportModel( U, phi )
169singlePhaseTransportModel& laminarTransport = _laminarTransport();
172turbulence = autoPtr<incompressible::turbulenceModel>
174 incompressible::turbulenceModel::New(U,
175 phi, laminarTransport)
180_MRF = autoPtr<IOMRFZoneList>
182 new IOMRFZoneList(mesh)
186_fvOptions = autoPtr<fv::options>(
new fv::options(mesh));
189dyndict = autoPtr<IOdictionary>
196 mesh.time().constant(),
205sDRBMS = autoPtr<sixDoFRigidBodyMotionSolver>
207 new sixDoFRigidBodyMotionSolver(mesh, dyndict())
210pimpleControl& pimple = _pimple();
211correctPhi = pimple.dict().getOrDefault(
"correctPhi", mesh.dynamic());
212checkMeshCourantNo = pimple.dict().getOrDefault(
"checkMeshCourantNo",
false);
213moveMeshOuterCorrectors = pimple.dict().getOrDefault(
"moveMeshOuterCorrectors",