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

Wind driven rotation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By linnemann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 22, 2011, 07:50
Default Wind driven rotation
  #1
New Member
 
Alistair Everett
Join Date: Aug 2011
Posts: 8
Rep Power: 15
Alistair is on a distinguished road
Hey everyone,

I am working towards simulating a turbine in 3D. I'm currently working with a test case in which I've defined a rotating cube in a flow to try and get all the boundary conditions etc working properly before I add in the turbine.

I'm using icoDyMFoam and mixerGgiFvMesh to rotate the cube at a given rpm in a given flow velocity and it all seems to be working fairly well. Ideally though I'd like to drive the rotation of the cube using only the flow velocity so that I can determine how the rotation of the turbine varies with wind speed.

Is it possible to do this with mixerGgiFvMesh? I can't see an obvious way of doing it without defining the rpm.

I have tried experimenting with sixDoFRigidBodyDisplacement and dynamicMotionSolverFvMesh with another test case and it seemed promising, but when I try and use it with this case I get the error:

Unknown patchField type sixDoFRigidBodyDisplacement for patch type wall

I'm guessing this means that dynamicMotionSolverFvMesh doesn't work with ggi? Is there a ggi version of this out there? If not can anyone suggest a way of doing this with ggi or should I go back and give it a try using sliding interfaces?

Any suggestions would be greatly appreciated!

Alistair
Alistair is offline   Reply With Quote

Old   August 25, 2011, 11:39
Default
  #2
New Member
 
Alistair Everett
Join Date: Aug 2011
Posts: 8
Rep Power: 15
Alistair is on a distinguished road
Has anyone got any ideas or experience of doing anything similar? I'm at a loss as to how to proceed, so it would be really useful if you could just give me a hint or point me in the right direction.

Thanks in advance,
Alistair
Alistair is offline   Reply With Quote

Old   August 25, 2011, 15:33
Default
  #3
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
Hi

Im gonna chime in on this.

Also doing some VAWT simulations myself using transientSimpleDyMFoam and mixerGgiFvMesh.

The approach I have used is similar to yours.

Consider these input.

1. The stuff you request is not available in the std OF package, you need something like the 6DoF but for cylindrical coordinates.

2. Consider the amount of time making this work contra doing this.
Simulate at different rpm's and see where your maximum torque occurs using the "force" monitors available. This can be a tiresome approach, but a little scripting and automation will let you calculate the points while you sleep.

3. Consider stability issues in the code making what you want.
If the pressure suddenly start to diverge just a little then the "turbine" will start spinning like crazy and you need to build some artificial resistance into the "turbine" to make it stable. It can have other stability issues but you get the idea.

Nonetheless it is a viable approach.

Watch the movies by this guy http://www.youtube.com/watch?v=YZUNRmwoijw (pretty impressive stuff) If I remember correctly he speaks of what you want in one of the movies, so maybe contact him and see if he would like to share.

Edit. Found it --->>> http://www.youtube.com/user/sjh7132#p/u/3/wjr7NUe5hfg

Hope this gets you further on your quest.

Best
bluebase likes this.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   August 25, 2011, 22:52
Default
  #4
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Hello,

You might be interested in the work of Louis Gagnon from Laval University.

Here is a few pointers:

http://www.openfoamworkshop.org/2009...gnon_paper.pdf

http://http://www.theses.ulaval.ca/2010/27288/27288.pdf

http://www.extend-project.de/openfoa...ty/188/profile

He used OpenFOAM and the GGI interface for his work.

Martin

Quote:
Originally Posted by Alistair View Post
Has anyone got any ideas or experience of doing anything similar? I'm at a loss as to how to proceed, so it would be really useful if you could just give me a hint or point me in the right direction.

Thanks in advance,
Alistair
mbeaudoin is offline   Reply With Quote

Old   August 26, 2011, 06:17
Default
  #5
New Member
 
Alistair Everett
Join Date: Aug 2011
Posts: 8
Rep Power: 15
Alistair is on a distinguished road
Niels and Martin,

Thanks very much, some interesting examples and that certainly gives me a clearer direction to head in. It should keep me busy for a while!

Thanks for your help, no doubt I'll be back with more questions as I progress!

Alistair
Alistair is offline   Reply With Quote

