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

Torque in a sliding interface mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2009, 08:53
Default Hi foamers i would like to
  #1
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
Hi foamers

i would like to measure the torque in a certain patch which belongs to a rotating region. I simulate a turbulent flow (with a standard kepsilon model) around some rotating airfoils with a sliding interface method. How can i measure the torque?

thanks is advance
antonio_ing is offline   Reply With Quote

Old   February 12, 2009, 10:58
Default I have seen a thread that gave
  #2
Member
 
Maruthamuthu Venkatraman
Join Date: Mar 2009
Location: Norway
Posts: 80
Rep Power: 17
maruthamuthu_venkatraman is on a distinguished road
I have seen a thread that gave a small routine you can add it on Control file. It write both Force and moments , you should specify the moment centre.

Today i am outof office, If u feel difficult in searching the thread then i will post it on monday.
maruthamuthu_venkatraman is offline   Reply With Quote

Old   February 12, 2009, 11:09
Default I guess this is that thread!
  #3
Senior Member
 
maddalena's Avatar
 
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23
maddalena will become famous soon enough
I guess this is that thread!
maddalena is offline   Reply With Quote

Old   February 23, 2009, 04:19
Default Hi foamers i would like to
  #4
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
Hi foamers

i would like to measure the torque in a certain patch which belongs to a rotating region. I simulate a turbulent flow (with a standard kepsilon model) around some rotating airfoils with a sliding interface method. How can i measure the torque?

thanks is advance
antonio_ing is offline   Reply With Quote

Old   February 23, 2009, 04:33
Default Hello Antonio, HAve a look
  #5
Member
 
Maruthamuthu Venkatraman
Join Date: Mar 2009
Location: Norway
Posts: 80
Rep Power: 17
maruthamuthu_venkatraman is on a distinguished road
Hello Antonio,

HAve a look at it. Write them at the end of control file . Your forces and moments will be written in seperate folder. Remember to specify the axis of rotation of your rotor.

Hope this is what your are asking for ... Alsom set the patch name as you specified in the boundary files... for eg: Wall.

Good luck

functions // this one!
(
forces
{
type forces;
functionObjectLibs ("libforces.so"); //Lib to load
patches (building); // change to your patch name
rhoInf 1.225; //Reference density for fluid
CofR (0 0 0); //Origin for moment calculations
}
forceCoeffs
{
type forceCoeffs;
functionObjectLibs ("libforces.so");
patches (building); //change to your patch name
rhoInf 1.225;
CofR (0 0 0);
liftDir (0 1 0);
dragDir (1 0 0);
pitchAxis (0 0 0);
magUInf 11.2;
lRef 45;
Aref 45;
}
);
maruthamuthu_venkatraman is offline   Reply With Quote

Old   February 23, 2009, 04:36
Default thx i was unsure if this co
  #6
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
thx

i was unsure if this code will work on rotating patches. I'll tell you soon... :-)
antonio_ing is offline   Reply With Quote

Old   February 23, 2009, 05:13
Default actually there is something st
  #7
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
actually there is something strange since the torque is lower than expected and, also, this is a 2d geometry so the only non zero torque component should be Mz but in this case all the three torque components are comparable.
antonio_ing is offline   Reply With Quote

Old   February 23, 2009, 05:25
Default Just to make sure check the co
  #8
Member
 
Maruthamuthu Venkatraman
Join Date: Mar 2009
Location: Norway
Posts: 80
Rep Power: 17
maruthamuthu_venkatraman is on a distinguished road
Just to make sure check the coordinates for the rotation axis. I used the above code for simple fixed cylinders and gave me reliable coeffcients. I hope it will work in the dev version also.

you can plot the coeffcients cd and cl over time and check for periodicity. Check your contours aswell. If all are correct then the above code need some more functional input for torque...

This is just a suggestion.
maruthamuthu_venkatraman is offline   Reply With Quote

Old   February 23, 2009, 05:58
Default looking at the forces, the cen
  #9
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17
antonio_ing is on a distinguished road
looking at the forces, the centre of rotation is correct (0 0 0) and i can obtain the same result with the forceCoeffs. but the problem remains... :-(
antonio_ing 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
Mesh motion with sliding interface problem sebastian_neumann OpenFOAM Running, Solving & CFD 0 December 16, 2008 10:26
sliding mesh interface question Kyle FLUENT 0 February 26, 2008 10:36
Location of interface for sliding mesh Gopal FLUENT 1 July 14, 2005 05:30
error in defining periodic sliding mesh interface Flyeden FLUENT 1 November 11, 2003 23:33
Sliding Mesh Interface Error Greg Watkins FLUENT 3 April 17, 2001 11:44


All times are GMT -4. The time now is 08:39.