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

Plot the moment around a specified axis

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By aleolsi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2018, 11:23
Default Plot the moment around a specified axis
  #1
New Member
 
Join Date: Mar 2018
Posts: 2
Rep Power: 0
regentropfen is on a distinguished road
Hi!

We are working on the wind turbine tutorial from CFDsupport (https://www.cfdsupport.com/download-...d-turbine.html).
In order to analyse the power of the wind turbine, we want to analyse the moment around the rotation axis of the turbine which is (0.993572 0 0.113203). However, forces doesn't seem to work in an appropriate way - it gives us components around x, y and z in the moment.dat instead of the moment around the desired axis.
As we did not find documentation about the coordinateRotation with type axisRotation that is used here, we are a little bit lost... We found something with pitchAxis but do not know how to use it appropriately.
I am sorry if this is a stupid question, we are new to openfoam...
Any help would be appreciated!

turbine-forces-and-moments
{
type forces;
functionObjectLibs ("libforces.so");
writeControl timeStep;
writeInterval 1;
log true;
patches (
blade1-pressureSide1
blade1-pressureSide2
blade1-suctionSide1
blade1-suctionSide2
blade1-cap
blade2-pressureSide1
blade2-pressureSide2
blade2-suctionSide1
blade2-suctionSide2
blade2-cap
blade3-pressureSide1
blade3-pressureSide2
blade3-suctionSide1
blade3-suctionSide2
blade3-cap
);
pName p;
UName U;
rho rhoInf;
rhoInf 1.2;
origin (1.510229221 0 1.672068885);
coordinateRotation
{
type axesRotation;
e1 (0.993572 0 0.113203);
e2 (0 1 0);
}
}
regentropfen is offline   Reply With Quote

Old   March 22, 2018, 03:47
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 647
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

I think it should be possible, but it depends on what version you are using. Check source documentation (online):

version 1712, look at the local forces/moments.

version 5, seems similar but also look at the local forces/moments.

Hope this helps,
Tom
tomf is offline   Reply With Quote

Old   March 23, 2018, 04:46
Default
  #3
New Member
 
Join Date: Mar 2018
Posts: 2
Rep Power: 0
regentropfen is on a distinguished road
Yes, it helped, I think we have the right moment now. Thanks a lot!
regentropfen is offline   Reply With Quote

Old   November 26, 2018, 10:48
Default
  #4
New Member
 
Alexandre Oliveira
Join Date: Oct 2018
Posts: 1
Rep Power: 0
aleolsi is on a distinguished road
How did you get the right results? Can you post the function with the right axis definition?
berne likes this.
aleolsi is offline   Reply With Quote

Reply

Tags
axis, forces, post processing


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
[swak4Foam] Foam warnings - related to swak4Foam Salam-H OpenFOAM Community Contributions 20 August 2, 2015 16:40
New sixDoFRigidBody BC working with laplaceFaceDecomposition Ya_Squall2010 OpenFOAM Running, Solving & CFD 13 April 17, 2013 03:04
Writing Moment coefficient for different walls at different rotational axis harishameed33 Main CFD Forum 0 April 27, 2010 13:17
Moment about the longitudenal axis of the aircraft momahadi30 FLUENT 0 January 29, 2010 07:16
UDF extern variable - mean time moment coefficient enry Fluent UDF and Scheme Programming 0 November 14, 2009 07:56


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