mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrected output of thermo sub-dictionaries
This commit is contained in:
@ -66,7 +66,7 @@ void icoPolynomial<PolySize>::write(Ostream& os) const
|
|||||||
{
|
{
|
||||||
specie::write(os);
|
specie::write(os);
|
||||||
|
|
||||||
dictionary dict("equationOfState");
|
dictionaryEntry dict("equationOfState");
|
||||||
dict.add
|
dict.add
|
||||||
(
|
(
|
||||||
word("rhoCoeffs<" + Foam::name(PolySize) + '>'),
|
word("rhoCoeffs<" + Foam::name(PolySize) + '>'),
|
||||||
|
|||||||
@ -50,7 +50,7 @@ void Foam::incompressible::write(Ostream& os) const
|
|||||||
{
|
{
|
||||||
specie::write(os);
|
specie::write(os);
|
||||||
|
|
||||||
dictionary dict("equationOfState");
|
dictionaryEntry dict("equationOfState");
|
||||||
dict.add("rho", rho_);
|
dict.add("rho", rho_);
|
||||||
|
|
||||||
os << dict;
|
os << dict;
|
||||||
|
|||||||
@ -63,7 +63,7 @@ Foam::specie::specie(const dictionary& dict)
|
|||||||
|
|
||||||
void Foam::specie::write(Ostream& os) const
|
void Foam::specie::write(Ostream& os) const
|
||||||
{
|
{
|
||||||
dictionary dict("specie");
|
dictionaryEntry dict("specie");
|
||||||
dict.add("nMoles", nMoles_);
|
dict.add("nMoles", nMoles_);
|
||||||
dict.add("molWeight", molWeight_);
|
dict.add("molWeight", molWeight_);
|
||||||
os << dict;
|
os << dict;
|
||||||
|
|||||||
@ -55,7 +55,7 @@ void Foam::eConstThermo<EquationOfState>::write(Ostream& os) const
|
|||||||
{
|
{
|
||||||
EquationOfState::write(os);
|
EquationOfState::write(os);
|
||||||
|
|
||||||
dictionary dict("thermodynamics");
|
dictionaryEntry dict("thermodynamics");
|
||||||
dict.add("Cv", Cv_);
|
dict.add("Cv", Cv_);
|
||||||
dict.add("Hf", Hf_);
|
dict.add("Hf", Hf_);
|
||||||
os << dict;
|
os << dict;
|
||||||
|
|||||||
@ -55,7 +55,7 @@ void Foam::hConstThermo<equationOfState>::write(Ostream& os) const
|
|||||||
{
|
{
|
||||||
equationOfState::write(os);
|
equationOfState::write(os);
|
||||||
|
|
||||||
dictionary dict("thermodynamics");
|
dictionaryEntry dict("thermodynamics");
|
||||||
dict.add("Cp", Cp_);
|
dict.add("Cp", Cp_);
|
||||||
dict.add("Hf", Hf_);
|
dict.add("Hf", Hf_);
|
||||||
os << dict;
|
os << dict;
|
||||||
|
|||||||
@ -100,7 +100,7 @@ void Foam::hPolynomialThermo<EquationOfState, PolySize>::write
|
|||||||
{
|
{
|
||||||
EquationOfState::write(os);
|
EquationOfState::write(os);
|
||||||
|
|
||||||
dictionary dict("thermodynamics");
|
dictionaryEntry dict("thermodynamics");
|
||||||
dict.add("Hf", Hf_);
|
dict.add("Hf", Hf_);
|
||||||
dict.add("Sf", Sf_);
|
dict.add("Sf", Sf_);
|
||||||
dict.add
|
dict.add
|
||||||
|
|||||||
@ -102,7 +102,7 @@ void Foam::janafThermo<EquationOfState>::write(Ostream& os) const
|
|||||||
{
|
{
|
||||||
EquationOfState::write(os);
|
EquationOfState::write(os);
|
||||||
|
|
||||||
dictionary dict("thermodynamics");
|
dictionaryEntry dict("thermodynamics");
|
||||||
dict.add("Tlow", Tlow_);
|
dict.add("Tlow", Tlow_);
|
||||||
dict.add("Thigh", Thigh_);
|
dict.add("Thigh", Thigh_);
|
||||||
dict.add("Tcommon", Tcommon_);
|
dict.add("Tcommon", Tcommon_);
|
||||||
|
|||||||
@ -58,7 +58,7 @@ void Foam::constTransport<Thermo>::constTransport::write(Ostream& os) const
|
|||||||
|
|
||||||
Thermo::write(os);
|
Thermo::write(os);
|
||||||
|
|
||||||
dictionary dict("transport");
|
dictionaryEntry dict("transport");
|
||||||
dict.add("mu", mu_);
|
dict.add("mu", mu_);
|
||||||
dict.add("Pr", 1.0/rPr_);
|
dict.add("Pr", 1.0/rPr_);
|
||||||
os << dict;
|
os << dict;
|
||||||
|
|||||||
@ -77,7 +77,7 @@ void Foam::polynomialTransport<Thermo, PolySize>::write(Ostream& os) const
|
|||||||
|
|
||||||
Thermo::write(os);
|
Thermo::write(os);
|
||||||
|
|
||||||
dictionary dict("transport");
|
dictionaryEntry dict("transport");
|
||||||
dict.add
|
dict.add
|
||||||
(
|
(
|
||||||
word("muCoeffs<" + Foam::name(PolySize) + '>'),
|
word("muCoeffs<" + Foam::name(PolySize) + '>'),
|
||||||
|
|||||||
@ -58,7 +58,7 @@ void Foam::sutherlandTransport<Thermo>::write(Ostream& os) const
|
|||||||
|
|
||||||
Thermo::write(os);
|
Thermo::write(os);
|
||||||
|
|
||||||
dictionary dict("transport");
|
dictionaryEnrtry dict("transport");
|
||||||
dict.add("As", As_);
|
dict.add("As", As_);
|
||||||
dict.add("Ts", Ts_);
|
dict.add("Ts", Ts_);
|
||||||
os << dict;
|
os << dict;
|
||||||
|
|||||||
Reference in New Issue
Block a user