chaos-polymtl / lethe

Repository for the open-source lethe CFD/DEM/CFD-DEM project
https://chaos-polymtl.github.io/lethe/index.html
GNU Lesser General Public License v2.1
270 stars 59 forks source link

Dem insertion from file #1054

Closed OGaboriault closed 6 months ago

OGaboriault commented 6 months ago

Description of the problem

Description of the solution

This PR adds the from_file insertion method. It's really similar to what has been done in the CFD-DEM Resolve solver. Basically, particles properties are stored in a text file. Each line is associated with a particle and each columns to a kind of properties.

It's basically the same thing as the list insertion but without the limitation from the number of character on a single line.

I've also include a python code to extract the properties of the last vtu of a simulation.

How Has This Been Tested?

Documentation

blaisb commented 6 months ago

I am good with it so @acdaigneault if you are good I think this is ready for merge I'll wait for your OK :)

blaisb commented 6 months ago

@OGaboriault some parameter files need to be updated I think