Added monitoring field for fluid-phase heat conduction.

This commit is contained in:
Thomas Lichtenegger
2021-12-09 06:56:18 +01:00
parent b5ab312744
commit ab3f69db66
2 changed files with 18 additions and 0 deletions

View File

@ -152,6 +152,22 @@ Info<< "Reading thermophysical properties\n" << endl;
dimensionedScalar("zero", dimensionSet(1,-1,-3,-1,0,0,0), 0.0)
);
Info<< "\nCreating fluid thermal conduction field\n" << endl;
volScalarField QFluidCond
(
IOobject
(
"QFluidCond",
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::NO_WRITE
),
mesh,
dimensionedScalar("zero", dimensionSet(1,-1,-3,0,0,0,0), 0.0)
);
Info<< "\nCreating thermal conductivity field\n" << endl;
volScalarField thCond
(

View File

@ -4,4 +4,6 @@
counter++;
Info << "\ncurrent gas mass = " << m << "\n" << endl;
Info << "\ncurrent added gas mass = " << m-m0 << "\n" << endl;
QFluidCond = fvc::laplacian(voidfractionRec*thCond,T);
}