From 67c780a87873bf85d9a1c3dbe1ca5c1bea35c829 Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> 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 a9cbfa725ad..72809cfc09f 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 b261b4d9f92..359ebe6cf31 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 -- GitLab