Skip to content

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'

Temporary pre-release to test Zenodo integration

12 Jun 12:55
Compare
Choose a tag to compare

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

21 Jan 11:53
5148078
Compare
Choose a tag to compare

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 the Simulation 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

19 Jun 18:36
cc49844
Compare
Choose a tag to compare

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

15 May 20:36
f778a70
Compare
Choose a tag to compare
  • Verified second and third order accuracy in space and time
  • Strong results validating the model for melting octadecane and freezing water

SIAM-CSE 2019

27 Feb 19:32
cc94d0c
Compare
Choose a tag to compare
SIAM-CSE 2019 Pre-release
Pre-release
v0.3.0a0

Validate enthalpy-porosity for octadecane melting, extend with phase-…