Solving problem with sampledSurfaces

Removing specieSolid specialization
Updating tutorials using solidThermo and solid reactions
This commit is contained in:
sergio
2012-11-01 17:46:37 +00:00
parent e113bebcef
commit 708743752a
57 changed files with 95 additions and 2133 deletions

View File

@ -17,7 +17,7 @@ FoamFile
dimensions [0 0 0 1 0 0 0];
internalField uniform 500;//298.15;
internalField uniform 298.15;
boundaryField
{

View File

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

View File

@ -1,6 +1,6 @@
species
(
v
wood
char
);
@ -14,7 +14,7 @@ reactions
charReaction
{
type irreversibleArrheniusSolidReaction;
reaction "v^4.86 = char + gas";
reaction "wood^4.86 = char + gas";
A 7.83e10;
Ta 15274.57;
Tcrit 400;

View File

@ -15,11 +15,12 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
v
wood
{
solidSpecie
specie
{
nMoles 1;
molWeight 100;
}
transport
{
@ -38,9 +39,10 @@ v
char
{
solidSpecie
specie
{
nMoles 1;
molWeight 50;
}
transport
{

View File

@ -21,7 +21,7 @@ thermoType
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie solidSpecie;
specie specie;
energy sensibleEnthalpy;
}

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

@ -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 Tchar;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
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,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

@ -21,15 +21,16 @@ thermoType
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie solidSpecie;
specie specie;
energy sensibleEnthalpy;
}
mixture
{
solidSpecie
specie
{
nMoles 1;
molWeight 50;
}
transport
@ -49,58 +50,4 @@ mixture
}
}
species
(
pmma char
);
pmma
{
solidSpecie
{
nMoles 1;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
char
{
solidSpecie
{
nMoles 1;
}
transport
{
kappa 0.4;
}
thermodynamics
{
Hf 0;
Cp 611.0;
}
equationOfState
{
rho 11.5;
}
}
// ************************************************************************* //

View File

@ -1,107 +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 pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie solidSpecie;
energy sensibleEnthalpy;
}
mixture
{
solidSpecie
{
nMoles 1;
}
transport
{
kappa 80;
}
thermodynamics
{
Hf 0;
Cp 450;
}
equationOfState
{
rho 8000;
}
}
species
(
pmma char
);
pmma
{
solidSpecie
{
nMoles 1;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
char
{
solidSpecie
{
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,106 +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 pureMixture;
transport constIso;
thermo hConst;
equationOfState rhoConst;
specie solidSpecie;
energy sensibleEnthalpy;
}
mixture
{
solidSpecie
{
nMoles 1;
}
transport
{
kappa 80;
}
thermodynamics
{
Hf 0;
Cp 450;
}
equationOfState
{
rho 8000;
}
}
species
(
pmma char
);
pmma
{
solidSpecie
{
nMoles 1;
}
transport
{
kappa 0.152;
}
thermodynamics
{
Hf 0;
Cp 1462;
}
equationOfState
{
rho 1114.0;
}
}
char
{
solidSpecie
{
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

@ -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

@ -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

@ -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

@ -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

@ -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;
}
}
// ************************************************************************* //