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
267 stars 59 forks source link

Fix viscous initial condition for transient problems in MF #1134

Closed lpsaavedra closed 3 months ago

lpsaavedra commented 3 months ago

Description of the problem

The viscous initial condition was already implemented but we were not able to use it for transient simulations.

Description of the solution

This was fixed by setting the assembly method to steady before solving the non linear system with the specified viscosity. This was already done for the ramp viscous initial condition.

How Has This Been Tested?

Run a test on my machine and works just as expected.