UEqn.H
Go to the documentation of this file.
1  // Solve the momentum equation
2 
3  MRF.correctBoundaryVelocity(U);
4 
5  tmp<fvVectorMatrix> UEqn
6  (
7  fvm::div(phi, U)
8  + MRF.DDt(U)
9  + turbulence->divDevReff(U)
10  ==
11  fvOptions(U)
12  );
13 
14  UEqn().relax();
15 
16  fvOptions.constrain(UEqn());
17 
18  if (simple.momentumPredictor())
19  {
20  solve
21  (
22  UEqn()
23  ==
25  (
26  (
29  )*mesh.magSf()
30  )
31  );
32 
33  fvOptions.correct(U);
34  }
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
dynamicFvMesh & mesh
rhok
Definition: TEqn.H:27
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
const dictionary & simple
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
U
Definition: pEqn.H:82
const surfaceScalarField & ghf