1) Adding LiquidEvapFuchsKnudsen model for lagrangian evaporation. This models is based on a diffusion type of evaporation/ condensation on particles composed of solution (liquid + solid). 2) Adding modes of calculating the particle rho and volume change. The new keyword in constantProperties is 'volumeUpdateMethod' which three options: a) constantRho b) constantVolume c) updateRhoAndVol The old keyword 'constantVolume' true/face is still valid 3) The entry rho0 is now optional for multicomponent parcels. If defined , it is used, but if it is not the actual mixture provided is used to calculate rho0 of the particle. T0 is still used as initial T and Cp0 is over-written in the multicomponent cloud but still required. 4) Adding tutorial for evaporation/condensation model
59 lines
1.5 KiB
C++
59 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1806 |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object thermophysicalProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
thermoType
|
|
{
|
|
type heRhoThermo;
|
|
mixture reactingMixture;
|
|
transport sutherland;
|
|
thermo janaf;
|
|
energy sensibleEnthalpy;
|
|
equationOfState perfectGas;
|
|
specie specie;
|
|
}
|
|
|
|
chemistryReader foamChemistryReader;
|
|
|
|
foamChemistryFile "<constant>/foam.inp";
|
|
|
|
foamChemistryThermoFile "<constant>/foam.dat";
|
|
|
|
inertSpecie N2;
|
|
|
|
liquids
|
|
{
|
|
H2O;
|
|
}
|
|
|
|
solids
|
|
{
|
|
NaCl
|
|
{
|
|
defaultCoeffs no;
|
|
rho 2165;
|
|
Cp 850;
|
|
kappa 0.04;
|
|
Hf 0;
|
|
emissivity 1.0;
|
|
W 58;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// ************************************************************************* //
|