Hi Sun,

Unfortunately, there is no run-time visualization for DEM-E simulations 
yet, because those simulations are probably too large to efficiently render 
real-time anyway. You need to render the movie using the output CSV and VTK 
files.

To have a quick start, you can use ParaView <https://www.paraview.org/>. 
VTK files for the mesh can be directly loaded into ParaView for display. 
CSV files give the time series of the XYZ coordinates of component spheres 
(if you used *WriteSphereFile *to output them, that is) and their radius. I 
usually load the file, then use *TableToPoints *filter to generate the 
points in space based on the *x,y,z* columns, then use *glyph *filter to 
render those points as various-sized spheres based on the radius column *r*
. 

Thank you,
Ruochun

On Monday, March 11, 2024 at 10:22:51 AM UTC+8 Zed Sun wrote:

> Hi, Ruochun
> about the project :*DEMdemo_Plow.cpp*
> I have compiled DEM-ENGINE and linked it to Chrono. How can I visualize 
> the simulation?  Just like this example: movie for this demo here 
> <https://uwmadison.box.com/s/2km7tizoubak0nf2cpfv0xyg411xlxpf>
> Good luck with your project.
> Thank you,
> Sun
> 在2024年3月4日星期一 UTC+8 22:02:49<Zed Sun> 写道:
>
>> Thank you for your solution. I will give it a try.
>>
>> 在2024年3月4日星期一 UTC+8 20:59:37<Ruochun Zhang> 写道:
>>
>>> Hi Sun,
>>>
>>> Just to add to what Dan suggested... You can find the "new DEM solution" 
>>> for irregular soil grains in Chrono DEM-E 
>>> <https://github.com/projectchrono/DEM-Engine>, and the demo script is 
>>> here 
>>> <https://github.com/projectchrono/DEM-Engine/blob/main/src/demo/DEMdemo_Plow.cpp>.
>>>  
>>> You can use it in Python as well: Please refer to DEM-E's readme document.
>>>
>>> Check out the rendering/movie for this demo here 
>>> <https://uwmadison.box.com/s/2km7tizoubak0nf2cpfv0xyg411xlxpf>.
>>>
>>> Thank you,
>>> Ruochun
>>>
>>> On Monday, March 4, 2024 at 8:42:28 PM UTC+8 Dan Negrut wrote:
>>>
>>>> Actually, there is a better DEM solution, that is new in Chrono:
>>>>
>>>> https://api.projectchrono.org/deme_usage.html
>>>>
>>>> It’s faster than the previous DEM solution and handles non-spherical 
>>>> bodies.
>>>>
>>>> Dan
>>>>
>>>> ---------------------------------------------
>>>>
>>>> Bernard A. and Frances M. Weideman Professor
>>>>
>>>> NVIDIA CUDA Fellow
>>>>
>>>> Department of Mechanical Engineering
>>>>
>>>> Department of Computer Science
>>>>
>>>> University of Wisconsin - Madison
>>>>
>>>> 4150ME, 1513 University Avenue
>>>>
>>>> Madison, WI 53706-1572
>>>>
>>>> 608 772 0914 <(608)%20772-0914>
>>>>
>>>> http://sbel.wisc.edu/
>>>>
>>>> http://projectchrono.org/ 
>>>>
>>>> ---------------------------------------------
>>>>
>>>>  
>>>>
>>>> *From:* [email protected] <[email protected]> *On 
>>>> Behalf Of *Zed Sun
>>>> *Sent:* Monday, March 4, 2024 2:09 AM
>>>> *To:* ProjectChrono <[email protected]>
>>>> *Subject:* [chrono] simulate the soil environment
>>>>
>>>>  
>>>>
>>>> Hi,
>>>>
>>>>
>>>> I hope to excavate the soil, so how should I simulate the soil 
>>>> environment (I prefer to display the soil in a granular state)
>>>> thanks
>>>>
>>>> -- 
>>>>
>>>> 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/1b7cfa54-8ce4-460c-bc9f-000ea5ae16aan%40googlegroups.com
>>>>  
>>>> <https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/1b7cfa54-8ce4-460c-bc9f-000ea5ae16aan*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!JIC8tdflMFv0o7Zt-40B6MtCzq-OO-NQtusaz6_Fj3MMVqlPZIjTVJ2FlAR8YHmw8cnnnJbuJP-_jNjA$>
>>>> .
>>>>
>>>

-- 
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/c51b9405-c472-4ac6-a75e-f54b5a85a68an%40googlegroups.com.

Reply via email to