This is a better way of doing 3D thermal baffles. It does not require a special region model and is consistent with multi-region handling in other parts of OpenFOAM.
51 lines
1.2 KiB
C++
51 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant/baffle3D";
|
|
object physicalProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
thermoType
|
|
{
|
|
type heSolidThermo;
|
|
mixture pureMixture;
|
|
transport constIsoSolid;
|
|
thermo eConst;
|
|
equationOfState rhoConst;
|
|
specie specie;
|
|
energy sensibleInternalEnergy;
|
|
}
|
|
|
|
mixture
|
|
{
|
|
specie
|
|
{
|
|
molWeight 20;
|
|
}
|
|
transport
|
|
{
|
|
kappa 0.01;
|
|
}
|
|
thermodynamics
|
|
{
|
|
Hf 0;
|
|
Cv 15;
|
|
}
|
|
equationOfState
|
|
{
|
|
rho 80;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|