src/PDE/CompFlow/Physics/CG.h file

Physics configurations for compressible single-material flow using continuous Galerkin.

Contents

This file configures all Physics policy classes for compressible single-material flow implementied using continuous Galerkin discretization, defined in PDE/CompFlow/CGCompFlow.h.

General requirements on CompFlow Physics policy classes:

  • Must define the static function type(), returning the enum value of the policy option. Example:

    static ctr::PhysicsType type() noexcept {
      return ctr::PhysicsType::EULER;
    }

    which returns the enum value of the option from the underlying option class, collecting all possible options for Physics policies.

  • Must define the static function viscousRhs(), adding the viscous terms to the right hand side.
  • Must define the static function viscous_dt(), computing the minumum time step size based on the viscous term.
  • Must define the static function conductRhs(), adding the heat conduction terms to the right hand side.
  • Must define the static function conduct_dt(), computing the minumum time step size based on the heat diffusion term.

Namespaces

namespace inciter
Inciter declarations and definitions.