|
[Sponsors] |
April 28, 2006, 04:02 |
Hi Frank,
I needed the mean
|
#21 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Hi Frank,
I needed the mean fixed pressure boundary condition for some other stuff... so I've now implemented one. For the case I'm looking at it behaves pretty well. If you'd like to re-visit your vortex shedding simulations with the new outlet b.c. please give me a shout and I'll pass over the code. It bothers me a little bit that OpenFOAM did not perform the way I've expected (pride is a sin, I know) :-) and this may bring some closure to the problem... Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
April 28, 2006, 04:24 |
That would be very nice. I wil
|
#22 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
That would be very nice. I will just see how the new BC behaves for my problem.
While finishing a paper on previous work, I am still working on these cylinder flows using OpenFOAM, I varied grid and time step size. My main issues at this time are: * I did not succeed in getting a grid independent solution. * I like to verify if the bahaviour of the solver is indeed second order accurate (in space and time). Possibly the new BC could shed some light on these problems. As soon as I get some fruitfull results I will post them on a website. Regards, Frank
__________________
Frank Bos |
|
April 28, 2006, 15:42 |
Hi Frank,
Can you please po
|
#23 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Hi Frank,
Can you please post the source code you used to obtain the frequency of the flow. I'm trying a similar problem using Openfoam and since I'm not too good in C++, I'm looking for some help. I don't know exactly how to compile and use the probe, so some instructions should be useful. Thanks very much for your help! |
|
May 1, 2006, 04:40 |
Just after the runTime.write()
|
#24 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
Just after the runTime.write() call in the icoFoam.C file, I put the following header file
#include "computeForces.H" This file includes some code to calculate the lift, drag and moment and output the values to screen. This code is taken from the liftDrag utility. When the lift/drag are written to screen, the foamLog routine is used to write the lift/drag histories to files. Finally these files are read into matlab for post-processing, the frequencies is only one thing I am looking at. If you still got some difficulties with this, I could send you the source code by mail, if you want. Regards, Frank
__________________
Frank Bos |
|
May 1, 2006, 14:35 |
Fantastic! Thanks a lot. I'll
|
#25 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Fantastic! Thanks a lot. I'll give it a try as soon as I can.
|
|
May 2, 2006, 08:51 |
Hi Frank,
So all I need to
|
#26 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Hi Frank,
So all I need to do is edit icoFoam.C in the ~/OpenFOAM/OpenFOAM-1.3/applications/solvers/incompressible/icoFoam directory and include a reference to the computeForces header file? Do I have to recompile OpenFoam to get this to work? Also, how does the foamLog routine work? Do I have to run it after the case has converged or before? Thanks for your help! |
|
May 2, 2006, 10:00 |
You have to create your own cr
|
#27 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
You have to create your own createForces.H file. I simply took some stuff from the liftDrag utility, the part where the force are being calculated.
Furthermore I would create your own solver, for example: icoMySolverFoam in your user application directory. Try not to change the original code, instead create your own solvers, utilities and libraries. As a start copy and rename icoFoam to you user's application directory. Then try the stuff I mentioned before involving createForces.H etc... Frank
__________________
Frank Bos |
|
July 5, 2006, 16:07 |
Does anybody know why the Cour
|
#28 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Does anybody know why the Courant number is still significant. Isn't Crank Nicholson supposed to be an implicit scheme which is unconditionally stable (as Frank mentioned)?
|
|
March 21, 2008, 22:36 |
I think both stability and acc
|
#29 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
I think both stability and accuracy should be noticed.
Though I am little confused why Frank said, "The max courant number which corresponds to the chosen time step (0.02) was between 1.7 and 1.9. I also performed computations with half of the time step (0.01) such that the max Courant = 0.8 - 0.9. In that case the vortex wake was also similar." It should be a little little different in someplaces that may have not been awared of. Daniel
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
March 21, 2008, 22:58 |
What?
|
#30 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
What?
|
|
September 16, 2008, 10:08 |
Hello Frank and hello Foamers,
|
#31 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Hello Frank and hello Foamers,
I have trouble in the flow over circular cylinder case, could you give me some advice? 1. May I know which reference are you reading for Re=150? 2. How did you set the inlet velocity profile? 3. Are you sure that the ddtSchemes with "CrankNicholson 0.5" is good for the case? I have compared the following a) CrankNicholson 0.5; b) CrankNicholson 0.9; c) Euler; d) backward; and I found: 1) Courant number does not change the solution significantly as you said; 2) The Cd values of CrankNicholson are higher than those of Euler and backward, I don't know which are more accurate? Not only that, my geometry is exactly as the one in Ferziger's book, see the pic below, but my average Cd (3.415) is higher than the book's (3.228)! What might go wrong? Thanks... \Daniel
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
September 16, 2008, 10:41 |
Sorry for that, Chrome is stil
|
#34 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Sorry for that, Chrome is still green, I have to use IE. \Daniel
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
October 27, 2008, 06:24 |
Hi all,
I'm currently using
|
#35 |
New Member
Sébastien Bocquet
Join Date: Mar 2009
Posts: 21
Rep Power: 17 |
Hi all,
I'm currently using openFoam on the flow around a cylinder in order to better understand the code parameters and post-processing functionalities. I see that some of you are using a lift/drag utility. That would be a very useful tool which doesn't seem to be implemented in the version I have (1.4). Could someone tell me where I could find an updated version of the lift/drag utility? (and possibly a short guide or description of what it does). Thanks very much for your help Seb |
|
December 16, 2008, 10:13 |
Thanks Daniel,
I am testing
|
#37 |
New Member
Sébastien Bocquet
Join Date: Mar 2009
Posts: 21
Rep Power: 17 |
Thanks Daniel,
I am testing a similar case,flow around a cylinder at Re=100. I'm using icoFoam, and I'm looking at the drag coefficient and vortex shedding frequency. After checking that the results are time step independent, I varied the divScheme. I found that the best results (providing my experimental results that I'm using as a reference are accurate enough) are obtained using Gauss Linear, and not the upwind scheme. For the moment, I only tried these two, and I just find a bit strange that Gauss Linear gives me better results. Is this scheme centered? Thanks for any comment you could make on this, it will be helpful. |
|
December 16, 2008, 10:33 |
Hi Sebastien,
Try also the
|
#38 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
Hi Sebastien,
Try also the vanLeerV scheme for convection. This gives nice vortex preserving results for me. Frank
__________________
Frank Bos |
|
December 16, 2008, 11:05 |
Hi Frank!
I want to do a si
|
#39 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Hi Frank!
I want to do a simulation of FSI of a bridge deck (A very high Re), could you recommend me some papers on FSI. {I have paid a lot of focuses on DES and DDES tech for the last several months, but I'm afraid they are still unaffordable. } Thank you very much. Daniel
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
December 16, 2008, 11:16 |
Hi Sebastien,
Gauss Linear i
|
#40 |
Member
Pierre Le Fur
Join Date: Mar 2009
Location: UK
Posts: 60
Rep Power: 17 |
Hi Sebastien,
Gauss Linear is simply central differencing. If it does not result in any numerical instability for you then why not keep it. 2nd order is all good. Frank recommends vanLeer, which simply blends with upwind, for stability's sake, in which case limitedlinearV is not bad either... Ciao Pierre |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
drag coefficient of cylinder using fluent | john lynam | Main CFD Forum | 2 | February 15, 2010 10:16 |
RE:Change roughness of a cylinder in FLUENT!please | Ken | FLUENT | 1 | April 3, 2007 04:12 |
Fluent-Flow over heated cylinder | Khyati | Main CFD Forum | 0 | July 12, 2006 01:17 |
cylinder grid for fluent | Wolfgang | Main CFD Forum | 1 | October 21, 2002 13:11 |
FLUENT-FLOW AROUND A CIRCULAR CYLINDER! | Paul Bennett | Main CFD Forum | 8 | March 22, 1999 14:00 |