Hello,
I have a few questions of the particle replacement API
1. If i want to recompile particle replacement API files what all libraries do i pick as dependent libraries while compiling is it body force
C:\Program Files\Altair\2022.3\EDEM\src\Api\Factories
C:\Program Files\Altair\2022.3\EDEM\src\Api\ParticleBodyForce
C:\Program Files\Altair\2022.3\EDEM\src\Misc
C:\Program Files\Altair\2022.3\EDEM\src\Api\Core?
2. From what i understand the tutorial is replacing a particle called whole with a fraction.
when i look at the sequence diagram i see that the particle creation is the first step then body force will be calculated in the next step. so does it mean the replacement of the particle happens in the second time step?
The reason i ask this is i want to control the orientation of the meta particles i create. I see that the orientation matrix is being created for the new particle in CRemoval.cpp. so does it mean that this orientation matrix will be passed to the meta particle? i also see the orientation being called in CReplacementFactory.cpp. I don't know where i should enforce the orientation for the particles
for the time being let us say i want all the meta particles chain to have an orientation of [cos(30), -sin(30), 0; sin(30) cos(30) 0;0 0 1] from the centroid of it. (my meta particle is a long chain of 200 particles) Where do i enforce this orientation in the CReplacementFactory.cpp or CRemoval.cpp? or should i write the file "Particle_Cluster_Data.txt" every time i create a random particle?