Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev

This commit is contained in:
andy
2012-11-02 17:30:58 +00:00
184 changed files with 3440 additions and 5956 deletions

View File

@ -11,13 +11,13 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object Ydefault;
object char;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 1;
internalField uniform 0.5;
boundaryField
{

View File

@ -11,7 +11,7 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object Yv;
object wood;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -8,7 +8,7 @@
FoamFile
{
version 2.0;
format binary;
format ascii;
class dictionary;
location "constant";
object chemistryProperties;
@ -31,12 +31,5 @@ odeCoeffs
eps 0.05;
}
reactions
(
irreversibleSolidArrheniusReaction
v = gas + char
(7.83e10 15274.57 400 4.86)
);
// ************************************************************************* //

View File

@ -0,0 +1,23 @@
species
(
wood
char
);
gaseousSpecies
(
gas
);
reactions
{
charReaction
{
type irreversibleArrheniusSolidReaction;
reaction "wood^4.86 = char + gas";
A 7.83e10;
Ta 15274.57;
Tcrit 400;
}
}

View File

@ -8,23 +8,55 @@
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object Tchar;
format binary;
class dictionary;
location "constant";
object thermo.solid;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0.5;
boundaryField
wood
{
".*"
specie
{
type calculated;
value uniform 0.5;
nMoles 1;
molWeight 100;
}
}
transport
{
kappa 0.135;
}
thermodynamics
{
Cp 696;
Hf -1.41e6;
}
equationOfState
{
rho 114.7;
}
};
char
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Cp 611;
Hf 0;
}
equationOfState
{
rho 11.5;
}
};
// ************************************************************************* //

View File

