Skip to content
Snippets Groups Projects
Commit c8a5fe51 authored by andy's avatar andy
Browse files

BUG: Corrected output of thermo sub-dictionaries

parent 1c4fae0c
No related branches found
No related tags found
No related merge requests found
Showing
with 10 additions and 10 deletions
...@@ -66,7 +66,7 @@ void icoPolynomial<PolySize>::write(Ostream& os) const ...@@ -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 ...@@ -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) ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment