From 9794225b4978056292055c37f55229dd78faddbe Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Thu, 2 Jul 2015 09:46:56 +0100 Subject: [PATCH] meanVelocityForce: Added selectionMode to example dict --- .../derived/meanVelocityForce/meanVelocityForce.H | 8 ++++---- .../patchMeanVelocityForce/patchMeanVelocityForce.H | 9 +++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H b/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H index a9cbfa725..72809cfc0 100644 --- a/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H +++ b/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H @@ -35,13 +35,13 @@ Description \verbatim meanVelocityForceCoeffs { - fieldNames (U); // Name of velocity field - Ubar (10.0 0 0); // Desired mean velocity - relaxation 0.2; // Optional relaxation factor + selectionMode all; // Apply force to all cells + fieldNames (U); // Name of velocity field + Ubar (10.0 0 0); // Desired mean velocity + relaxation 0.2; // Optional relaxation factor } \endverbatim - SourceFiles meanVelocityForce.C diff --git a/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H b/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H index b261b4d9f..359ebe6cf 100644 --- a/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H +++ b/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H @@ -35,10 +35,11 @@ Description \verbatim patchMeanVelocityForceCoeffs { - fieldNames (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 + selectionMode all; // Apply force to all cells + fieldNames (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 } \endverbatim