Skip to content

Scalars Block

This block is used to introduce user-defined scalar variables, that are transported in the simulation.

Warning

This block is optional.


Flags Overview

Note

All flags and their description are included in the table below. A detailed description of which values are possible for each input flag follows.

Flag Required Description
NSCAL No Number of transported scalars
NAMES(i) No Name of the ith transported scalar
IS_REACTIVE(i) No Include reactive source term intransport equation for ith transported scalar

Flags Details

NSCAL

The number of user-defined scalar variables.

  • Type: positive integer
  • Values: Number of additionally transported scalars.
  • Default: 0

NAMES(i)

Name for the scalar variable durin post-processing step.

  • Type: string
  • Values: Whatever suits your simulation.
  • Default: 'NotDef'

IS_REACTIVE(i)

Boolean choice for reactive or non-reactive transport equation.

  • Type: boolean
  • Values: Whatever suits your simulation.
  • Default: .false.

Example:

&SCALARS
    NSCAL = 0
    NAMES(1) = 'MixFrac'
    IS_REACTIVE(1) = .false.
\