mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
Added monitoring field for fluid-phase heat conduction.
This commit is contained in:
@ -152,6 +152,22 @@ Info<< "Reading thermophysical properties\n" << endl;
|
|||||||
dimensionedScalar("zero", dimensionSet(1,-1,-3,-1,0,0,0), 0.0)
|
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;
|
Info<< "\nCreating thermal conductivity field\n" << endl;
|
||||||
volScalarField thCond
|
volScalarField thCond
|
||||||
(
|
(
|
||||||
|
|||||||
@ -4,4 +4,6 @@
|
|||||||
counter++;
|
counter++;
|
||||||
Info << "\ncurrent gas mass = " << m << "\n" << endl;
|
Info << "\ncurrent gas mass = " << m << "\n" << endl;
|
||||||
Info << "\ncurrent added gas mass = " << m-m0 << "\n" << endl;
|
Info << "\ncurrent added gas mass = " << m-m0 << "\n" << endl;
|
||||||
|
|
||||||
|
QFluidCond = fvc::laplacian(voidfractionRec*thCond,T);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user