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

LiftDrag Utility for Compressible Flow Fields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 11, 2008, 01:55
Default Hello, has anyone have a modif
  #1
Member
 
Shaun Darmody
Join Date: Mar 2009
Posts: 36
Rep Power: 17
shaun is on a distinguished road
Hello, has anyone have a modified liftDrag utility for use with the compressible flow solvers such as rhopSonicFoam?

I note that the incompressible version uses nu and not mu. My C++ is not up to scratch. Any assistance would be appreciated.

Thanks

Shaun.D
shaun is offline   Reply With Quote

Old   January 14, 2008, 08:24
Default Hello Shaun, Yes, I have mo
  #2
New Member
 
Ivan Bychkov
Join Date: Mar 2009
Location: Moscow, Russia
Posts: 7
Rep Power: 17
bychkov is on a distinguished road
Hello Shaun,

Yes, I have modified liftDrag.

An enhanced version of liftDrag has the next features:
- support incompressible and compressible solvers (Euler equations, laminar, turbulent);
- user can specify drag force direction and reference values;
- forces and moments (not coefficients) printed when the option dimensioned is specified.

You can download it from this:
http://mmpp.110mb.com/OpenFOAM/liftDragTool.tar.gz

Be careful the new version overwrite old liftDrag files.

I also want to upload it to svn. Does anyone known Do I need registration on svn to upload files?

Ivan
bychkov is offline   Reply With Quote

Old   January 14, 2008, 22:53
Default Hello Ivan, Thanks for repl
  #3
Member
 
Shaun Darmody
Join Date: Mar 2009
Posts: 36
Rep Power: 17
shaun is on a distinguished road
Hello Ivan,

Thanks for replying and thank you for the updated tool.

I am not sure about the registration process.

Regards

Shaun.D
shaun is offline   Reply With Quote

Old   March 25, 2008, 13:25
Default Hi Ivan, thanks for sharing
  #4
New Member
 
Laurence Griffiths
Join Date: Mar 2009
Location: Bristol, UK
Posts: 18
Rep Power: 17
lgriffiths is on a distinguished road
Hi Ivan,

thanks for sharing the updated liftdrag tool.

I was just wondering what you've taken as the moment origin?

thanks,
Laurence
lgriffiths is offline   Reply With Quote

Old   March 25, 2008, 16:34
Default Hello Laurence, The moment
  #5
New Member
 
Ivan Bychkov
Join Date: Mar 2009
Location: Moscow, Russia
Posts: 7
Rep Power: 17
bychkov is on a distinguished road
Hello Laurence,

The moment origin is the origin of the coordinate system. The same as in earlier liftDrag.

I also found that reference density, velocity and others reference values can be computed incorrectly for compressible flow. So you can use the option -dimensionless or manually set reference values for compressible flow.

Ivan
bychkov is offline   Reply With Quote

Old   April 18, 2008, 02:34
Default Hi Ivan, I'm a newbie at wr
  #6
New Member
 
Simon Vun
Join Date: Mar 2009
Posts: 3
Rep Power: 17
simvun is on a distinguished road
Hi Ivan,

I'm a newbie at writing C++ code so forgive me if this is an obvious question but I was looking through the liftDrag utility you modified and was wondering how the "dragCoefficient" variable in incompressible.H finds the turbulent drag coefficient in liftDrag.H in the src/... folder. Why don't we have to change the "dragCoefficent" in the incompressible.H file to "turbDragCoefficient" to get the drag coefficient that includes turbulent effects?

Thanks,

Simon.
simvun is offline   Reply With Quote

Old   July 15, 2008, 12:24
Default Hey, I was stumbling over t
  #7
axl
New Member
 
aXeL
Join Date: Mar 2009
Posts: 3
Rep Power: 17
axl is on a distinguished road
Hey,

I was stumbling over the same thing. Any clues yet? I'm sure the turbLift/DragCoefficient function is never called...
I'll try fixing it, but don't know if I'll succeed.

My problem is that I have no idea how to find out which turbulence model is used, which is needed for the turbLiftCoefficient function as the first argument:
const autoPtr<turbulencemodel>& turbulence

And if you want to make this a smooth function, you have to find out automatically in advance whether it's a turbulent or laminar simulation, and which model is used.

Cheers,

Axel
axl is offline   Reply With Quote

Old   July 16, 2008, 08:53
Default Looking at the latest 1.5 rele
  #8
New Member
 
Gregor Veble
Join Date: Mar 2009
Posts: 11
Rep Power: 17
gregorv is on a distinguished road
Looking at the latest 1.5 release, it seems the liftDrag utility is obsolete now, there is a new force postprocessor in 1.5. I haven't tested it yet but it might be just what you are looking for.
gregorv is offline   Reply With Quote

Old   July 17, 2008, 00:18
Default I followed the instructions fo
  #9
New Member
 
Anant Grewal
Join Date: Mar 2009
Posts: 9
Rep Power: 17
agrewal is on a distinguished road
I followed the instructions for installing the enhanced version of the liftDrag utility on OF 1.4.1-dev, but got the following error when running wmake:

liftDrag.C: In function 'int main(int, char**)':
liftDrag.C:89: error: no match for 'operator=' in 'nu = transportProperties.Foam::IOdictionary::<anonymous >.Foam::dictionary::lookup(((c onst Foam::word&)(& Foam::word(((const char*)"nu")))))'

Any ideas?
agrewal is offline   Reply With Quote

Old   September 16, 2008, 06:36
Default Hello Friends http://www.cfd-o
  #10
Member
 
Mahendra
Join Date: Mar 2009
Location: Pune, Maharashtra, India
Posts: 65
Rep Power: 17
mahendra is on a distinguished road
Hello Friends

I am curious to know how to get the values of lift and drag coefficients from log file for flow across a cylinder case in OpenFOam 1.5?
mahendra 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
TurbForce term in liftDrag utility kumar2 OpenFOAM Post-Processing 11 August 11, 2010 04:52
LiftDrag utility question msrinath80 OpenFOAM Running, Solving & CFD 8 March 28, 2008 11:55
LiftDrag utility from v12 to v141 cfdphil OpenFOAM Running, Solving & CFD 2 December 5, 2007 06:49
LiftDrag utility not available guggi OpenFOAM Running, Solving & CFD 1 August 2, 2006 13:36
Problems with convergence and initial guessed fields in compressible steady flows Pedro Gil Main CFD Forum 3 April 25, 2000 12:34


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