Commit 4650948a authored by andy's avatar andy
Browse files

ENH: Updated setting of parcel typeId

parent b7675694
......@@ -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();
}
......
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment