UEqn.H
Go to the documentation of this file.
1 MRF.correctBoundaryVelocity(U);
2 
3 tmp<fvVectorMatrix> tUEqn
4 (
5  fvm::ddt(U) + fvm::div(phi, U)
6  + MRF.DDt(U)
7  + turbulence->divDevReff(U)
8  ==
9  fvOptions(U)
10 );
11 fvVectorMatrix& UEqn = tUEqn.ref();
12 
13 UEqn.relax();
14 
15 fvOptions.constrain(UEqn);
16 
17 if (pimple.momentumPredictor())
18 {
19  solve(UEqn == -fvc::grad(p_gh));
20 
21  fvOptions.correct(U);
22 }
autoPtr< compressible::turbulenceModel > turbulence
Definition: createFields.H:23
surfaceScalarField & phi
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcGrad.C:52
U
Definition: pEqn.H:83
solve(UEqn==-fvc::grad(p))
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
const dictionary & pimple
tmp< fvVectorMatrix > tUEqn(fvm::ddt(rho, U)+fvm::div(phi, U)+MRF.DDt(rho, U)+turbulence->divDevRhoReff(U)==fvOptions(rho, U))
fv::options & fvOptions
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
IOMRFZoneList & MRF
fvMatrix< vector > fvVectorMatrix
Definition: fvMatricesFwd.H:45