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
4de94aa5
Commit
4de94aa5
authored
May 26, 2011
by
andy
Browse files
ENH: Changed parcel injection/set parcel properties order
parent
11fe0cf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/submodels/Kinematic/InjectionModel/InjectionModel/InjectionModel.C
View file @
4de94aa5
...
...
@@ -591,12 +591,12 @@ void Foam::InjectionModel<CloudType>::inject(TrackData& td)
tetPtI
);
// Assign new parcel properties in injection model
setProperties
(
parcelI
,
newParcels
,
timeInj
,
*
pPtr
);
// Check/set new parcel properties
td
.
cloud
().
checkParcelProperties
(
*
pPtr
,
dt
,
fullyDescribed
());
// Assign new parcel properties in injection model
setProperties
(
parcelI
,
newParcels
,
timeInj
,
*
pPtr
);
// Apply correction to velocity for 2-D cases
meshTools
::
constrainDirection
(
...
...
@@ -696,12 +696,12 @@ void Foam::InjectionModel<CloudType>::injectSteadyState
tetPtI
);
// Assign new parcel properties in injection model
setProperties
(
parcelI
,
newParcels
,
0
.
0
,
*
pPtr
);
// Check new parcel properties
td
.
cloud
().
checkParcelProperties
(
*
pPtr
,
0
.
0
,
fullyDescribed
());
// Assign new parcel properties in injection model
setProperties
(
parcelI
,
newParcels
,
0
.
0
,
*
pPtr
);
// Apply correction to velocity for 2-D cases
meshTools
::
constrainDirection
(
...
...
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