Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
b8a5d2ef
Commit
b8a5d2ef
authored
Oct 10, 2008
by
Andrew Heather
Browse files
minor cosmetics change
parent
de2ac5af
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/parcels/Templates/ReactingParcel/ReactingParcel.C
View file @
b8a5d2ef
...
...
@@ -57,6 +57,7 @@ void Foam::ReactingParcel<ParcelType>::calcCoupled
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
const
vector
U0
=
this
->
U_
;
const
scalar
mass0
=
this
->
mass
();
const
scalar
cp0
=
this
->
cp_
;
const
scalar
np0
=
this
->
nParticle_
;
const
scalar
T0
=
this
->
T_
;
...
...
@@ -116,11 +117,11 @@ void Foam::ReactingParcel<ParcelType>::calcCoupled
T1
-=
td
.
constProps
().
Ldevol
()
*
sum
(
dMassMT
)
/
(
0
.
5
*
(
mass0
+
mass1
)
*
this
->
cp
_
);
/
(
0
.
5
*
(
mass0
+
mass1
)
*
cp
0
);
// Add retained enthalpy from surface reaction to particle and remove
// from gas
T1
+=
dhRet
/
(
0
.
5
*
(
mass0
+
mass1
)
*
this
->
cp
_
);
T1
+=
dhRet
/
(
0
.
5
*
(
mass0
+
mass1
)
*
cp
0
);
dhTrans
-=
dhRet
;
// Correct dhTrans to account for enthalpy of evolved volatiles
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment