CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Solid properties: thermophysicalPropertiesDict (http://www.cfd-online.com/Forums/openfoam/123878-solid-properties-thermophysicalpropertiesdict.html)

samiam1000 September 23, 2013 08:46

Solid properties: thermophysicalPropertiesDict
 
Dear All,

I am gonna run a chtMultiRegionSimpleFoam case and I have a domain filled with air, in which there are 2 solids: a block of ice and a PCM that stays all around the ice.

I would like to understand if it is possible to model the phase changing in OpenFoam. How can I introduce the latent heat? And the temperature of this phase changing? Could you provide the right paramters (both for ice and for PCM) that should be inserted in this dictionary?

Thanks a lot,
Samuele

Dictionary:
Code:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie specie;
energy sensibleEnthalpy;
}
mixture
{
specie
{
nMoles 1;
molWeight 12;
}
transport
{
kappa 80;
}
thermodynamics
{
Hf 0;
Cp 450;
}
equationOfState
{
rho 8000;
}
}
// ************************************************************************* //



All times are GMT -4. The time now is 19:49.