I've solved it. Basically, instantiate the mesh as usual, and fetch the 
forces, acceleration on each node by node.GetForce() and node.GetDt() and 
such methods.

If only Chrono had a GPU solver for FEA...
On Tuesday, September 10, 2024 at 11:48:37 AM UTC+1 Maksym Riabov wrote:

> Sup Project Chrono,
>
>
> I’m building a physics-accurate AI using Project Chrono as a sim - one 
> that doesn’t just store bodies, but also stores stresses, strains, heat 
> transfer, etc.
>
> I’ve set up the sim part, but now I don’t get the export. I’ve looked 
> through chrono/src/chrono/utils/ChUtilsInputOutput.h 
> <https://github.com/projectchrono/chrono/blob/858cd22d21a6c43719fff9c0113747cb991863cf/src/chrono/utils/ChUtilsInputOutput.h#L59>,
>  
> and read through a bunch of code files related to “export”, but they all 
> seem to export only solid body positions, rotations, speeds and not 
> stresses, displacements of mesh. In the case of .vtk it does export mesh, 
> but I can’t explicitly access the tensors of stress/strain.
>
> Basically I need the tensors of the following:
>
>    1. 
>    
>    Stresses,
>    2. 
>    
>    Strains,
>    3. 
>    
>    Body positions with mesh,
>    4. 
>    
>    Linear and angular speeds,
>    5. 
>    
>    Heat transfer,
>    6. 
>    
>    Fluid dynamics;
>    
>
> So, everything for physically accurate simulation of 99% of physical 
> environments. FEA type of information.
>
> Where can I get this data? If I have it, I’ll write to CSV on my own, but 
> I need the data, and can’t find it.
>
> Cheers,
> Maksym Riabov 
> (I write in python, but..)

-- 
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/e9b012c1-1d16-445e-be21-8a2c5e266c71n%40googlegroups.com.

Reply via email to