UEqn.H
Go to the documentation of this file.
1  // Solve the Momentum equation
2 
3  MRF.correctBoundaryVelocity(U);
4 
6  (
8  + MRF.DDt(rho, U)
9  + fvc::div(UdmModel.tauDm())
10  + turbulence->divDevRhoReff(U)
11  ==
12  fvOptions(rho, U)
13  );
14 
15  UEqn.relax();
16 
17  fvOptions.constrain(UEqn);
18 
19  if (pimple.momentumPredictor())
20  {
21  solve
22  (
23  UEqn
24  ==
26  (
27  (
30  )*mesh.magSf()
31  )
32  );
33 
34  fvOptions.correct(U);
35  }
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> reconstruct(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
solve(UEqn()==-fvc::grad(p))
volScalarField & p_rgh
autoPtr< compressible::turbulenceModel > turbulence
Definition: createFields.H:23
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
dynamicFvMesh & mesh
rhoPhi
Definition: rhoEqn.H:10
const dictionary & pimple
fvMatrix< vector > fvVectorMatrix
Definition: fvMatricesFwd.H:45
fv::IOoptionList & fvOptions
IOMRFZoneList & MRF
fvVectorMatrix UEqn(fvm::ddt(rho, U)+fvm::div(phi, U)+turbulence->divDevRhoReff(U)==fvOptions(rho, U))
relativeVelocityModel & UdmModel(UdmModelPtr())
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcSnGrad.C:45
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
U
Definition: pEqn.H:82
const surfaceScalarField & ghf