constSolidThermo: New solidThermo supporting uniform and non-uniform constant property specification

Description
    Uniform or non-uniform constant solid thermodynamic properties

    Each physical property can specified as either \c uniform in which case the
    value entry is read or \c file in which case the field file in read
    from the constant directory.

Usage
    Example of uniform constant solid properties specification:
    \verbatim
        thermoType          constSolidThermo;

        rho
        {
            type        uniform;
            value       8940;
        }

        Cv
        {
            type        uniform;
            value       385;
        }

        kappa
        {
            type        uniform;
            value       380;
        }
    \endverbatim

    Example of non-uniform constant solid properties specification:
    \verbatim
        thermoType          constSolidThermo;

        rho
        {
            type        file;
        }

        Cv
        {
            type        file;
        }

        kappa
        {
            type        file;
        }
    \endverbatim
    where each of the field files are read from the constant directory.
This commit is contained in:
Henry Weller
2022-10-26 16:29:45 +01:00
parent f9d607f270
commit 714e13a970
4 changed files with 798 additions and 30 deletions

View File

@ -13,40 +13,25 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
thermoType constSolidThermo;
rho
{
type heSolidThermo;
mixture pureMixture;
transport constIsoSolid;
thermo eConst;
equationOfState rhoConst;
specie specie;
energy sensibleInternalEnergy;
type uniform;
value 8940;
}
mixture
Cv
{
specie
{
nMoles 1;
molWeight 63.5; // [g/mol]
}
transport
{
kappa 380; // [W/m/K]
}
thermodynamics
{
Hf 0;
Cv 385; // [J/kg/K]
}
equationOfState
{
rho 8940; // [kg/m^3]
}
type uniform;
value 385;
}
kappa
{
type uniform;
value 380;
}
// ************************************************************************* //