|
[Sponsors] |
[swak4Foam] MRF vs rotatingWallBC vs funkySetFields |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 7, 2014, 08:18 |
MRF vs rotatingWallBC vs funkySetFields
|
#1 |
New Member
Nolwenn
Join Date: Apr 2010
Posts: 26
Rep Power: 16 |
Hello everybody,
I try to simulate a rotor and i am very surprised by the results I obtain. The rotor is rotating at 1.125 rad/s in a flow of 2.25m/s. I run one case using MRF, here is the fvOptions file Code:
FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // MRF1 { type MRFSource; active true; selectionMode cellZone; cellZone rotationCellZone; MRFSourceCoeffs { origin (0 0 0); axis (1 0 0); omega -1.125; //rad/s } } Code:
FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #include "include/initialConditions" dimensions [0 1 -1 0 0 0 0]; internalField uniform $flowVelocity; boundaryField { //- Set patchGroups for constraint patches //- Set patchGroups for constraint patches #include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes" #include "include/lowerAndUpperPatches" #include "include/fixedInlet" outlet { type inletOutlet; inletValue uniform (0 0 0); value $internalField; } "rot.*" { type rotatingWallVelocity; origin (0 0 0); axis (1 0 0); omega -1.125; // rad/s value uniform (0 0 0); } fixeGroup { type fixedValue; value uniform (0 0 0); } } Code:
FoamFile { version 2.0; format ascii; class dictionary; object funkySetBoundaryDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // velocities1 { field U; expressions ( { target value; patchName rot_rotor; expression "-1.125*vector(0,-pos().z,pos().y)"; } ); } velocities2 { field U; expressions ( { target value; patchName rot_blade; expression "-1.125*vector(0,-pos().z,pos().y)"; } ); } Mx moment is very small for rotatingWallBC and MRF Mx moment is very high for funkySet The velocity around the blades is very different from one case to the other (see rotatingWallBC.jpg, MRFrame.jpg and funkyBC.jpg). By plotting streams around the rotor I see almost no rotation of the fluid with MRF and rotatingWallBC, and very important rotation with funkyBC. If someone can help me to understand why my results are so different, it would be very appreciated ! Nolwenn |
|
September 7, 2014, 08:35 |
|
#2 |
Member
Julian Langowski
Join Date: May 2011
Location: Bremen, Germany
Posts: 91
Rep Power: 15 |
Hi Nolwenn,
just a guess: You are comparing absolute and relative velocity fields. Search the Urel function on this forum and convert absolute intro relative velocity fields an than compare again. Best regards Julian
__________________
πάντα ῥεῖ - Heraclitus |
|
September 7, 2014, 10:27 |
|
#3 |
New Member
Nolwenn
Join Date: Apr 2010
Posts: 26
Rep Power: 16 |
Hello Julian,
Thanks for your answer, I try to calculate Urel (not working for the moment ...) and I will check this. Nolwenn |
|
September 7, 2014, 14:31 |
|
#4 |
New Member
Nolwenn
Join Date: Apr 2010
Posts: 26
Rep Power: 16 |
Not better ...
Considering Urel or U, the velocity field obtain with MRF is totally different from the one obtain with funkyBC |
|
September 8, 2014, 15:35 |
|
#5 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
The sign for omega is correct?
Anyway: why would you not want to use the rotational-BC? It is built for this purpose.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
September 8, 2014, 16:17 |
|
#6 |
New Member
Nolwenn
Join Date: Apr 2010
Posts: 26
Rep Power: 16 |
Hello Bernhard,
Thank you for your answer, the sign of omega is correct (even worst results if I change the sign !). I tried to use rotational BC (rotatingWallBC) but I am very surprised by the results, the moment around the axis is a lot of smaller than what I expect and the flow around the blades don't seem to rotate (on the picture only the front part and the blades have a rotating BC, the cylinder and the back are fixed). Nolwenn |
|
September 9, 2014, 11:44 |
|
#7 |
Member
Join Date: Jun 2012
Posts: 76
Rep Power: 14 |
When I do MRF-Simulations, I only use fixedValue boundary conditions since the MRF-Zone already handles the rotational velocity of the walls within the rotating zone (except for those defined as nonRotatingPatches).
|
|
September 9, 2014, 15:33 |
|
#8 |
New Member
Nolwenn
Join Date: Apr 2010
Posts: 26
Rep Power: 16 |
Hello maHein,
I also use fixedValue boundary conditions when I run MRF simulation. RotatingWallBC is used in another case to compare. But in both cases the resultant moment is to small. |
|
Tags |
funkysetfields, mrf, rotatingwallbc |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MRF and topoSet problem- Rotating volume doesn't rotate | andreas0209@hotmail.com | OpenFOAM | 1 | April 4, 2021 14:35 |
Possibly serious MRF implementation issue | Ali Blues | OpenFOAM Bugs | 1 | December 16, 2015 07:04 |
MRF setup | andreas0209@hotmail.com | OpenFOAM Pre-Processing | 1 | August 6, 2015 10:36 |
Particle tracking in and after MRF | andreas0209@hotmail.com | OpenFOAM Running, Solving & CFD | 1 | July 6, 2015 09:36 |
Should an empty MRF zone really induce this much cross-flow? | sylvester | OpenFOAM | 5 | November 18, 2010 04:48 |