UEqn.H
Go to the documentation of this file.
1  MRF.correctBoundaryVelocity(U);
2 
4  (
5  fvm::ddt(rho, U) + fvm::div(phi, U)
6  + MRF.DDt(rho, U)
7  + turbulence->divDevRhoReff(U)
8  ==
9  fvOptions(rho, U)
10  );
11 
12  UEqn.relax();
13 
14  fvOptions.constrain(UEqn);
15 
16  if (pimple.momentumPredictor())
17  {
18  solve
19  (
20  UEqn
21  ==
23  (
24  (
27  )*mesh.magSf()
28  )
29  );
30 
31  fvOptions.correct(U);
32  K = 0.5*magSqr(U);
33  }
CGAL::Exact_predicates_exact_constructions_kernel K
dimensioned< scalar > magSqr(const dimensioned< Type > &)
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
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))
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcSnGrad.C:45
surfaceScalarField & phi
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
U
Definition: pEqn.H:82
const surfaceScalarField & ghf