positions_ data type

Submitted by jagan1mohan on Wed, 11/11/2020 - 10:56

Hello Team, greetings. I'm trying to understand the class-member functions in the CFDEMCoupling package.

Inside Foam::cfdemCloud::getDEMdata( ) function, are these variables radii_, positions_, and velocities_ 2D arrays? If I have 35 particles, say, does the length or size of this variable be 35?

Thank you,
Jagan Mohan.

mofazli | Thu, 11/12/2020 - 05:17

Yes, You are right Jagan. These are the arrays containing the data from liggghts. You can see these arrays that are built in Foam::cfdemCloud::reAllocArrays(int nP, bool forceRealloc) class function, which are the vectors with np length. If you need more information, please feel free to ask me.
Mohammad

jagan1mohan | Thu, 11/12/2020 - 06:11

Hello Mofazli, I'm working on the code and I have a few more questions. Would you be okay to help me over an email conversation? Please send me an email on jusgandmugs@gmail.com if you are okay. Else, I'll put them here. Eagerly waiting for your reply. Thank you, Jagan Mohan.