Old   August 27, 2011, 02:30
Default Vawt 3d
  #6
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
Hi foamers,
i simulated 2d VAWT successfully with OF (ggi method) and get the good result for mummentum as expected.
after that i decide to simulate it in 3d Geometry. so i create the 3d geometry and Mesh in Gambit and import it to OF, every thing is ok and i stop the run after 50 rotation degrees. when i see contours of velocity or pressure, every things is ok, but when i extract the mummentum, the result is very bad!!!??? why this happen???
for calculate the forces and mummentum for every blade i added this code in controlDict file :
forces_1
{
type forces;
functionObjectLibs ("libforces.so");
outputControl timeStep;
outputInterval 100;
patches (Blade1);
PName p;
Uname U;
log true;
rhoInf 1.2;
CofR (0 0 0);


can every one tell me what is the mistaken??

Tanx
______
Rasoul
desert_1250 is offline   Reply With Quote

Old   August 27, 2011, 14:11
Default
  #7
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
Hi

I do not think you made a mistake.

I just did something similar with a NACA0012 3bladed lift VAWT.

Simulated it in 2D and got reasonable (not expected) results and a max power output at TSR=2.6 which is in the expected range.

Going full 3D reveal some truly other results. Here I get max power output around TSR=1.0 which just isn't good enough.

I think there are some 3D effects on a lift based VAWT that's not described in any literature I have found. I can only find literature with 2D results and they always show reasonable results.

Looking at the power curves for the VAWT in 3D, the drag is simply too high compared to the lift.

So don't feel bad I just do not think lift based VAWT's is a good device for capturing wind. I would suggest going for a small HAWT that works in the area of wind intended.

I know that there are company's out there selling lift based VAWT's but I have never found any of them showing real life power output compared to the wind speed. So I must say I think these companies make a lot of money presenting '"theoretical" values that just isn't possible in real life.

This is not to dismiss the ideas of lift based VAWT's I have just not found any evidence that these devices produce anything near the values the analytical numbers suggest, even if I'm pessimistic with the efficiencies etc.

Hope this haven't killed your pursuit of making a wind turbine. Personally I will stay away from lift based VAWT's until I see some solid evidence (real life values), as I do not have the capacity to provide prototypes for this.

Best
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   August 27, 2011, 15:33
Default Result 2D & 3D
  #8
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
hi dear linnemann, i hope that you are well
the attachment files has shown my VAWT Results for 2D & 3D. in these figures i plotted power versus theta (rotation). Significant discrepancy has been illustrates between 2D & 3D. what is your idea a bout these results?!!

_______
Rasoul
Attached Images
File Type: jpg 2D-VAWT.jpg (74.3 KB, 171 views)
File Type: jpg 3D-VAWT.jpg (67.7 KB, 134 views)
desert_1250 is offline   Reply With Quote

Old   August 27, 2011, 15:51
Default
  #9
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
Hi

First of the theta scale on the x-axis is very different?

Second you should see some fluctuations similar to the 2D case, thats what I got anyway.

Have you checked the timestep and mesh scale?

Also please give the content (or attach them to the thread) of the BC, fvSchemes, fvSolution, controlDict and maybe the output of the checkMesh and the yPlusRAS command for the last timestep.

This will make it a lot easier for me and others to help you.

Best
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   August 28, 2011, 02:56
Default
  #10
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
Hi
yes i cheked time step so that the solution is converged.
how to determine an axis to calculate mumentun? in 2D case, the mummentum is calculated versus the point that define cofR(0 0 0) at the controlDict , but in 3D case ... in my 3D case the origin cordinate system is (0 0 0). i think that should be define an axis in 3D case. is it true??
the attachment file has contained BCs, fvShemes, fvSolotion, controlDict


_______
Rasoul
Attached Files
File Type: pdf info-3D.pdf (61.8 KB, 138 views)
desert_1250 is offline   Reply With Quote

Old   August 29, 2011, 02:50
Default
  #11
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
Hi

When you use the force output it calculates the Torque on all three axis so CofR is just to locate the center of the rotating object.

If you do not want the forces for each individual blade you can just add them together.

Code:
patches (Blade1 Blade2 Blade3);
I can see you only have a divScheme for U, which turbulence model are you using?
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   August 29, 2011, 03:48
Default
  #12
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
Hi
i did'nt consider any turbulency model at first. i am sure that turbulencey is very important in this problem. but now i wanna solve it without any turbulency.
in 2D case, i calculated the Torque for each blade and after that summation of them to find Power of VAWT. i wanna do it for 3D state so that can compare them.
BTW i edited controlDict to calculated the summation of torque and run it for some time step, but the summation of them is very low(
how to define cofR correctly so that set it at the center of the rotating object?
note: please zoom picture of the attachment file because of limited size, tnx

_______
Rasoul
Attached Images
File Type: bmp center of the rotation.bmp (94.4 KB, 177 views)
desert_1250 is offline   Reply With Quote

Old   August 29, 2011, 06:09
Default
  #13
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
If the rotating object rotates about the z-axis and the z-axis goes through the point (0 0 0) and has the vector (0 0 1) the CofR is (0 0 0) since the forces are calculated in all axis (x,y,z).

So if the rotating object still rotates around the z-axis with vector (0 0 1) but going through the point (10 0 0) then CofR would be (10 0 0)
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   August 29, 2011, 06:43
Default
  #14
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
my rotational axis goes through the point (0 0 0) and my rotational object rotates around z axis. i check it with mesher and paraview as attached in the last post now what is the mistaken


________
Rasoul
desert_1250 is offline   Reply With Quote

Old   August 29, 2011, 07:22
Default
  #15
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
Nothing related to how you specify the forces.

If there is an error it must be elsewhere.

Have you looked at the pressure/velocity contours at the mid plane (z-normal) between the 2D and the 3D case and see if they look similar?
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   August 30, 2011, 01:18
Default
  #16
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
yes linnemann, i get pressure/velocity contours at the mid plane (z-normal) for 2D & 3D case and see the results as expected, would you mind to send me your mail that send the results of them to you, tnx

________
Rasoul
desert_1250 is offline   Reply With Quote

Reply


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
Wind Turbine - Rotation of the Baldes moonomid CFX 32 March 18, 2016 20:34
Modeling wind driven rain and accumulation chinc Main CFD Forum 1 August 22, 2015 09:33
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 07:21
FSI - Wind Turbine AUN CFX 13 August 29, 2012 17:44
3D wind turbine modelling/boundary condition defn in rotation bakay FLUENT 9 September 14, 2011 06:32


All times are GMT -4. The time now is 01:45.