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;
mixture pureMixture;
transport constIso;
thermo hConst;
thermo eConst;
equationOfState rhoConst;
specie specie;
energy sensibleEnthalpy;
energy sensibleInternalEnergy;
}
mixture
@ -39,7 +39,7 @@ mixture
thermodynamics
{
Hf 0;
Cp 1900;
Cv 1900;
}
transport
{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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