Parameter Settings

A struct set <: AbstractSetup defines the general setup of a simulation.

KitBase.SetupType
struct Setup{S, I<:Integer, E<:(AbstractVector), F<:Real, G<:Real} <: AbstractSetup

Computational setup

Fields

  • matter: Default: gas

  • case: Default: dev

  • space: Default: 1d0f0v

  • flux: Default: kfvs

  • collision: Default: bgk

  • nSpecies: Default: 1

  • interpOrder: Default: 2

  • limiter: Default: vanleer

  • boundary: Default: ["fix", "fix"]

  • cfl: Default: 0.5

  • maxTime: Default: 0.1

  • hasForce: Default: false

source

It contains

  • matter: fluid substance
  • case: simulation case name
  • space: $n_1 d n_2 f n_3 v$, which denotes the physical dimensionality, numbers of particle distribution functions and velocity dimensionality
  • flux: numerical flux function name
  • collision: collision operator of kinetic equation
  • nSpecies: number of species
  • interpOrder: order of accuracy for reconstruction
  • limiter: limiter function name
  • boundary: boundary condition
  • cfl: Courant-Friedrichs-Lewy number for determining time step
  • maxTime: maximum simulation time