Skip to content

v2.0.1

Latest

Choose a tag to compare

@EdSantilli EdSantilli released this 28 Jun 13:41
· 16 commits to master since this release
966ce93

New features & improvements

  • Added Buoyant Vortex Ring example code.
  • Added the ability to tag for refinement using the eddy viscosity. Use the amr.eddyNuTagTol parameter in your input file, and specify a threshold on each level. For example, in a three-level simulation, amr.eddyNuTagTol = 1.0e-4 1.0e-6 will tag level 0 cells wherever $\nu_{T} > 1.0\times 10^{-4}$. It will then tag level 1 cells wherever $\nu_{T} > 1.0\times 10^{-6}$.
  • Added a new IO::readASCII function that can very easily read space-separated columns of data into separate vectors. This simplifies reading pre-prepared initial data.
  • Using the incremental version of the projected ARK method by default, which changes how the RK stage variables are constructed. In most cases, this reduces the work needed by the velocity projector and increases the accuracy of the time-stepped state variables. These improvements are slight, but come at no additional efficiency cost.

Code changes

  • The eddy viscosity is no longer considered a state variable. If you need it, you can re-calculate it cheaply on-the-fly using the AMRNSLevel::computeEddyNu function.
  • The postTimeStep function has been replaced with postLevelTimeStep and postCompositeTimeStep, giving finer-grained control over when post-processing code should be executed.
  • Code has been cleaned up to remove compilation warnings.
  • Added function/class descriptions that play nice with VSCode and Doxygen.
  • Added some bounds-checking for --Debug mode.

Bug fixes

  • Fixed a bug in FiniteDiff::computeSlopes to ensure the stencil does not extend past the source data.
  • Fixed a bug where a simulation running in AMR mode with a background stratification and implicit scalar diffusion would set improper coarse-fine interface BCs. This bug did not affect anyone who wasn't using all three of these features at once. If you were affected, you'd have known very quickly into your run.
  • We removed the automatic domain decomposition suggestions. Sometimes, the suggestions were more confusing than helpful.

Full Changelog: v2.0.0...v2.0.1