mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Up to date icoReactingMultiphaseInterFoam solver and libs
Adding tutorials and other minor changes
This commit is contained in:
@ -0,0 +1,22 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: plus.develop |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class uniformDimensionedVectorField;
|
||||
location "constant";
|
||||
object g;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -2 0 0 0 0];
|
||||
value (0 -9.81 0);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,90 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev.develop |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object phaseProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type massTransferMultiphaseSystem;
|
||||
|
||||
phases (gas mercury oil liquid);
|
||||
|
||||
mercury
|
||||
{
|
||||
type pureMovingPhaseModel;
|
||||
}
|
||||
|
||||
oil
|
||||
{
|
||||
type pureMovingPhaseModel;
|
||||
}
|
||||
|
||||
liquid
|
||||
{
|
||||
type multiComponentMovingPhaseModel;
|
||||
}
|
||||
|
||||
gas
|
||||
{
|
||||
type multiComponentMovingPhaseModel;
|
||||
}
|
||||
|
||||
|
||||
surfaceTension
|
||||
(
|
||||
(gas and liquid)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.005;
|
||||
}
|
||||
|
||||
(gas and mercury)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.005;
|
||||
}
|
||||
|
||||
(mercury and gas)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.005;
|
||||
}
|
||||
|
||||
(mercury and oil)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.005;
|
||||
}
|
||||
|
||||
(mercury and liquid)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.005;
|
||||
}
|
||||
|
||||
(gas and oil)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.005;
|
||||
}
|
||||
(oil and liquid)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.005;
|
||||
}
|
||||
);
|
||||
|
||||
massTransferModel
|
||||
(
|
||||
);
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,108 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev.develop |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object thermophysicalProperties.gas;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType
|
||||
{
|
||||
type heRhoThermo;
|
||||
mixture multiComponentMixture;
|
||||
transport const;
|
||||
thermo hConst;
|
||||
equationOfState incompressiblePerfectGas;
|
||||
specie specie;
|
||||
energy sensibleEnthalpy;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
species
|
||||
(
|
||||
air
|
||||
vapour
|
||||
CO2
|
||||
);
|
||||
|
||||
inertSpecie air;
|
||||
|
||||
vapour
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 18.9;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
pRef 1e5;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf -1.338e7; //[J/kg]
|
||||
Cp 1900;
|
||||
}
|
||||
transport
|
||||
{
|
||||
mu 1.8e-05;
|
||||
Pr 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
air
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 28.9;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
pRef 1e5;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 900;
|
||||
}
|
||||
transport
|
||||
{
|
||||
mu 1.8e-05;
|
||||
Pr 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
CO2
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 44.01;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
pRef 1e5;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 500;
|
||||
}
|
||||
transport
|
||||
{
|
||||
mu 1.67212e-06;
|
||||
Pr 0.7;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,85 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev.develop |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object thermophysicalProperties.liquid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType
|
||||
{
|
||||
type heRhoThermo;
|
||||
mixture multiComponentMixture;
|
||||
transport polynomial;
|
||||
thermo hPolynomial;
|
||||
equationOfState icoPolynomial;
|
||||
specie specie;
|
||||
energy sensibleEnthalpy;
|
||||
}
|
||||
|
||||
species
|
||||
(
|
||||
water
|
||||
O2
|
||||
);
|
||||
|
||||
inertSpecie water;
|
||||
|
||||
water
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 18.9;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rhoCoeffs<8> (1000 0 0 0 0 0 0 0);
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
CpCoeffs<8> (4181 0 0 0 0 0 0 0);
|
||||
Hf -1.5833e7;//deltaHv 2.45e6; //[J/Kg]
|
||||
Sf 0;
|
||||
}
|
||||
transport
|
||||
{
|
||||
muCoeffs<8> (959e-6 0 0 0 0 0 0 0);
|
||||
kappaCoeffs<8> (0.001 0 0 0 0 0 0 0);
|
||||
}
|
||||
}
|
||||
|
||||
O2
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 31.9988;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rhoCoeffs<8> (0.5 0 0 0 0 0 0 0);
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
CpCoeffs<8> (4181 0 0 0 0 0 0 0);
|
||||
Hf 0;
|
||||
Sf 0;
|
||||
}
|
||||
transport
|
||||
{
|
||||
muCoeffs<8> (959e-6 0 0 0 0 0 0 0);
|
||||
kappaCoeffs<8> (0.016 0 0 0 0 0 0 0);
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,52 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev.develop |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object thermophysicalProperties.mercury;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType
|
||||
{
|
||||
type heRhoThermo;
|
||||
mixture pureMixture;
|
||||
transport const;
|
||||
thermo hConst;
|
||||
equationOfState rhoConst;
|
||||
specie specie;
|
||||
energy sensibleEnthalpy;
|
||||
}
|
||||
|
||||
mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 200.9;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rho 13529;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Cp 139;
|
||||
Hf 0.0;
|
||||
}
|
||||
transport
|
||||
{
|
||||
mu 0.0015;
|
||||
Pr 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,52 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev.develop |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object thermophysicalProperties.oil;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType
|
||||
{
|
||||
type heRhoThermo;
|
||||
mixture pureMixture;
|
||||
transport const;
|
||||
thermo hConst;
|
||||
equationOfState rhoConst;
|
||||
specie specie;
|
||||
energy sensibleEnthalpy;
|
||||
}
|
||||
|
||||
mixture
|
||||
{
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 300.9;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rho 500;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
Cp 1670;
|
||||
Hf 0.0;
|
||||
}
|
||||
transport
|
||||
{
|
||||
mu 0.079;
|
||||
Pr 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,28 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: plus.develop |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object turbulenceProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType laminar;
|
||||
|
||||
RAS
|
||||
{
|
||||
RASModel kEpsilon;
|
||||
|
||||
turbulence on;
|
||||
printCoeffs on;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user