Skip to content

FourierFlows v0.1.0

Compare
Choose a tag to compare
@navidcy navidcy released this 22 Apr 14:01
dfc1060

Adds OneDGrid. The module KuramotoSivashinsky solves the Kuramoto-Sivashinsky equation on a one-dimensional periodic domain.

Adds GPU integration (for 2D grids) using CuArrays.jl:

Abstract types with prefix Cu are handled by the GPU (CuTwoDGrid, CuEquation, CuProblem, CuState, CuDualState). Some scripts are found at examples/cudaexamples/.

Fixes a bug in Forward Euler TimeStepper.

The way ForwardEulerTimeStepper was constructed was aliasing ts.N with eq.LC. This caused eq.LC to change every time the time-stepper called calcN!. (PR #45)

Resolves issue regarding closing the energy budgets with stochastic forcing in, e.g., twodturb:

The work done by the forcing is computed now using the Stratonovich interpretation which is valid both for stochastic as well as for deterministic forcing (see injection function within twodturb.jl). For that, prevsolwas included in vars to save the sol at the previous time-step. (PR #49)

Drops TracerPatchEqn module.

Replaces TwoModeBoussinesq module with VerticallyFourierBoussinesq and VerticallyCosineBoussinesq modules.