chaos-polymtl / lethe

Repository for the open-source lethe CFD/DEM/CFD-DEM project
https://chaos-polymtl.github.io/lethe/index.html
Apache License 2.0
280 stars 60 forks source link

Cfd dem restart files #1338

Closed OGaboriault closed 3 weeks ago

OGaboriault commented 3 weeks ago

Description

Since the implementation of the double restarts in the dem solver, checkpoint files generated from the dem solver were not longer compatible from the get-go with the CFD-DEM solvers (lethe-fluid-vans and lethe-fluid-particles) since the prefix changed.

Solution

The CFD-DEM solvers now read the ".checkpoint_controller" file to check which version of checkpoint files should be read.

Testing

Every CFD-DEM application tests were updated with the new file names. ( I made sure to rename the file in my IDE so that git keeps track of the change, aka no deleted and new files)

Documentation

N/A

Miscellaneous (will be removed when merged)

Double restarts shouldn't affect this change.

Checklist (will be removed when merged)

See this page for more information about the pull request process.

Code related list:

Pull request related list: