Yu,

Are you interested in rigid or flexible bodies?

Assuming rigid bodies, keep in mind that “shape” is relevant only if you have 
collisions. If you do not, you can simply update the body mass and inertia 
inside your simulation loop.  If you do have contacts, you could also change 
the collision shape during simulation, but that will affect more computational 
cost.

--Radu

From: [email protected] <[email protected]> On Behalf 
Of Guan Yu
Sent: Monday, July 4, 2022 5:12 AM
To: ProjectChrono <[email protected]>
Subject: [chrono] Re-shape a body during simulation

Hi all,

I would like to ask if I can re-shape a body during a simulation, for example, 
a bar that has the length becoming shorter based on a constant rate? Or, can I 
change the density of a body during a simulation?

If these are possible, what would be a proper way to realize?

Thank you in advance,
Best,
Yu
--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/c25da995-f7dd-491a-9f81-651fc5adc213n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/c25da995-f7dd-491a-9f81-651fc5adc213n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/PH0PR06MB823719B3ABC70166E61DDCECA7BE9%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to