I'm currently working with the DEM-Engine for simulating granular flow, similar to the scenario in DEMO_Hopper_Cylinder_sphere. In this demo, the generated CSV files include data on position, radius, velocity, and family for each particle. What i want to do is to add contact forces : Specifically, for any given particle (let's call it Particle A), I want to identify all particles in contact with it, record the force exerted by each contacting particle, and include this information on the same dedicated line of the CSV file for Particle A. Is there an existing method or approach that would allow me to achieve this?
Thank you!
Marouane ELBISSOURI
Hello,
Thank you, Ruochun Zhang, for your response; it was very helpful. I have a follow-up question: In the DEMdemo_ContactChain example, we use the line DEMSim.SetContactOutputContent(DEME_POINT | OWNER | FORCE | CNT_WILDCARD); to generate a CSV file similar to the attached one. My question is, does the force displayed in the file represent the force applied by B on A or by A on B? Additionally, are the force coordinates expressed in the reference frame related to the contact plane or in the absolute reference frame? If they are in the contact plane's reference frame, is there a way to convert them to the absolute reference frame?
Thank you,
Marouane
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/2a2e2d51-6f73-4cc4-b52b-37a8af1725c8n%40googlegroups.com.
In the position/velocity file, I don’t see any explicit IDs for the particles, whereas in the contact file, the IDs (A and B) are clearly specified. Should I assume that the IDs in the contact file correspond directly to the row numbers in the position/velocity file? Or is there another mapping logic I should follow?
Thank you,
Marouane