UEqn.H
Go to the documentation of this file.
1 MRF.correctBoundaryVelocity(U);
2 
3 tmp<fvVectorMatrix> UEqn
4 (
5  fvm::ddt(U) + fvm::div(phi, U)
6  + MRF.DDt(U)
7  + turbulence->divDevReff(U)
8  ==
9  fvOptions(U)
10 );
11 
12 UEqn().relax();
13 
14 fvOptions.constrain(UEqn());
15 
16 if (pimple.momentumPredictor())
17 {
18  solve(UEqn() == -fvc::grad(p_gh));
19 
20  fvOptions.correct(U);
21 }
solve(UEqn()==-fvc::grad(p))
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
const dictionary & pimple
fv::IOoptionList & fvOptions
IOMRFZoneList & MRF
fvVectorMatrix UEqn(fvm::ddt(rho, U)+fvm::div(phi, U)+turbulence->divDevRhoReff(U)==fvOptions(rho, U))
surfaceScalarField & phi
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcGrad.C:52
U
Definition: pEqn.H:82