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

liftDir and dragDir vectors in a moving zone

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2021, 02:33
Default liftDir and dragDir vectors in a moving zone
  #1
Senior Member
 
NotOverUnderated's Avatar
 
ONESP-RO
Join Date: Feb 2021
Location: Somwhere on Planet Earth
Posts: 127
Rep Power: 5
NotOverUnderated is on a distinguished road
Hi,

I am running a sliding mesh simulation (fixed region + rotating cellZone) and I would like to use forceCoeffs function object to compute the lift and drag coefficients for some airfoils that are located in the rotating cellZone.

I have a question about the vectors liftDir and dragDir: Are they specified in a fixed frame of reference or they are relative to the cellZone on which the airfoil is located? in other words, does OpenFOAM automatically take care of rotating these two vectors (liftDir and dragDir) accordingly when the cellZone (in which the airfoil is located) is rotating?

I appreciate your help.

Best regards
NotOverUnderated is offline   Reply With Quote

Old   February 17, 2021, 17:26
Default Update on the thread
  #2
Senior Member
 
NotOverUnderated's Avatar
 
ONESP-RO
Join Date: Feb 2021
Location: Somwhere on Planet Earth
Posts: 127
Rep Power: 5
NotOverUnderated is on a distinguished road
I've found that OpenFOAM v7 does this automatically* (when it computes the lift and drag it actually uses the tangential and the normal forces but this is not the case for OpenFOAM v6 or OpenFOAM v2006.

I don't know how this feature was introduced in OpenFOAM v7 without any details (I can't find anything about it) or even how to disable that to restore the old behaviour (similar to OF6, etc.).


* I've compared the output of forces & forceCoeffs function objects of both OF6 and OF7 and I've parsed the contents manually using a python script to make this conclusion.

Could someone please explain or give a link to explain when OF7 implemented this feature?

Thanks
NotOverUnderated is offline   Reply With Quote

Old   November 3, 2023, 18:40
Default
  #3
New Member
 
Jonathan
Join Date: Sep 2021
Posts: 1
Rep Power: 0
jeast is on a distinguished road
I am having the same issue, but specifically with moment calculations from the forces function object. What is the best way to report forces and moments on a patch that moves (and rotates) as part of a cellZone? Has anyone else experienced this issue?

Last edited by jeast; November 6, 2023 at 11:02.
jeast is offline   Reply With Quote

Reply

Tags
drag, forcecoeffs, forces, functionobjects, openfoam


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
OF4.0: liftDir and dragDir SIZE (not direction) of vector changes forceCoeffs results MBttR OpenFOAM Running, Solving & CFD 3 July 18, 2016 08:25
liftDir and dragDir for multi elemet airfoils s.m OpenFOAM Running, Solving & CFD 1 May 15, 2015 15:28


All times are GMT -4. The time now is 13:19.