[soln-plugin-integrate]

Integrate quantities over the compuational domain. Parameterised with:

  1. nsteps — calculate the integral every nsteps time steps:

    int

  2. file — output file path; should the file already exist it will be appended to:

    string

  3. header — if to output a header row or not:

    boolean

  4. quad-deg — degree of quadrature rule (optional):

    int

  5. quad-pts-{etype} — name of quadrature rule (optional):

    string

  6. norm — sets the degree and calculates an \(L_p\) norm,

    otherwise standard integration is performed:

    float | inf | none

  7. region — region to integrate, specified as either the entire domain using * or a combination of the geometric shapes specified in Regions:

    * | shape(args, ...)

  8. int-name — expression to integrate, written as a function of the primitive variables and gradients thereof, the physical coordinates [x, y, [z]] and/or the physical time [t]; multiple expressions, each with their own name, may be specified:

    string

Example:

[soln-plugin-integrate]
nsteps = 50
file = integral.csv
header = true
quad-deg = 9
vor1 = (grad_w_y - grad_v_z)
vor2 = (grad_u_z - grad_w_x)
vor3 = (grad_v_x - grad_u_y)

int-E = rho*(u*u + v*v + w*w)
int-enst = rho*(%(vor1)s*%(vor1)s + %(vor2)s*%(vor2)s + %(vor3)s*%(vor3)s)