compressibleInterPhaseThermophysicalTransportModel: Added q() function for post-processing tools
This commit is contained in:
@ -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())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user