|
[Sponsors] |
LiftDrag Utility for Compressible Flow Fields |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Shaun Darmody
Join Date: Mar 2009
Posts: 36
Rep Power: 16 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Ivan Bychkov
Join Date: Mar 2009
Location: Moscow, Russia
Posts: 7
Rep Power: 16 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Shaun Darmody
Join Date: Mar 2009
Posts: 36
Rep Power: 16 ![]() |
Hello Ivan,
Thanks for replying and thank you for the updated tool. I am not sure about the registration process. Regards Shaun.D |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Laurence Griffiths
Join Date: Mar 2009
Location: Bristol, UK
Posts: 18
Rep Power: 16 ![]() |
Hi Ivan,
thanks for sharing the updated liftdrag tool. I was just wondering what you've taken as the moment origin? thanks, Laurence |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Ivan Bychkov
Join Date: Mar 2009
Location: Moscow, Russia
Posts: 7
Rep Power: 16 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Simon Vun
Join Date: Mar 2009
Posts: 3
Rep Power: 16 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
aXeL
Join Date: Mar 2009
Posts: 3
Rep Power: 16 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Gregor Veble
Join Date: Mar 2009
Posts: 11
Rep Power: 16 ![]() |
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.
|
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Anant Grewal
Join Date: Mar 2009
Posts: 9
Rep Power: 16 ![]() |
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? |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Member
Mahendra
Join Date: Mar 2009
Location: Pune, Maharashtra, India
Posts: 65
Rep Power: 16 ![]() |
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? |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
TurbForce term in liftDrag utility | kumar2 | OpenFOAM Post-Processing | 11 | August 11, 2010 03:52 |
LiftDrag utility question | msrinath80 | OpenFOAM Running, Solving & CFD | 8 | March 28, 2008 10:55 |
LiftDrag utility from v12 to v141 | cfdphil | OpenFOAM Running, Solving & CFD | 2 | December 5, 2007 05:49 |
LiftDrag utility not available | guggi | OpenFOAM Running, Solving & CFD | 1 | August 2, 2006 12:36 |
Problems with convergence and initial guessed fields in compressible steady flows | Pedro Gil | Main CFD Forum | 3 | April 25, 2000 11:34 |