Updated thermal baffle tutorials to use internal energy
This commit is contained in:
@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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]
|
||||||
|
|||||||
@ -17,7 +17,7 @@ transport
|
|||||||
thermodynamics
|
thermodynamics
|
||||||
{
|
{
|
||||||
Hf 0;
|
Hf 0;
|
||||||
Cp 10;
|
Cv 10;
|
||||||
}
|
}
|
||||||
equationOfState
|
equationOfState
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@ -20,7 +20,7 @@ thickness 0.02;
|
|||||||
|
|
||||||
Kappa 0.01;
|
Kappa 0.01;
|
||||||
|
|
||||||
Cp 15;
|
Cv 15;
|
||||||
|
|
||||||
rho 80;
|
rho 80;
|
||||||
|
|
||||||
|
|||||||
@ -33,7 +33,7 @@ gradSchemes
|
|||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
laplacian(alpha,h) Gauss linear uncorrected;
|
laplacian(alpha,e) Gauss linear uncorrected;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user