From 1ddaec3fc0ff86ccc98cf2077026a56abdeb13b6 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Fri, 13 Jan 2017 14:14:06 +0000 Subject: [PATCH] CodedSource: Corrected documentation Patch contributed by zhulianhua Resolves bug-report https://bugs.openfoam.org/view.php?id=2427 --- src/fvOptions/sources/general/codedSource/CodedSource.H | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/fvOptions/sources/general/codedSource/CodedSource.H b/src/fvOptions/sources/general/codedSource/CodedSource.H index 2e742bc005..7a04a03293 100644 --- a/src/fvOptions/sources/general/codedSource/CodedSource.H +++ b/src/fvOptions/sources/general/codedSource/CodedSource.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -57,12 +57,15 @@ Usage { type scalarCodedSource; + active yes; + + name sourceTime; + scalarCodedSourceCoeffs { selectionMode all; fields (h); - name sourceTime; codeInclude #{ @@ -99,7 +102,7 @@ Usage sourceTimeCoeffs { - // Dummy entry + $scalarCodedSourceCoeffs; } } \endverbatim