cosmetics

This commit is contained in:
andy
2009-10-20 11:49:34 +01:00
parent 822019bb6a
commit 0aef45c88d
5 changed files with 15 additions and 7 deletions

View File

@ -121,7 +121,7 @@ void Foam::SIBS::solve
kMax_ = kOpt_;
}
label k=0;
label k = 0;
scalar h = hTry;
yTemp_ = y;
@ -213,7 +213,7 @@ void Foam::SIBS::solve
x = xNew_;
hDid = h;
first_=0;
first_ = 0;
scalar wrkmin = GREAT;
scalar scale = 1.0;

View File

@ -65,7 +65,15 @@ Foam::C7H16::C7H16()
182.274175063868,
-254.530511150515
),
h_(-3.1469964e+6,7.3072e+3,-3.52884e+1,1.10637e-1,-1.634831e-4,9.64941e-8),
h_
(
-3.1469964e+6,
7.3072e+3,
-3.52884e+1,
1.10637e-1,
-1.634831e-4,
9.64941e-8
),
cpg_(1199.05392998284, 3992.85457666361, 1676.6, 2734.42177956968, 756.4),
B_
(
@ -80,7 +88,7 @@ Foam::C7H16::C7H16()
K_(0.215, -0.000303, 0.0, 0.0, 0.0, 0.0),
Kg_(-0.070028, 0.38068, -7049.9, -2400500.0),
sigma_(540.20, 0.054143, 1.2512, 0.0, 0.0, 0.0),
D_(147.18, 20.1, 100.204, 28.0) // note: Same as C7H16
D_(147.18, 20.1, 100.204, 28.0)
{}

View File

@ -126,7 +126,7 @@ public:
//- Liquid heat capacity [J/(kg K)]
inline scalar cp(scalar p, scalar T) const;
//- Liquid Enthalpy [J/(kg)]
//- Liquid Enthalpy [J/kg]
inline scalar h(scalar p, scalar T) const;
//- Ideal gas heat capacity [J/(kg K)]

View File

@ -219,7 +219,7 @@ public:
//- Liquid heat capacity [J/(kg K)]
virtual scalar cp(scalar p, scalar T) const = 0;
//- Liquid h [J/kg]
//- Liquid enthalpy [J/kg]
virtual scalar h(scalar p, scalar T) const = 0;
//- Ideal gas heat capacity [J/(kg K)]

View File

@ -79,7 +79,7 @@ public:
wf_(wf),
wa_(wa),
alpha_(sqrt(1/wf_ + 1/wa_)),
beta_(sqr((cbrt(a_) + cbrt(b_))))
beta_(sqr(cbrt(a_) + cbrt(b_)))
{}
//- Construct from Istream