compressibleInterPhaseThermophysicalTransportModel: Added q() function for post-processing tools

This commit is contained in:
Henry Weller
2022-12-07 12:29:21 +00:00
parent 66193bd9c2
commit a733a2f6c4
3 changed files with 16 additions and 3 deletions

View File

@ -182,9 +182,12 @@ Foam::compressibleInterPhaseThermophysicalTransportModel::alphaEff() const
Foam::tmp<Foam::surfaceScalarField>
Foam::compressibleInterPhaseThermophysicalTransportModel::q() const
{
NotImplemented;
return tmp<surfaceScalarField>(nullptr);
return surfaceScalarField::New
(
"q",
-fvc::interpolate(kappaEff())
*fvc::snGrad(momentumTransport_.mixture_.T())
);
}

View File

@ -25,6 +25,10 @@ Class
Foam::compressibleInterPhaseThermophysicalTransportModel
Description
Compressible two-phase VoF thermophysicalTransportModel
Provides the mixture thermal conductivity and diffusivity for
Fourier's temperature gradient heat flux model.
SourceFiles
compressibleInterPhaseThermophysicalTransportModel.C

View File

@ -119,6 +119,12 @@ public:
return T_;
}
//- Return mixture temperature [K]
const volScalarField& T() const
{
return T_;
}
//- Return the thermo for phase 1
const rhoThermo& thermo1() const
{