mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Thermodynamics: Rationalised the base classes for fluid and solid thermo.
New base class for fluid and solid thermo: veryBasicThermo Base class for fluid thermo: basicThermo (derived from veryBasicThermo) Base class for solid thermo: solidThermo (derived from veryBasicThermo) Note in next commit basicThermo -> fluidThermo, veryBasicThermo -> basicThermo
This commit is contained in:
0
tutorials/combustion/chemFoam/nc7h16/validation/createGraph
Normal file → Executable file
0
tutorials/combustion/chemFoam/nc7h16/validation/createGraph
Normal file → Executable file
@ -15,7 +15,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solidChemistryModel ODESolidChemistryModel<constSolidThermoPhysics>;
|
||||
solidChemistryModel ODESolidChemistryModel<hConstSolidThermoPhysics>;
|
||||
|
||||
gasThermoModel gasThermoPhysics;
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType heSolidThermo<reactingSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
thermoType heSolidThermo<reactingSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<hConstThermo<incompressible>,sensibleEnthalpy>>>>>;
|
||||
|
||||
solidComponents
|
||||
(
|
||||
@ -43,7 +43,7 @@ vCoeffs
|
||||
Cp 696;
|
||||
Hf -1.41e6;
|
||||
}
|
||||
density
|
||||
equationOfState
|
||||
{
|
||||
rho 114.7;
|
||||
}
|
||||
@ -71,7 +71,7 @@ charCoeffs
|
||||
Cp 611;
|
||||
Hf 0;
|
||||
}
|
||||
density
|
||||
equationOfState
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -88,7 +88,7 @@ dictionaryReplacement
|
||||
{
|
||||
"baffle.*"
|
||||
{
|
||||
type compressible::temperatureThermoBaffle1D<constSolidThermoPhysics>;
|
||||
type compressible::temperatureThermoBaffle1D<hConstSolidThermoPhysics>;
|
||||
baffleActivated yes;
|
||||
thickness uniform 0.005; // thickness [m]
|
||||
Qs uniform 100; // heat flux [W/m2]
|
||||
@ -107,7 +107,7 @@ dictionaryReplacement
|
||||
Hf 0;
|
||||
Cp 0;
|
||||
}
|
||||
density
|
||||
equationOfState
|
||||
{
|
||||
rho 0;
|
||||
}
|
||||
|
||||
@ -88,7 +88,7 @@ dictionaryReplacement
|
||||
{
|
||||
"baffle1Wall.*"
|
||||
{
|
||||
type compressible::temperatureThermoBaffle1D<constSolidThermoPhysics>;
|
||||
type compressible::temperatureThermoBaffle1D<hConstSolidThermoPhysics>;
|
||||
baffleActivated yes;
|
||||
thickness uniform 0.005; // thickness [m]
|
||||
Qs uniform 100; // heat flux [W/m2]
|
||||
@ -112,7 +112,7 @@ dictionaryReplacement
|
||||
Hf 0;
|
||||
Cp 10;
|
||||
}
|
||||
density
|
||||
equationOfState
|
||||
{
|
||||
rho 10;
|
||||
}
|
||||
|
||||
@ -110,7 +110,7 @@ dictionaryReplacement
|
||||
|
||||
|
||||
// Solid thermo
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<hConstThermo<incompressible>,sensibleEnthalpy>>>>>;
|
||||
|
||||
|
||||
mixture
|
||||
@ -135,7 +135,7 @@ dictionaryReplacement
|
||||
Hf 0;
|
||||
Cp 15;
|
||||
}
|
||||
density
|
||||
equationOfState
|
||||
{
|
||||
rho 80;
|
||||
}
|
||||
|
||||
@ -14,8 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
//thermoType heSolidThermo<multiComponentSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<hConstThermo<incompressible>,sensibleEnthalpy>>>>>;
|
||||
|
||||
mixture
|
||||
{
|
||||
@ -24,23 +23,26 @@ mixture
|
||||
nMoles 1;
|
||||
molWeight 12;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
//kappa (80 80 80);
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 450;
|
||||
}
|
||||
density
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 8000;
|
||||
}
|
||||
@ -58,22 +60,26 @@ pmmaCoeffs
|
||||
nMoles 1;
|
||||
molWeight 100;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 0.152;
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 1462;
|
||||
}
|
||||
density
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
@ -104,9 +110,11 @@ charCoeffs
|
||||
Cp 611.0;
|
||||
}
|
||||
|
||||
density
|
||||
equationOfState
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -14,8 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
//thermoType heSolidThermo<multiComponentSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<hConstThermo<incompressible>,sensibleEnthalpy>>>>>;
|
||||
|
||||
mixture
|
||||
{
|
||||
@ -24,23 +23,26 @@ mixture
|
||||
nMoles 1;
|
||||
molWeight 12;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
//kappa (80 80 80);
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 450;
|
||||
}
|
||||
density
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 8000;
|
||||
}
|
||||
@ -58,22 +60,26 @@ pmmaCoeffs
|
||||
nMoles 1;
|
||||
molWeight 100;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 0.152;
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 1462;
|
||||
}
|
||||
density
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
@ -86,6 +92,7 @@ charCoeffs
|
||||
nMoles 1;
|
||||
molWeight 50;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 0.4;
|
||||
@ -104,9 +111,11 @@ charCoeffs
|
||||
Cp 611.0;
|
||||
}
|
||||
|
||||
density
|
||||
equationOfState
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -14,8 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
//thermoType heSolidThermo<multiComponentSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<hConstThermo<incompressible>,sensibleEnthalpy>>>>>;
|
||||
|
||||
mixture
|
||||
{
|
||||
@ -24,23 +23,26 @@ mixture
|
||||
nMoles 1;
|
||||
molWeight 12;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
//kappa (80 80 80);
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 450;
|
||||
}
|
||||
density
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 8000;
|
||||
}
|
||||
@ -58,22 +60,26 @@ pmmaCoeffs
|
||||
nMoles 1;
|
||||
molWeight 100;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 0.152;
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 1462;
|
||||
}
|
||||
density
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
@ -86,6 +92,7 @@ charCoeffs
|
||||
nMoles 1;
|
||||
molWeight 50;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 0.4;
|
||||
@ -104,9 +111,11 @@ charCoeffs
|
||||
Cp 611.0;
|
||||
}
|
||||
|
||||
density
|
||||
equationOfState
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -14,8 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
//thermoType heSolidThermo<multiComponentSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<hConstThermo<incompressible>,sensibleEnthalpy>>>>>;
|
||||
|
||||
mixture
|
||||
{
|
||||
@ -24,23 +23,26 @@ mixture
|
||||
nMoles 1;
|
||||
molWeight 12;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
//kappa (80 80 80);
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.0;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 450;
|
||||
}
|
||||
density
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 8000;
|
||||
}
|
||||
@ -58,22 +60,26 @@ pmmaCoeffs
|
||||
nMoles 1;
|
||||
molWeight 100;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 0.152;
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 1462;
|
||||
}
|
||||
density
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
@ -86,6 +92,7 @@ charCoeffs
|
||||
nMoles 1;
|
||||
molWeight 50;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 0.4;
|
||||
@ -104,9 +111,11 @@ charCoeffs
|
||||
Cp 611.0;
|
||||
}
|
||||
|
||||
density
|
||||
equationOfState
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -14,8 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
//thermoType heSolidThermo<multiComponentSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<constSolidThermo<constRho>,sensibleEnthalpy>>>>>;
|
||||
thermoType heSolidThermo<pureSolidMixture<constIsoSolidTransport<constSolidRad<specieThermo<hConstThermo<incompressible>,sensibleEnthalpy>>>>>;
|
||||
|
||||
mixture
|
||||
{
|
||||
@ -24,23 +23,26 @@ mixture
|
||||
nMoles 1;
|
||||
molWeight 12;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 80;
|
||||
//kappa (80 80 80);
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.5;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 450;
|
||||
}
|
||||
density
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 8000;
|
||||
}
|
||||
@ -58,22 +60,26 @@ pmmaCoeffs
|
||||
nMoles 1;
|
||||
molWeight 100;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 0.152;
|
||||
}
|
||||
|
||||
radiation
|
||||
{
|
||||
sigmaS 0.0;
|
||||
kappaRad 0.0;
|
||||
emissivity 0.1;
|
||||
}
|
||||
|
||||
thermodynamics
|
||||
{
|
||||
Hf 0;
|
||||
Cp 1462;
|
||||
}
|
||||
density
|
||||
|
||||
equationOfState
|
||||
{
|
||||
rho 1114.0;
|
||||
}
|
||||
@ -86,6 +92,7 @@ charCoeffs
|
||||
nMoles 1;
|
||||
molWeight 50;
|
||||
}
|
||||
|
||||
transport
|
||||
{
|
||||
kappa 0.4;
|
||||
@ -104,9 +111,11 @@ charCoeffs
|
||||
Cp 611.0;
|
||||
}
|
||||
|
||||
density
|
||||
equationOfState
|
||||
{
|
||||
rho 11.5;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user