General framework

Kinetic employs the finite volume method (FVM) for modeling and simulation. The general solution algorithm can be conclude as follows, where both explicit and implicit methods are implemented.

The high-level solver function is

KitBase.solve!Function
solve!(KS, ctr, face, simTime; steady)

Solution algorithm for 1D structured and unstructured mesh

Arguments

  • KS: SolverSet
  • ctr: vector of cell-centered solution
  • face: vector of cell interface
  • simTime: simulation time
source
solve!(KS, ctr, a1face, a2face, simTime; steady)

Solution algorithm for 2D structured mesh

Arguments

  • KS: SolverSet
  • ctr: matrix of cell-centered solution
  • a1face: matrix of cell interface perpendicular to x axis
  • a2face: matrix of cell interface perpendicular to y axis
  • simTime: simulation time
source

The detailed solution procedures can be concluded as follows

  • pre-process
  • timestep calculation
  • reconstruction
  • evolution
  • update
  • post-process