erdc / proteus

A computational methods and simulation toolkit
http://proteustoolkit.org
MIT License
88 stars 56 forks source link

SWFlow update for solvers and tests #1197

Closed ejtovar closed 4 years ago

ejtovar commented 4 years ago

Mandatory Checklist

Please ensure that the following criteria are met:

As a general rule of thumb, try to follow PEP8 guidelines.

Description

This is a first part update regarding the SWFlow app. In this PR, I have updated several things regarding the SWFlow solvers and tests. Specifically:

  1. I modified the solvers for SWEs and Green-Naghdi to incluce multiple FCT/convex limiting iterations
  2. Changed the way the entropy viscosity coefficients are defined
  3. Cleaned up the solvers by removing unused functions, etc
  4. Modified the python model files and the NonlinearSolvers.py file to include fixes for parallel runs
  5. Modified the SWFlow tests to include the option of having unstructured meshes and some minor clean up

The planned future changes are as follows:

SWFlow update 2

  1. Fix parallel issues. Current state of this issue is that the parallel runs are not perfect, ie the solution for np > 1 is not "exactly" the same for np = 1. The deviations at the moment are very tiny, but still there.

  2. I will clean up the gauge capabilities to include the free surface values and velocity (not the momentum) values depending on what the user chooses. Currently, this can only be done in a "hacky" way.

SWFlow update 3

  1. Add the capability to use wave tools for SWFlows