|
[Sponsors] |
September 10, 2021, 08:13 |
Rotating wheel
|
#1 |
New Member
costantino barro
Join Date: Sep 2021
Posts: 16
Rep Power: 5 |
Hello I'm pretty new to this forum and also to Openfoam ambient. I'm having some doubts on my simulation maybe someone can give some advise.
I'm trying to replicate the case of a rotating wheel that I did on fluent. My strategy was using the "rotatingWallVelocity" and apply a rotating speed to the surface of the wheel and solving the case with simpleFoam. Despite obtaining some coherent results for the cd (meaning that I obtain the draft coefficient of a rotating wheel and not a stationary one), visual results in paraView do not agree with the previous conclusion. As can be seen in the image I obtain a pressure field which is the one of a stationary wheel, because as far as I know a rotating wheel aligned with the flow should generate a Magnus effect (higher pressure on top and lower on bottom). Also the streamlines doesn't seem to be affected that much by the rotation. Here's the initial condition on velocity: internalField uniform $flowVelocity; boundaryField { //- Set patchGroups for constraint patches #includeEtc "caseDicts/setConstraintTypes" #include "include/fixedInlet" outlet { type inletOutlet; inletValue uniform (0 0 0); value $internalField; } lowerWall { type fixedValue; value $internalField; } lenticolare { type rotatingWallVelocity; origin (0 0 0); axis (0 1 0); omega -38.32; // Rotational speed in radians/sec } #include "include/frontBackUpperPatches" } |
|
September 11, 2021, 07:55 |
|
#2 |
Member
Join Date: Feb 2020
Posts: 79
Rep Power: 6 |
Hi,
Why don t use MRF ? As far as I understand your case MRF seems to be exactly what you need. |
|
September 11, 2021, 08:28 |
|
#3 |
New Member
costantino barro
Join Date: Sep 2021
Posts: 16
Rep Power: 5 |
Yes, right now I'm trying to do it also with a MRF (as I did in fluent), which however seems to be quit complicated. The fact is that the full model is going to include also other parts which I think are going to interfere with the MRF volume and thus complicate even more the implementation of this system. So I was wondering what's is happening with the rotatingWallVelocity, and if it's correct to use it in this case
|
|
September 13, 2021, 10:04 |
|
#4 |
New Member
costantino barro
Join Date: Sep 2021
Posts: 16
Rep Power: 5 |
I was able to run a simulation with a MRF.
Results in paraview are still kinda strange so I was wondering if it's a problem deriving from the fact that paraView is not that good in showing results or if I'm setting the wrong boundary condition. The problem is that the flow outside and inside the MRF looks likes that are not connected. Anyway I'll post a few picture and the file of the boundary conditions |
|
September 13, 2021, 12:13 |
|
#5 |
Member
Join Date: Feb 2020
Posts: 79
Rep Power: 6 |
Hi,
Could you share your constant directory too ? |
|
September 14, 2021, 02:30 |
|
#6 |
Member
Join Date: Feb 2020
Posts: 79
Rep Power: 6 |
First feedback,
You should add the AMI name interface in the file MRFProperties: nonRotatingPatches (XXXX); Do you mesh whith SnappyHexMesh ? I think that you defined your AMI with the wall of your object. That could not work. You have to create a cylinder around your rotating object. You should refer to the Propeller OpenFOAM tutorial to understand the preparation of AMI. |
|
September 14, 2021, 08:09 |
|
#7 |
New Member
costantino barro
Join Date: Sep 2021
Posts: 16
Rep Power: 5 |
So in the nonRotatingPatches I should put the MRFstarorcyl, MFRrotorcyl, MRFstatorback, MRFrotorback ecc...?
I've used salome to build two separated mesh, one for the inside volume(the rotating one) and one for the external field (stationary) and then I created the AMI with the MRFstarorcyl, MFRrotorcyl, MRFstatorback, MRFrotorback ecc... surfaces |
|
September 14, 2021, 13:04 |
|
#8 |
Member
Join Date: Feb 2020
Posts: 79
Rep Power: 6 |
Ok but you have to use the function createPatch before starting your calculation.
Have a look at this video : https://www.youtube.com/watch?v=8JDK...annel=OlivierB And all is in the propeller tutorial but the MRFproperties. I will try to find 5min to check your files. |
|
Tags |
rotation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] OpenFOAM 4.0 compilation - "cannot open source file..." | edsw | OpenFOAM Installation | 3 | August 30, 2016 18:14 |
Simulation of rotating undershot water wheel | Miss Anna | CFX | 25 | June 8, 2016 00:24 |
rotation velocity of a water wheel and rotating domain | Ema40 | FLUENT | 0 | November 12, 2014 11:50 |
Output Pressure reults for rotating wheel. HELP | Krishan Parmar | Phoenics | 0 | July 2, 2007 15:11 |
Rotating bike wheel | E. Turner | FLUENT | 3 | October 1, 2006 01:44 |