E3SM-Project / PAM

BSD 2-Clause "Simplified" License
4 stars 2 forks source link

[PAM-C] Pressure-based semi-implicit compressible solver #146

Closed mwarusz closed 9 months ago

mwarusz commented 9 months ago

This PR adds two new linear systems that enable semi-implicit time integration of compressible equations in 3d. Both solvers are pressure-based. One of them treats gravity waves implicitly. The old velocity-based solver that works only in 2D is retained. The solver can be now configured at runtime and defaults to the pressure solver without implicit treatment of gravity waves.

The extruded model is getting too big and needs to be split into multiple files. To avoid annoying git conflicts I think this change should be done once this and the hyperdiffusion PR are merged.