Skip to content
GitLab
Menu
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
4650948a
Commit
4650948a
authored
Feb 24, 2011
by
andy
Browse files
ENH: Updated setting of parcel typeId
parent
b7675694
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.C
View file @
4650948a
...
...
@@ -728,6 +728,7 @@ void Foam::KinematicCloud<CloudType>::checkParcelProperties
const
scalar
carrierDt
=
this
->
db
().
time
().
deltaTValue
();
parcel
.
stepFraction
()
=
(
carrierDt
-
lagrangianDt
)
/
carrierDt
;
parcel
.
typeId
()
=
constProps_
.
parcelTypeId
();
}
...
...
src/lagrangian/intermediate/parcels/Templates/KinematicParcel/KinematicParcelI.H
View file @
4650948a
...
...
@@ -98,7 +98,6 @@ inline Foam::KinematicParcel<ParcelType>::KinematicParcel
:
ParcelType
(
owner
,
position
,
cellI
,
tetFaceI
,
tetPtI
),
active_
(
true
),
// typeId_(owner.constProps().parcelTypeId()),
typeId_
(
-
1
),
nParticle_
(
0
),
d_
(
0.0
),
...
...
@@ -115,11 +114,7 @@ inline Foam::KinematicParcel<ParcelType>::KinematicParcel
rhoc_
(
0.0
),
Uc_
(
vector
::
zero
),
muc_
(
0.0
)
{
// TODO
WarningIn
(
"inline Foam::KinematicParcel<ParcelType>::KinematicParcel"
)
<<
"typeId set to -1 instead of constProps value"
<<
endl
;
}
{}
template
<
class
ParcelType
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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