ENH: InterfaceCompositionModels: add tabulated (fluid) - icoTabulated (solid) options

This commit is contained in:
Kutalmis Bercin
2022-04-28 15:59:52 +01:00
parent 853f2fcaf3
commit c54ea62aa4
2 changed files with 43 additions and 1 deletions

View File

@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2017-2021 OpenCFD Ltd.
Copyright (C) 2017-2022 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -480,6 +480,33 @@ namespace Foam
hTabulatedPolyIcoSolidThermoPhysics
);
// From pure phase (tabulated) to solid phase (icoTabulated)
makeInterfacePureType
(
Lee,
heRhoThermo,
rhoThermo,
pureMixture,
tabulatedThermoPhysics,
heSolidThermo,
solidThermo,
pureMixture,
hTabulatedIcoTabulatedSolidThermoPhysics
);
// From solid phase (icoTabulated) to pure phase (tabulated)
makeInterfacePureType
(
Lee,
heSolidThermo,
solidThermo,
pureMixture,
hTabulatedIcoTabulatedSolidThermoPhysics,
heRhoThermo,
rhoThermo,
pureMixture,
tabulatedThermoPhysics
);
// interfaceHeatResistance model definitions

View File

@ -6,6 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2015 OpenFOAM Foundation
Copyright (C) 2022 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -37,6 +38,7 @@ Description
#include "specie.H"
#include "rhoConst.H"
#include "icoPolynomial.H"
#include "icoTabulated.H"
#include "hConstThermo.H"
#include "hPolynomialThermo.H"
#include "hPowerThermo.H"
@ -136,6 +138,19 @@ namespace Foam
sensibleEnthalpy
>
> hTabulatedPolyIcoSolidThermoPhysics;
typedef
tabulatedSolidTransport
<
species::thermo
<
hTabulatedThermo
<
icoTabulated<specie>
>,
sensibleEnthalpy
>
> hTabulatedIcoTabulatedSolidThermoPhysics;
}