22 lines
763 B
C++
22 lines
763 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 divergence of a field.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type div;
|
|
libs ("libfieldFunctionObjects.so");
|
|
|
|
field <fieldName>;
|
|
|
|
executeControl writeTime;
|
|
writeControl writeTime;
|
|
|
|
// ************************************************************************* //
|