UEqn.H
Go to the documentation of this file.
2  (
3  fvm::ddt(rho, U)
4  + fvm::div(mixture.rhoPhi(), U)
5  + turbulence->divDevRhoReff(U)
6  );
7 
8  UEqn.relax();
9 
10  if (pimple.momentumPredictor())
11  {
12  solve
13  (
14  UEqn
15  ==
17  (
18  (
19  mixture.surfaceTensionForce()
22  ) * mesh.magSf()
23  )
24  );
25 
26  K = 0.5*magSqr(U);
27  }
autoPtr< compressible::turbulenceModel > turbulence
Definition: createFields.H:23
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
CGAL::Exact_predicates_exact_constructions_kernel K
const surfaceScalarField & ghf
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
dynamicFvMesh & mesh
dimensioned< scalar > magSqr(const dimensioned< Type > &)
Info<< "Reading field p_rgh\n"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Creating phaseChangeTwoPhaseMixture\n"<< endl;autoPtr< phaseChangeTwoPhaseMixture > mixture
Definition: createFields.H:33
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> reconstruct(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
fvVectorMatrix & UEqn
Definition: UEqn.H:13
fvMatrix< vector > fvVectorMatrix
Definition: fvMatricesFwd.H:45
volScalarField & p_rgh
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcSnGrad.C:45