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

Fix time frequency output in transient simulation control #1371

Closed lpsaavedra closed 1 week ago

lpsaavedra commented 1 week ago

Description

The last output time variable was not being initialized correctly and affected the output of Paraview files when using time control and time frequency.

Solution

The variable is initialized to zero in the constructor.

Testing

All the tests should pass and the Rayleigh Benard Convection example works now with output time frequency (FYI @OresteMarquis).

Documentation

No documentation needs to be updated.

Checklist (will be removed when merged)

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

Code related list:

Pull request related list: