BUG: lagrangian/icoUncoupledKinematicParcelFoam/hopper/hopperInitialState
The tutorial fails with
Cloud: kinematicCloud injector: model1
Added 3300 new parcels
4 move-collide subCycles
[3]
[3] --> FOAM FATAL IO ERROR:
[3] Expected a '(' while reading VectorSpace<Form, Cmpt, Ncmpts>, found on line 0 an error
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related. Learn more.
When this merge request is accepted, this issue will be closed automatically.
- !121Version v1706
Activity
- Developer
Please, re-test with the latest commit. This case runs fine for me.
- Author Developer
This fails only in 64 bit WM_LABEL_SIZE compilation...
- Developer
It looks like it is due to a change in the InteractionLists.C done by Mattijs. The problem is the function il_.receiveReferredData(pBufs, startOfRequests); on line 68 in PairCollision.C
I am not sure why it occurs only when using 64 bit WM_LABEL_SIZE. It looks like it is related to the size of the buffers for parallel communications.
Sergio
- Maintainer
-
there is a problem in 32 label as well. td.switchProcessor does not get initialised in the CollidingParcel nor MPPICParcel. Attached a patch to fix this.
-
however does not seem to fix the 64 bit label problem.
-
- Developer
But switchProcessor and keepParticle are initialized in KinematicParcel in the move function. In which case this initialization was a problem ?
- Maintainer
It only goes into KinematicParcel::move for condition TrackData::tpLinearTrack, not for TrackData::tpVelocityHalfStep.
- Author Developer
- Maintainer
v1606+, label64 is fine v1612+, label64 is fine Difference is in the streamed size of the InteractionLists. There are 51 cells that are sent (on processor). In the first sweep the particle contents is exactly the same and the binary streamed data also identical (all compared to v1606). Second sweep there are some slight truncation errors in positions and the binary streamed data is 8 bytes per particle shorter than the v1606 version.
- Maintainer
Problem is Foam::operator<<(Ostream& os, const bool b)
which writes as int(), not label.
- Mattijs Janssens mentioned in commit b75e939d
mentioned in commit b75e939d
- Andrew Heather closed via merge request !121 (merged)
closed via merge request !121 (merged)
- Andrew Heather mentioned in commit 3b95f1e4
mentioned in commit 3b95f1e4
- Mark OLESEN mentioned in issue #564
mentioned in issue #564
- Fabian Rösler mentioned in issue #626 (closed)
mentioned in issue #626 (closed)