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:
Henry
2012-08-23 11:39:02 +01:00
parent 65c039f6c7
commit 8f4b56b3c3
111 changed files with 7872 additions and 8362 deletions

View File

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solidChemistryModel ODESolidChemistryModel<constSolidThermoPhysics>;
solidChemistryModel ODESolidChemistryModel<hConstSolidThermoPhysics>;
gasThermoModel gasThermoPhysics;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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