TEqn.H
Go to the documentation of this file.
1 {
3  (
4  fvm::ddt(rho, T)
5  + fvm::div(rhoPhi, T)
6  - fvm::laplacian(mixture.alphaEff(turbulence->mut()), T)
7  + (
9  + fvc::ddt(rho, K) + fvc::div(rhoPhi, K)
10  )
11  *(
12  alpha1/mixture.thermo1().Cv()
13  + alpha2/mixture.thermo2().Cv()
14  )
15  );
16 
17  TEqn.relax();
18  TEqn.solve();
19 
20  mixture.correct();
21 
22  Info<< "min(T) " << min(T).value() << endl;
23 }
CGAL::Exact_predicates_exact_constructions_kernel K
fvScalarMatrix TEqn(fvm::ddt(T)+fvm::div(phi, T)-fvm::laplacian(alphaEff, T)==radiation->ST(rhoCpRef, T)+fvOptions(T))
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Definition: fvcLaplacian.C:45
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
messageStream Info
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
rhoPhi
Definition: rhoEqn.H:10
const volScalarField & T
Definition: createFields.H:25
fvMatrix< scalar > fvScalarMatrix
Definition: fvMatricesFwd.H:42
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.
Definition: fvcMeshPhi.C:187
volScalarField & p
Definition: createFields.H:51
volScalarField & alpha1
Definition: createFields.H:15
surfaceScalarField & phi
alpha2
Definition: alphaEqn.H:112
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcDiv.C:47
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
U
Definition: pEqn.H:82