That worked,  thank you so much!

On Monday, October 17, 2022 at 1:09:16 PM UTC-7 Ruochun Zhang wrote:

> Hi Mohammad,
>
> You should in your script set the output flag such that this information 
> is outputted. The flag is *FORCE_COMPONENTS*, so the command should look 
> like...
> *gpu_sys.SetParticleOutputFlags(ABSV | **FORCE_COMPONENTS**);*
>
> Now that you mentioned it, I found no demos is actually using this flag. 
> Maybe it should be changed... Note this flag would give you the total 
> contact force each particle experiences. But if it's the contact force of 
> each contact pair that you are looking for, you'd have to do something 
> different.
>
> Thank you,
> Ruochun
>
> On Sunday, October 16, 2022 at 2:48:33 AM UTC-5 [email protected] wrote:
>
>> Hi, 
>>
>> I am trying to obtain the forces the particles experience in my 
>> simulation as a CSV file. I am using the GPU module. I have looked and 
>> found that I can possibly use the WriteCsvParticles function that is 
>> capable of doing that. However, it seems that this is a protected function 
>> and can not be accessed. Is there another way that I can obtain the forces 
>> on all the particles in the system? 
>>
>> Thank you so much, 
>>
>

-- 
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/13d09f2b-d181-4c88-8793-345152b33c0dn%40googlegroups.com.

Reply via email to