Updated thermal baffle tutorials to use internal energy

This commit is contained in:
Henry Weller
2020-06-11 00:08:29 +01:00
parent c109bec4cc
commit 4ad1559fff
7 changed files with 12 additions and 12 deletions

View File

@ -20,10 +20,10 @@ thermoType
type heSolidThermo; type heSolidThermo;
mixture pureMixture; mixture pureMixture;
transport constIso; transport constIso;
thermo hConst; thermo eConst;
equationOfState rhoConst; equationOfState rhoConst;
specie specie; specie specie;
energy sensibleEnthalpy; energy sensibleInternalEnergy;
} }
mixture mixture
@ -39,7 +39,7 @@ mixture
thermodynamics thermodynamics
{ {
Hf 0; Hf 0;
Cp 1900; Cv 1900;
} }
transport transport
{ {

View File

@ -8,7 +8,7 @@
T T
{ {
type compressible::thermalBaffle1D<hConstSolidThermoPhysics>; type compressible::thermalBaffle1D<eConstSolidThermoPhysics>;
thickness uniform 0.005; // thickness [m] thickness uniform 0.005; // thickness [m]
Qs uniform 100; // heat flux [W/m^2] Qs uniform 100; // heat flux [W/m^2]

View File

@ -17,7 +17,7 @@ transport
thermodynamics thermodynamics
{ {
Hf 0; Hf 0;
Cp 10; Cv 10;
} }
equationOfState equationOfState
{ {

View File

@ -12,10 +12,10 @@ thermoType
type heSolidThermo; type heSolidThermo;
mixture pureMixture; mixture pureMixture;
transport constIso; transport constIso;
thermo hConst; thermo eConst;
equationOfState rhoConst; equationOfState rhoConst;
specie specie; specie specie;
energy sensibleEnthalpy; energy sensibleInternalEnergy;
} }
mixture mixture
@ -31,7 +31,7 @@ mixture
thermodynamics thermodynamics
{ {
Hf 0; Hf 0;
Cp ${Cp}; Cv ${Cv};
} }
equationOfState equationOfState
{ {

View File

@ -20,7 +20,7 @@ thickness 0.02;
Kappa 0.01; Kappa 0.01;
Cp 15; Cv 15;
rho 80; rho 80;

View File

@ -33,7 +33,7 @@ gradSchemes
laplacianSchemes laplacianSchemes
{ {
default none; default none;
laplacian(alpha,h) Gauss linear uncorrected; laplacian(alpha,e) Gauss linear uncorrected;
} }

View File

@ -17,7 +17,7 @@ FoamFile
solvers solvers
{ {
h e
{ {
solver PCG; solver PCG;
smoother GaussSeidel; smoother GaussSeidel;
@ -31,7 +31,7 @@ nNonOrthCorr 0;
relaxationFactors relaxationFactors
{ {
h 1; e 1;
} }
// ************************************************************************* // // ************************************************************************* //