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