23 lines
802 B
C++
23 lines
802 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 12
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Calculates the Courant Number field from the flux field.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type CourantNo;
|
|
libs ("libfieldFunctionObjects.so");
|
|
|
|
phi phi;
|
|
field $phi;
|
|
|
|
executeControl writeTime;
|
|
writeControl writeTime;
|
|
|
|
// ************************************************************************* //
|