Import VTK

Asked by Mithushan Soundaranathan

Hi,

I simulated the compaction process of spheres, and have saved them in VTK files along with files with info on interparticle forces.
I want do simulation on the compact (such liquid flow in pore structure, swelling of the particles), I don't want do compaction simulation each time before I do the liquid flow simulation.

Is there a method to import the VTK file of the compact into YADE, such I can do the liquid flow simulation on the compacts.

Best,
Mithu

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,

there is no predefined function to import vtk file into Yade.
But all needed data are in the file, so in principle it is possible to load it.

A better approach is to save not only vtk file, but also other more suitable file for loading.
E.g. export.text [1] and ymport.text [2] pair.

Cheers
Jan

[1] https://yade-dem.org/doc/yade.export.html#yade.export.text
[2] https://yade-dem.org/doc/yade.ymport.html#yade.ymport.text

Can you help with this problem?

Provide an answer of your own, or ask Mithushan Soundaranathan for more information if necessary.

To post a message you must log in.