MRF tutorials: Change rotor velocity boundary condition to fixedValue

Using the noSlip boundary condition for rotating wall in an MRF region
interferes with post-processing by resetting the wall velocity to 0 rather than
preserving the value set by the MRF zone.
This commit is contained in:
Henry Weller
2018-01-05 15:13:46 +00:00
parent 9f54506fbf
commit 8b44230384
17 changed files with 45 additions and 18 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -43,7 +43,6 @@ Usage
See also See also
Foam::fixedValueFvPatchVectorField Foam::fixedValueFvPatchVectorField
Foam::MRFZone
SourceFiles SourceFiles
movingWallVelocityFvPatchVectorField.C movingWallVelocityFvPatchVectorField.C

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator

View File

@ -25,20 +25,24 @@ boundaryField
{ {
type noSlip; type noSlip;
} }
inlet inlet
{ {
type fixedValue; type fixedValue;
value uniform (0 0 5); value uniform (0 0 5);
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue uniform (0 0 0); inletValue uniform (0 0 0);
value uniform (0 0 0); value uniform (0 0 0);
} }
blades blades
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
} }

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator

View File

@ -23,16 +23,20 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator
{ {
type noSlip; type noSlip;
} }
front front
{ {
type empty; type empty;
} }
back back
{ {
type empty; type empty;

View File

@ -23,16 +23,20 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator
{ {
type noSlip; type noSlip;
} }
front front
{ {
type empty; type empty;
} }
back back
{ {
type empty; type empty;

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator

View File

@ -23,16 +23,20 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator
{ {
type noSlip; type noSlip;
} }
front front
{ {
type empty; type empty;
} }
back back
{ {
type empty; type empty;

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator

View File

@ -22,7 +22,8 @@ boundaryField
{ {
rotor rotor
{ {
type noSlip; type fixedValue;
value uniform (0 0 0);
} }
stator stator