From deecbf9e065c1f744ce842e7b994ef76bf51f21f Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Wed, 28 Sep 2016 19:42:07 +0100 Subject: [PATCH] fvOptions: Corrected docs: 'fieldName' -> 'fields' Resolves bug-report http://bugs.openfoam.org/view.php?id=2273 --- .../sources/derived/actuationDiskSource/actuationDiskSource.H | 2 +- src/fvOptions/sources/derived/buoyancyEnergy/buoyancyEnergy.H | 2 +- src/fvOptions/sources/derived/buoyancyForce/buoyancyForce.H | 2 +- .../sources/derived/meanVelocityForce/meanVelocityForce.H | 2 +- .../patchMeanVelocityForce/patchMeanVelocityForce.H | 2 +- src/fvOptions/sources/derived/rotorDiskSource/rotorDiskSource.H | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/fvOptions/sources/derived/actuationDiskSource/actuationDiskSource.H b/src/fvOptions/sources/derived/actuationDiskSource/actuationDiskSource.H index 0411e6e81..66a673ed3 100644 --- a/src/fvOptions/sources/derived/actuationDiskSource/actuationDiskSource.H +++ b/src/fvOptions/sources/derived/actuationDiskSource/actuationDiskSource.H @@ -49,7 +49,7 @@ Usage \verbatim actuationDiskSourceCoeffs { - fieldNames (U); // names of fields to apply source + fields (U); // names of fields to apply source diskDir (-1 0 0); // disk direction Cp 0.1; // power coefficient Ct 0.5; // thrust coefficient diff --git a/src/fvOptions/sources/derived/buoyancyEnergy/buoyancyEnergy.H b/src/fvOptions/sources/derived/buoyancyEnergy/buoyancyEnergy.H index e12083448..6f6a79584 100644 --- a/src/fvOptions/sources/derived/buoyancyEnergy/buoyancyEnergy.H +++ b/src/fvOptions/sources/derived/buoyancyEnergy/buoyancyEnergy.H @@ -33,7 +33,7 @@ Usage \verbatim buoyancyEnergyCoeffs { - fieldNames (h); // Name of energy field + fields (h); // Name of energy field } \endverbatim diff --git a/src/fvOptions/sources/derived/buoyancyForce/buoyancyForce.H b/src/fvOptions/sources/derived/buoyancyForce/buoyancyForce.H index 691938f2d..c6203e055 100644 --- a/src/fvOptions/sources/derived/buoyancyForce/buoyancyForce.H +++ b/src/fvOptions/sources/derived/buoyancyForce/buoyancyForce.H @@ -33,7 +33,7 @@ Usage \verbatim buoyancyForceCoeffs { - fieldNames (U); // Name of velocity field + fields (U); // Name of velocity field } \endverbatim diff --git a/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H b/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H index c05b8d43e..fc12440bc 100644 --- a/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H +++ b/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H @@ -36,7 +36,7 @@ Usage meanVelocityForceCoeffs { selectionMode all; // Apply force to all cells - fieldNames (U); // Name of velocity field + fields (U); // Name of velocity field Ubar (10.0 0 0); // Desired mean velocity relaxation 0.2; // Optional relaxation factor } diff --git a/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H b/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H index 8cac6a950..7413cd497 100644 --- a/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H +++ b/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H @@ -36,7 +36,7 @@ Usage patchMeanVelocityForceCoeffs { selectionMode all; // Apply force to all cells - fieldNames (U); // Name of velocity field + fields (U); // Name of velocity field patch inlet; // Name of the patch Ubar (10.0 0 0); // Desired mean velocity relaxation 0.2; // Optional relaxation factor diff --git a/src/fvOptions/sources/derived/rotorDiskSource/rotorDiskSource.H b/src/fvOptions/sources/derived/rotorDiskSource/rotorDiskSource.H index 1135d5c61..d928e2f2c 100644 --- a/src/fvOptions/sources/derived/rotorDiskSource/rotorDiskSource.H +++ b/src/fvOptions/sources/derived/rotorDiskSource/rotorDiskSource.H @@ -35,7 +35,7 @@ Usage \verbatim rotorDiskSourceCoeffs { - fieldNames (U); // names of fields on which to apply source + fields (U); // names of fields on which to apply source nBlades 3; // number of blades tipEffect 0.96; // normalised radius above which lift = 0