CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

simpleFoam - MRF - Wind Turbine Blade

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2017, 16:31
Default simpleFoam - MRF - Wind Turbine Blade
  #1
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 337
Rep Power: 15
Aeronautics El. K. is on a distinguished road
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.
Attached Images
File Type: jpg geometry.jpg (182.9 KB, 145 views)
File Type: jpg topology.jpg (45.1 KB, 112 views)
File Type: jpg rotating.jpg (162.4 KB, 98 views)
File Type: jpg stationary.jpg (121.5 KB, 83 views)
Attached Files
File Type: zip files.zip (12.4 KB, 52 views)
__________________
Lefteris

Aeronautics El. K. is offline   Reply With Quote

Old   November 24, 2017, 02:09
Default
  #2
Member
 
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 34
Rep Power: 18
betakv is on a distinguished road
Have you checked dimensions of a computational domain? The forces are too high.
betakv is offline   Reply With Quote

Old   November 25, 2017, 08:15
Default
  #3
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 337
Rep Power: 15
Aeronautics El. K. is on a distinguished road
Quote:
Originally Posted by betakv View Post
Have you checked dimensions of a computational domain? The forces are too high.
Yeap, the dimensions are correct - I've triple checked and I've also run the same mesh on fluent with no problems and decent results (qualitatively at this point).

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

Aeronautics El. K. is offline   Reply With Quote

Old   November 26, 2017, 15:47
Default
  #4
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 337
Rep Power: 15
Aeronautics El. K. is on a distinguished road
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 16:53. Reason: Repaired link
Aeronautics El. K. is offline   Reply With Quote

Old   November 27, 2017, 03:29
Default
  #5
Member
 
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 34
Rep Power: 18
betakv is on a distinguished road
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:
Originally Posted by Aeronautics El. K. View Post
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
HTML Code:
https://www.cfd-online.com/Forums/openfoam-solving/132701-cyclicami-crashes-parallel-when-processor-has-faces-only-ami-patch.html
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.
betakv is offline   Reply With Quote

Old   November 27, 2017, 04:56
Default
  #6
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 337
Rep Power: 15
Aeronautics El. K. is on a distinguished road
Quote:
Originally Posted by betakv View Post
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.

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

Aeronautics El. K. is offline   Reply With Quote

Old   January 1, 2018, 16:58
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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.
__________________
wyldckat is offline   Reply With Quote

Old   June 2, 2021, 19:06
Default
  #8
New Member
 
Edgar Alejandro Martínez Ojeda
Join Date: Jul 2019
Posts: 20
Rep Power: 6
Edgar Alejandro Martínez is on a distinguished road
Shouldn't you assign the AMI boundaries to one processor? You're running the case in parallel, right?
Edgar Alejandro Martínez is offline   Reply With Quote

Reply

Tags
mrf simplefoam, pointwise, wind turbine blade


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thrust Force calculation on Wind turbine blade vd93 OpenFOAM Post-Processing 2 February 6, 2022 22:35
wind turbine wake issue vagge OpenFOAM Running, Solving & CFD 6 October 11, 2016 07:45
Simulation of Flow Across Wind Turbine using MRF endar ANSYS 1 May 20, 2013 19:04
Verifying results for a wind turbine blade simulation in ANSYS CFX Joystix CFX 3 April 27, 2012 17:52
Calculating lift force of a wind turbine blade problem LittleBart CFX 4 June 29, 2011 02:33


All times are GMT -4. The time now is 20:32.