@ -17,7 +17,7 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture reactingSolidMixture;
mixture reactingMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
@ -25,6 +25,13 @@ thermoType
energy sensibleEnthalpy;
}
chemistryReader foamChemistryReader;
foamChemistryFile "$FOAM_CASE/constant/panelRegion/reactions";
foamChemistryThermoFile "$FOAM_CASE/constant/panelRegion/thermo.solid";
gasThermoType
{
transport sutherland;
@ -34,61 +41,8 @@ gasThermoType
energy sensibleEnthalpy;
}
solidComponents
(
v char
);
gaseousSpecies
(
gas
);
vCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.135;
}
thermodynamics
{
Cp 696;
Hf -1.41e6;
}
equationOfState
{
rho 114.7;
}
};
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Cp 611;
Hf 0;
}
equationOfState
{
rho 11.5;
}
};
gasCoeffs
gas
{
specie
{

View File

@ -16,6 +16,8 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
radiation on;
radiationModel fvDOM;
fvDOMCoeffs
@ -50,7 +52,7 @@ greyMeanAbsorptionEmissionCoeffs
Tcommon 300; //Common Temp
invTemp true; //Is the polynomio using inverse temperature.
Tlow 200; //Low Temp
Thigh 2000; //High Temp
Thigh 2500; //High Temp
loTcoeffs //coefss for T < Tcommon
(
@ -78,7 +80,7 @@ greyMeanAbsorptionEmissionCoeffs
Tcommon 300;
invTemp true;
Tlow 200;
Thigh 2000;
Thigh 2500;
loTcoeffs
(

View File

@ -16,19 +16,19 @@ FoamFile
application fireFoam;
startFrom latestTime;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 15;
endTime 5;
deltaT 0.03;
writeControl adjustableRunTime;
writeInterval 1
writeInterval 1;
purgeWrite 0;

View File

@ -101,7 +101,7 @@ dictionaryReplacement
// Thermo baffle model
thermoBaffleModel thermoBaffle2D;
regionName baffleRegion;
infoOutput yes;
infoOutput no;
active yes;
thermoBaffle2DCoeffs
{
@ -111,7 +111,7 @@ dictionaryReplacement
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;

View File

@ -1,30 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object Ypmma;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0.5;
boundaryField
{
".*"
{
type calculated;
value uniform 0.5;
}
}
// ************************************************************************* //

View File

@ -15,11 +15,6 @@ do
rm -f 0*/$i/{mut,alphat,epsilon,k,U,p_rgh}
done
# remove solid fields from fluid regions (important for post-processing)
for i in bottomAir topAir
do
rm -f 0*/$i/{Ychar,Ypmma}
done
for i in bottomAir topAir heater leftSolid rightSolid
do

View File

@ -17,7 +17,7 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
@ -30,7 +30,7 @@ mixture
specie
{
nMoles 1;
molWeight 12;
molWeight 50;
}
transport
@ -50,59 +50,4 @@ mixture
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -1,109 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
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;
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -0,0 +1 @@
../heater/thermophysicalProperties

View File

@ -19,8 +19,6 @@ regions
(
fluid (bottomAir topAir)
solid (heater leftSolid rightSolid)
porousFluid ()
porousSolid ()
);
// ************************************************************************* //

View File

@ -1,108 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
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;
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -0,0 +1 @@
../heater/thermophysicalProperties

View File

@ -59,7 +59,7 @@ dictionaryReplacement
}
}
Ypmma
pmma
{
internalField uniform 0.5;
@ -75,7 +75,7 @@ dictionaryReplacement
}
Ychar
char
{
internalField uniform 0.5;

View File

@ -50,7 +50,7 @@ dictionaryReplacement
}
}
Ypmma
pmma
{
internalField uniform 0.5;
@ -66,7 +66,7 @@ dictionaryReplacement
}
Ychar
char
{
internalField uniform 0.5;

View File

@ -50,7 +50,7 @@ dictionaryReplacement
}
}
Ypmma
pmma
{
internalField uniform 0.5;
@ -66,7 +66,7 @@ dictionaryReplacement
}
Ychar
char
{
internalField uniform 0.5;

View File

@ -15,11 +15,6 @@ do
rm -f 0*/$i/{mut,alphat,epsilon,k,U,p_rgh}
done
## remove solid fields from fluid regions (important for post-processing)
for i in bottomWater topAir
do
rm -f 0*/$i/{Ypmma,Ychar}
done
for i in bottomWater topAir heater leftSolid rightSolid
do

View File

@ -17,7 +17,7 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
@ -50,60 +50,4 @@ mixture
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -1,109 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
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;
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -0,0 +1 @@
../heater/thermophysicalProperties

View File

@ -19,8 +19,7 @@ regions
(
fluid (bottomWater topAir)
solid (heater leftSolid rightSolid)
porousFluid ()
porousSolid ()
);
// ************************************************************************* //

View File

@ -1,109 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
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;
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -0,0 +1 @@
../heater/thermophysicalProperties

View File

@ -1,30 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object Ychar;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0.5;
boundaryField
{
".*"
{
type calculated;
value uniform 0.5;
}
}
// ************************************************************************* //

View File

@ -1,30 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object Ypmma;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0.5;
boundaryField
{
".*"
{
type calculated;
value uniform 0.5;
}
}
// ************************************************************************* //

View File

@ -19,11 +19,6 @@ do
rm -f 0*/$i/{mut,alphat,epsilon,k,U,p_rgh}
done
# No solid fields to remove from fluid regions (important for post-processing)
for i in bottomAir topAir
do
rm -f 0*/$i/{Ypmma, Ychar}
done
for i in bottomAir topAir heater leftSolid rightSolid
do

View File

@ -17,7 +17,7 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
@ -50,60 +50,4 @@ mixture
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -1,109 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
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;
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -0,0 +1 @@
../heater/thermophysicalProperties

View File

@ -19,8 +19,6 @@ regions
(
fluid (bottomAir topAir)
solid (heater leftSolid rightSolid)
porousFluid ()
porousSolid ()
);

View File

@ -1,109 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
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;
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -0,0 +1 @@
../heater/thermophysicalProperties

View File

@ -1,30 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object Ychar;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0.5;
boundaryField
{
".*"
{
type calculated;
value uniform 0.5;
}
}
// ************************************************************************* //

View File

@ -1,30 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object Ypmma;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0.5;
boundaryField
{
".*"
{
type calculated;
value uniform 0.5;
}
}
// ************************************************************************* //

View File

@ -18,6 +18,6 @@ rm -rf constant/topAir/polyMesh
rm -rf constant/heater/polyMesh
rm -rf constant/leftSolid/polyMesh
rm -rf constant/rightSolid/polyMesh
rm -rf topAir_maxX topAir_minX
rm -rf postProcessing
# ----------------------------------------------------------------- end-of-file

View File

@ -15,12 +15,6 @@ do
rm -f 0*/$i/{mut,alphat,epsilon,k,U,p_rgh}
done
## remove solid fields from fluid regions (important for post-processing)
for i in bottomAir topAir
do
rm -f 0*/$i/{Ypmma,Ychar}
done
for i in bottomAir topAir heater leftSolid rightSolid
do
changeDictionary -region $i > log.changeDictionary.$i 2>&1

View File

@ -17,7 +17,7 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
@ -50,60 +50,4 @@ mixture
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -1,109 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
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;
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -0,0 +1 @@
../heater/thermophysicalProperties

View File

@ -19,8 +19,6 @@ regions
(
fluid (bottomAir topAir)
solid (heater leftSolid rightSolid)
porousFluid ()
porousSolid ()
);
// ************************************************************************* //

View File

@ -1,109 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
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;
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -0,0 +1 @@
../heater/thermophysicalProperties

View File

@ -1,30 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object Ychar;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0.5;
boundaryField
{
".*"
{
type calculated;
value uniform 0.5;
}
}
// ************************************************************************* //

View File

@ -1,30 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object Ypmma;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0.5;
boundaryField
{
".*"
{
type calculated;
value uniform 0.5;
}
}
// ************************************************************************* //

View File

@ -15,12 +15,6 @@ do
rm -f 0*/$i/{rho,mut,alphat,epsilon,k,U,p_rgh,Qr,G,IDefault}
done
## remove solid fields from fluid regions (important for post-processing)
for i in bottomAir topAir
do
rm -f 0*/$i/{Ypmma,Ychar}
done
for i in bottomAir topAir heater leftSolid rightSolid
do
changeDictionary -region $i > log.changeDictionary.$i 2>&1

View File

@ -17,7 +17,7 @@ FoamFile
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
mixture pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
@ -50,60 +50,4 @@ mixture
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -1,109 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
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;
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -19,8 +19,6 @@ regions
(
fluid (bottomAir topAir)
solid (heater leftSolid rightSolid)
porousFluid ()
porousSolid ()
);
// ************************************************************************* //

View File

@ -1,109 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
thermoType
{
type heSolidThermo;
mixture pureSolidMixture;
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;
}
}
solidComponents
(
pmma char
);
pmmaCoeffs
{
specie
{
nMoles 1;
molWeight 100;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
charCoeffs
{
specie
{
nMoles 1;
molWeight 50;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //