ENH: Handling of phaseProperties in temperatureCoupledBase.
Adding poly solid thermo to InterfaceCompositionModel for use on icoReactingMultiphaseInterFoam
This commit is contained in:
parent
3a1178ff12
commit
b1563dc03e
@ -79,7 +79,6 @@ namespace Foam
|
||||
sensibleEnthalpy
|
||||
>
|
||||
> BoussinesqFluidEThermoPhysics;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@ -240,6 +239,20 @@ namespace Foam
|
||||
constRhoHThermoPhysics
|
||||
);
|
||||
|
||||
// From pure phase (solidThermo) to phase (rho const)
|
||||
makeInterfacePureType
|
||||
(
|
||||
Lee,
|
||||
heSolidThermo,
|
||||
solidThermo,
|
||||
pureMixture,
|
||||
hPolyTranspPolyIcoSolidThermoPhysics,
|
||||
heRhoThermo,
|
||||
rhoThermo,
|
||||
pureMixture,
|
||||
icoPoly8HThermoPhysics
|
||||
);
|
||||
|
||||
|
||||
// From pure phase (const rho) to multi phase (incomp ideal gas)
|
||||
makeInterfaceContSpecieMixtureType
|
||||
@ -283,6 +296,8 @@ namespace Foam
|
||||
pureMixture,
|
||||
hConstSolidThermoPhysics
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -174,6 +174,13 @@ Foam::tmp<Foam::scalarField> Foam::temperatureCoupledBase::kappa
|
||||
|
||||
return thermo.kappa(patchi);
|
||||
}
|
||||
else if (mesh.foundObject<basicThermo>("phaseProperties"))
|
||||
{
|
||||
const basicThermo& thermo =
|
||||
mesh.lookupObject<basicThermo>("phaseProperties");
|
||||
|
||||
return thermo.kappa(patchi);
|
||||
}
|
||||
else
|
||||
{
|
||||
FatalErrorInFunction
|
||||
|
@ -36,6 +36,7 @@ Description
|
||||
|
||||
#include "specie.H"
|
||||
#include "rhoConst.H"
|
||||
#include "icoPolynomial.H"
|
||||
#include "hConstThermo.H"
|
||||
#include "hPolynomialThermo.H"
|
||||
#include "hPowerThermo.H"
|
||||
@ -105,6 +106,21 @@ namespace Foam
|
||||
sensibleEnthalpy
|
||||
>
|
||||
> hExpKappaConstSolidThermoPhysics;
|
||||
|
||||
typedef
|
||||
polynomialSolidTransport
|
||||
<
|
||||
species::thermo
|
||||
<
|
||||
hPolynomialThermo
|
||||
<
|
||||
icoPolynomial<specie, 8>,
|
||||
8
|
||||
>,
|
||||
sensibleEnthalpy
|
||||
>,
|
||||
8
|
||||
> hPolyTranspPolyIcoSolidThermoPhysics;
|
||||
}
|
||||
|
||||
|
||||
|
@ -31,6 +31,7 @@ License
|
||||
|
||||
#include "specie.H"
|
||||
#include "rhoConst.H"
|
||||
#include "icoPolynomial.H"
|
||||
#include "hConstThermo.H"
|
||||
#include "hPowerThermo.H"
|
||||
#include "hPolynomialThermo.H"
|
||||
@ -88,6 +89,19 @@ makeSolidThermo
|
||||
specie
|
||||
);
|
||||
|
||||
makeSolidThermo
|
||||
(
|
||||
solidThermo,
|
||||
heSolidThermo,
|
||||
pureMixture,
|
||||
polynomialSolidTransport,
|
||||
sensibleEnthalpy,
|
||||
hPolynomialThermo,
|
||||
icoPolynomial,
|
||||
specie
|
||||
);
|
||||
|
||||
|
||||
makeSolidThermoPhysicsType
|
||||
(
|
||||
solidThermo,
|
||||
|
Loading…
Reference in New Issue
Block a user