All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UEqn.H
Go to the documentation of this file.
2  (
5  + turbulence->divDevTau(rho, U)
6  ==
7  fvOptions(rho, U)
8  );
9 
10  UEqn.relax();
11 
12  fvOptions.constrain(UEqn);
13 
14  if (pimple.momentumPredictor())
15  {
16  solve
17  (
18  UEqn
19  ==
21  (
22  (
23  mixture.surfaceTensionForce()
26  ) * mesh.magSf()
27  )
28  );
29 
30  fvOptions.correct(U);
31  }
volScalarField & p_rgh
fv::options & fvOptions
pimpleNoLoopControl & pimple
solve(UEqn==-fvc::grad(p))
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Definition: fvcDdt.C:45
dynamicFvMesh & mesh
Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar(dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar(dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::momentumTransportModel > turbulence(compressible::momentumTransportModel::New(rho, U, phi, thermo))
Definition: createFields.H:94
const surfaceScalarField & ghf
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> reconstruct(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
U
Definition: pEqn.H:72
fvVectorMatrix & UEqn
Definition: UEqn.H:11
rhoPhi
Definition: rhoEqn.H:10
fvMatrix< vector > fvVectorMatrix
Definition: fvMatricesFwd.H:45
phaseChangeTwoPhaseMixture & mixture
Definition: createFields.H:38
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcSnGrad.C:45
zeroField Sp
Definition: alphaSuSp.H:2