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
1bb32981
Commit
1bb32981
authored
Apr 16, 2013
by
andy
Browse files
BUG: Corrected cloud radiation model handling
parent
5225ebf3
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/parcels/Templates/ReactingMultiphaseParcel/ReactingMultiphaseParcel.C
View file @
1bb32981
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
2
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -477,7 +477,7 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
const
scalar
T4
=
pow4
(
this
->
T_
);
td
.
cloud
().
radAreaP
()[
cellI
]
+=
dt
*
np0
*
ap
;
td
.
cloud
().
radT4
()[
cellI
]
+=
dt
*
np0
*
T4
;
td
.
cloud
().
radAreaP
()[
cellI
]
+=
dt
*
np0
*
ap
*
T4
;
td
.
cloud
().
radAreaP
T4
()[
cellI
]
+=
dt
*
np0
*
ap
*
T4
;
}
}
}
...
...
src/lagrangian/intermediate/parcels/Templates/ReactingParcel/ReactingParcel.C
View file @
1bb32981
...
...
@@ -466,7 +466,7 @@ void Foam::ReactingParcel<ParcelType>::calc
const
scalar
T4
=
pow4
(
this
->
T_
);
td
.
cloud
().
radAreaP
()[
cellI
]
+=
dt
*
np0
*
ap
;
td
.
cloud
().
radT4
()[
cellI
]
+=
dt
*
np0
*
T4
;
td
.
cloud
().
radAreaP
()[
cellI
]
+=
dt
*
np0
*
ap
*
T4
;
td
.
cloud
().
radAreaP
T4
()[
cellI
]
+=
dt
*
np0
*
ap
*
T4
;
}
}
}
...
...
src/lagrangian/intermediate/parcels/Templates/ThermoParcel/ThermoParcel.C
View file @
1bb32981
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
2
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -260,7 +260,7 @@ void Foam::ThermoParcel<ParcelType>::calc
const
scalar
T4
=
pow4
(
this
->
T_
);
td
.
cloud
().
radAreaP
()[
cellI
]
+=
dt
*
np0
*
ap
;
td
.
cloud
().
radT4
()[
cellI
]
+=
dt
*
np0
*
T4
;
td
.
cloud
().
radAreaP
()[
cellI
]
+=
dt
*
np0
*
ap
*
T4
;
td
.
cloud
().
radAreaP
T4
()[
cellI
]
+=
dt
*
np0
*
ap
*
T4
;
}
}
}
...
...
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