Co

From OpenFOAMWiki
Revision as of 19:00, 25 October 2012 by Fcollonv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1 Name

Co - Calculates and writes the Co number as a volScalarField obtained from field phi.

Valid versions: OF Version 21.png

2 Synopsis

Co [OPTIONS]

3 Description

Calculates and writes the Courant number, Co, as a volScalarField obtained from field phi. It is working with compressible and incompressible flows.

The -noWrite option just outputs the maximum values for every time steps without writing the field.

-noWrite

Suppress writing results

-noZero

Exclude the 0 directory from the times list

-time RANGES

Select time steps. RANGES follows the time selection rules

-latestTime

Apply only on the latest time available

-constant

Include the constant directory in the times list

-parallel

Run the utility in parallel

-roots "(DIR1 [...DIRN])"

Directories through which the data are distributed

-region NAME

Specify a mesh region by its NAME

-case DIR

Execute the command on the case directory DIR. If not provided, use the current directory

-noFlow

suppress creating flow models (execFlowFunctionObjects only)

-noFunctionObjects

Skip the execution of the functionObjects

-help

Display the help and exit

4 Background

The formula used is:

Co = 0.5 \Delta t \frac{\sum_f \| U \| \Delta S}{\Delta V}