Releases: geo-fluid-dynamics/sapphire
Releases · geo-fluid-dynamics/sapphire
Sapphire package used in 'Mixed finite elements for convection-coupled phase-change in enthalpy form: Open software verified and applied to 2D benchmarks'
Sapphire package used in 'Mixed finite elements for convection-coupled phase-change in enthalpy form: Open software verified and applied to 2D benchmarks'
Latest
The used versions of Firedrake and its dependencies are documented at http://doi.org/10.5281/zenodo.3890252
Temporary pre-release to test Zenodo integration
Zenodo's GitHub integration apparently recently changed to not be triggered by pre-releases. This is a quick test to make sure I observe the same behavior.
Improvements to MMS verification, simulation constructors, and convection-coupled phase-change class
Improvements to MMS verification, simulation constructors, and convection-coupled phase-change class
Pre-release
Pre-release
Simulation class:
- Simplified interface for simulation parameters. Before, there was a pattern where many parameters were set as constructor arguments while others were assigned after instantiating the
Simulation
. Parameters can still be assigned after instantiation, but the default pattern now is to include all parameters also as arguments to the constructor. This cleans up a lot of the test/user code. - Handle solver parameters in the same way as other parameters, starting as an argument to init. The
solve
method now uses the parameters stored by theSimulation
object.
MMS module:
- Verify accuracy of each solution subspace separately; remove mixed error norm.
- Report mesh cell count and function space DOF count.
- Updated many verification tests to check H1 norm instead of L2 norm, e.g. for velocity and temperature in the Navier-Stokes-Boussinesq system.
- Simplified interface for passing simulation keyword arguments, no longer distinguishing between constructor arguments and parameters to be assigned after instantiation.
Convection-coupled phase-change simulation class:
- Make the element more general, e.g. allowing easy use of Taylor-Hood style elements.
- Update verification tests to use H1 norm for velocity and temperature.
- Report mean pressure and velocity divergence.
- Use more descriptive names for liquid smoothing parameter and pressure penalty factor.
- Removed some artifacts from the validation tests, making them much more readable.
- Plot the porosity using the temperature's
function_space
. Before, when using higher order elements for the temperature, the porosity was being interpolated onto piece-wise linears before being plotted.
Convection-coupled phase-change verification and validation
General
- Use Firedrake built-in error norm function for convergence verification
- Add default element degree to most simulations
- Update PETSc options for latest Firedrake
Convection-coupled phase-change
- Disable rtol convergence in PETSc SNES line search, which was leading to a growing absolute residual during time dependent simulations
- Perform verification with parameters relevant to water freezing
- Verify density ratio
- Set default space and time accuracy to second order
Convection-coupled phase-change verification and preliminary validation
- Verified second and third order accuracy in space and time
- Strong results validating the model for melting octadecane and freezing water
SIAM-CSE 2019
v0.3.0a0 Validate enthalpy-porosity for octadecane melting, extend with phase-…