22 lines
759 B
C++
22 lines
759 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration |
|
|
\\ / A nd | Web: www.OpenFOAM.com
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Calculates the Mach Number field from the velocity field.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type MachNo;
|
|
libs ("libfieldFunctionObjects.so");
|
|
|
|
field U;
|
|
|
|
executeControl writeTime;
|
|
writeControl writeTime;
|
|
|
|
// ************************************************************************* //
|