|
[Sponsors] |
November 23, 2017, 17:31 |
simpleFoam - MRF - Wind Turbine Blade
|
#1 |
Senior Member
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16 |
Hi all,
After much time, I decided to appeal for some help so many thanks in advance. Physical problem: Flow around wind turbine blade. Modelling 1/3 of the geometry and using periodic boundaries 120 degrees apart (rotational). Approach: There's an inlet and an outlet (obviously) and the sides are set to periodic boundaries. There is a rotating region (where the blade and the hub are) and a non-rotating (or stationary if you will) area. I hope the attached pictures will help you form a better picture of the topology. I have highlighted the regions with different colours. Red are the periodic boundaries that are stationary. Orange are the periodic boundaries that are rotating. I've also posted two pictures where the rotating and stationary volumes are highlighted. Maybe I should also mention that all the periodic boundaries are point-to-point matched. Maybe I should mention that I used Pointwise for the mesh and in particular the mesh created in one of Pointwise's webinars (http://www.pointwise.com/videos/HybridMeshing/). Obviously I changed the solver to OpenFOAM. I created two volume conditions; one is the rotational bit and the other is the stationary (please see the attached pics again). I set the option as volumeToCell and I also set Pointwise up to export the cellZones. So far so good, the mesh was exported and I set up the OpenFOAM directories (I did checkMesh -constant -allGeometry -allTopology and also renumberMesh -overwrite , so we're ok with this). I will give you all the relevant files to help you see what's going on but I must tell you that I have changed the constant/polyMesh/boundary for the periodic boundaries and set up the MRFProperties dictionary in the constant folder. The simulation starts but it diverges straight away. The problem, as you may imagine, is that I have no idea why. Could it be the boundary conditions? Could it be the way I have set up the periodic boundaries? Something in the fvSolution or fvSchemes? Is it something I'm missing completely? I would really appreciate any help you have give! Many thanks, Lefteris PS In case it's helpful/useful I'm running OpenFOAM on the bash for Ubuntu on Windows. I have 2 processors, 6 physical cores each (24 logical in total) and enough memory so hardware-wise I'm ok. decomposePar (scotch, 8 domains) mpirun -np 8 simpleFoam -parallel > log are the commands I've used.
__________________
Lefteris |
|
November 24, 2017, 03:09 |
|
#2 |
Member
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 34
Rep Power: 18 |
Have you checked dimensions of a computational domain? The forces are too high.
|
|
November 25, 2017, 09:15 |
|
#3 | |
Senior Member
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16 |
Quote:
The forces are too high because the velocities and pressures go crazy even in the first iteration (see for example the residual for Ux, Uy, Uz). Any ideas?
__________________
Lefteris |
||
November 26, 2017, 16:47 |
|
#4 |
Senior Member
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16 |
New information.
I added a line specifying the rotationAngle in the constant/polyMesh/boundary for the cyclicAMI patches. When I decomposed the case this time, I get warnings similar to the ones in this post cyclicAMI crashes in parallel when processor has faces for only on AMI patch about non consistent patch areas (even though my boundaries are point-to-point matched. The weights though are almost perfect. I don't understand what I'm missing so any help would be highly appreciated.
__________________
Lefteris Last edited by wyldckat; January 1, 2018 at 17:53. Reason: Repaired link |
|
November 27, 2017, 04:29 |
|
#5 | |
Member
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 34
Rep Power: 18 |
It's too hard to give you the right advice. I can give you only a few recommendations.
If you are using simpleFoam, you can use ambient pressure 0. For U, k, omega or epsilon is better to use inletOutlet boundary condition on outlet and far-field I'm not sure and I don't know how is defined MRF cell zone. I expected that nonrotating patches are not stat_left or stat_right. Nonrotating patches should be eg. nonrotating walls. Quote:
|
||
November 27, 2017, 05:56 |
|
#6 | |
Senior Member
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 341
Rep Power: 16 |
Quote:
Hi Vojtech, thanks for taking the time to reply. I did change the outlet (and farfield) to inletOutlet yesterday at some point. The numbers changed but the behaviour was the same. Silly residuals and the continuity one was something to the power +35 in the 3rd iteration already so something is fundamentally wrong in my setup I suppose. I wonder whether it is what you just said about the non-rotating patches. If it's any help, I followed the example given in this video on youtube from Pointwise and Applied CCM: https://www.youtube.com/watch?v=7grE62n5t4g (minute 27:00 onwards for the OF setup) but I might as well improvise at this point.
__________________
Lefteris |
||
January 1, 2018, 17:58 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Got your PM, and although I'm a bit late on this, I believe that the only way to properly help with this is if the instructions here: How to give enough info to get help - are followed.
Even if you cannot share the mesh of the geometry itself, it's fairly simple: remove the blade geometry from within the mesh and leave only the rest of the mesh and case-setup. This way it's easier for anyone to take a proper look at the mesh within the case and try to diagnose what's wrong with the mesh in the AMI patches.
__________________
|
|
June 2, 2021, 20:06 |
|
#8 |
New Member
Edgar Alejandro Martínez Ojeda
Join Date: Jul 2019
Posts: 20
Rep Power: 7 |
Shouldn't you assign the AMI boundaries to one processor? You're running the case in parallel, right?
|
|
Tags |
mrf simplefoam, pointwise, wind turbine blade |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Thrust Force calculation on Wind turbine blade | vd93 | OpenFOAM Post-Processing | 2 | February 6, 2022 23:35 |
wind turbine wake issue | vagge | OpenFOAM Running, Solving & CFD | 6 | October 11, 2016 08:45 |
Simulation of Flow Across Wind Turbine using MRF | endar | ANSYS | 1 | May 20, 2013 20:04 |
Verifying results for a wind turbine blade simulation in ANSYS CFX | Joystix | CFX | 3 | April 27, 2012 18:52 |
Calculating lift force of a wind turbine blade problem | LittleBart | CFX | 4 | June 29, 2011 03:33 |