functionObjects::ddt: New functionObject which calculates and writes the Eulerian time derivative of a field

Based on patch contributed by Tobias Holzmann
Resolves feature-request https://bugs.openfoam.org/view.php?id=2525
This commit is contained in:
Henry Weller
2017-11-05 10:58:07 +00:00
parent 1da9266df3
commit c2835a450b
5 changed files with 271 additions and 0 deletions

View File

@ -0,0 +1,21 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Web: www.OpenFOAM.org
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Calculates the Eulerian time derivative of a field.
\*---------------------------------------------------------------------------*/
type ddt;
libs ("libfieldFunctionObjects.so");
field <fieldName>;
executeControl writeTime;
writeControl writeTime;
// ************************************************************************* //