|
[Sponsors] |
how to accurately simulate flow around cylinder |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 18, 2014, 16:44 |
|
#81 |
Senior Member
|
Here are my results: http://matveichev.blogspot.fr/2014/0...ex-street.html
|
|
March 19, 2014, 06:24 |
|
#82 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 14 |
Dear Alexey,
many thanks for your post. All the best |
|
March 19, 2014, 06:59 |
|
#83 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 14 |
Dear Alexey,
I have one question please, what's your accurate result in terms of strouhal number? |
|
March 19, 2014, 14:30 |
|
#84 |
Senior Member
|
You're joking, right?
|
|
March 20, 2014, 05:55 |
|
#85 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 14 |
Sorry for that might be silly question, just I would like to know if you checked your convergence in terms of Strouhal number?
|
|
March 24, 2014, 03:46 |
|
#86 |
New Member
Wentao Zheng
Join Date: Nov 2013
Posts: 7
Rep Power: 13 |
hi, Maimouna, I'm new with CFD. And I have a question. What's the meaning of Aref and lRef? And how can I calculate them?
Thanks a lot. |
|
March 24, 2014, 04:17 |
|
#87 |
New Member
Wentao Zheng
Join Date: Nov 2013
Posts: 7
Rep Power: 13 |
I've found the explain of the Aref and lRef, thanks.
|
|
March 24, 2014, 05:37 |
|
#88 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 14 |
Hi. Sorry for late reply. Any question you welcome.
Best wishes |
|
March 26, 2014, 13:07 |
|
#89 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 14 |
Dear Alexey,
did you try free vibration of cylinder in flow in your case about flow past a circular cylinder? I'm doing that now, but I couldn't fix my problem yet. If you try it, I need your help please. Many thanks in advanced. |
|
May 8, 2014, 02:58 |
|
#90 |
New Member
Shuai Wang
Join Date: Mar 2014
Posts: 26
Rep Power: 12 |
Dear Maimouna, I want to simulate the flow around cylinder, and I do it followed step by step. I use openfoam 2.3.0 and the attached case, I excute it via "./Allprepare".however, when I excute "pimpleFoam",there is an error:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.0-f5222ca19ce6 Exec : pimpleFoam Date : May 08 2014 Time : 13:07:57 Host : "wangshuai-Lenovo-B460" PID : 6522 Case : /home/wangshuai/OpenFOAM/wangshuai-2.3.0/run/tutorials/incompressible/pimpleFoam/coarse nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 --> FOAM FATAL IO ERROR: keyword startFace is undefined in dictionary ".defaultFaces" file: .defaultFaces from line 71 to line 71. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 437. FOAM exiting I cannot handle with it, could you help me? Thanks. |
|
May 8, 2014, 06:36 |
|
#91 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 14 |
Dear Shuai,
have you tried my one (attached case). Try that case please, if any problem let me know please. Regards |
|
May 9, 2014, 23:42 |
|
#92 | |||
New Member
Shuai Wang
Join Date: Mar 2014
Posts: 26
Rep Power: 12 |
Dear Maimouna, I tried the attached case yesterday. Everything is Ok when I typed “./Allprepare” in my terminal. After that, when I typed “pimpleFoam” in my terminal, error appeared like:
Quote:
Before modification: Quote:
Quote:
After that, when I typed “pimpleFoam” in my terminal again, it’s Ok. However, I had three questions as follow: 1. What is the function of changeDictionary? I am very confused with this dictionary. 2. Should it will affect the results when I add “laplacian(rAUf,p) Gauss cubic corrected;” in laplacianSchemes? 3. In your case, I find something like “U~” or “P~”, what does the “~” mean? My results are in the below (attached case). Thank you for your help. |
||||
May 11, 2014, 15:49 |
|
#93 | |||
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 14 |
Dear Shuai,
that is good news that case working in your OpenFOAM version 2.3.0. Regarding your questions Quote:
http://www.cfd-online.com/Forums/openfoam-pre-processing/101179-how-do-i-use-changedictionary-utility.html Quote:
Quote:
All the best. |
||||
May 16, 2014, 10:37 |
|
#94 |
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 14 |
Dear Shuai,
recently, I'm using OpenFOAM-2.3.0 because I updated my ubuntu 13.10 to 14.04, which I don't really like. OpenFOAM version that only accompanied with that ubuntu version is 2.3.0. Any way, I tried to work with previous case about circular cylinder that I sent you in the previous post #91, but unfortunately it was gave me the same error that you posted in #92. I solved that problem. It started working and then it stopped by that error Code:
#0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const at ??:? #4 Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:? #5 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #6 Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:? #7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:? #8 at ??:? #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #10 at ??:? Floating point exception (core dumped) Regards |
|
May 17, 2014, 09:11 |
|
#95 |
New Member
Shuai Wang
Join Date: Mar 2014
Posts: 26
Rep Power: 12 |
Dear Maimouna:
Did you solve the problem in #93? I am so sorry to say that I have not encountered with that problem, but I think it may be ralated to your OpenFOAM. When you upgrade the version of Ubuntu, and it may have an influence on your OpenFOAM. I used Ubuntu 12.04,and it works well. I hope you will solve it soon! |
|
May 18, 2014, 12:07 |
|
#96 | |
Member
Sami
Join Date: Nov 2012
Location: Cap Town, South Africa
Posts: 87
Rep Power: 14 |
Hi dear sasanghomi,
Thank you for this interesting reply. However I have 2 main questions in order to understand the changes you have apported to the default icoFoam fvSchemes file: 1- When you switch from: "ddtSchemes { default Euler;" to: "ddtSchemes { default backward;", does the effect on the fluid is that I have less damping ? 2- What does the other modifications (like "limited 0.5") do exactly or how they affect the solution ? Thank you in advance, Best regards, Mehrez Quote:
|
||
April 9, 2015, 10:08 |
|
#97 |
Member
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11 |
Hello everyone,
at the moment I try to solve a tutorial for channel flow with respect to different LES models which was uploaded for a cours at Chalmers University of technology in 2001. After creating the mesh I wanted to refine the Mesh. I run topoSet. After, I should type in the command : refineMesh -dict -overwrite. And here is the first mistake: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create polyMesh for time = 0 Mesh edge statistics: x aligned : number:16376 minLen:0.005 maxLen:0.005 y aligned : number:16056 minLen:0.005 maxLen:0.005 z aligned : number:8232 minLen:0.005 maxLen:0.005 other : number:0 minLen:1e+15 maxLen:-1e+15 Refining according to refineMeshDict --> FOAM FATAL IO ERROR: cannot open file file: /home/stephanie/OpenFOAM/stephanie-2.3.1/run/smagorinsky_mini/-overwrite at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 87. FOAM exiting It didn't work. When I typed in <refineMesh> it was okay. Why does this command don't work? The next step should be to run the simulation by <pyFoamPlotRunner.py pimpleFoam >& log and it also do not work. There is still the mistake: pyFoamPlotRunner command not found I had a look in a lot of discussions, but I couldn't find an answer.. because pyFoam is alreay installed. So i tried to type in <pimpleFoam> to start the simulation and here ist the next mistake: --> FOAM FATAL IO ERROR: keyword laplacian(rAUf,p) is undefined in dictionary "/home/stephanie/OpenFOAM/stephanie-2.3.1/run/smagorinsky_mini/system/fvSchemes.laplacianSchemes" file: /home/stephanie/OpenFOAM/stephanie-2.3.1/run/smagorinsky_mini/system/fvSchemes.laplacianSchemes from line 45 to line 51. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 437. FOAM exiting I would be grateful if anyone might help me to solve this tutorial. Thank you so much, nice regards, Stephie |
|
April 9, 2015, 11:36 |
|
#98 | |
Member
Sami
Join Date: Nov 2012
Location: Cap Town, South Africa
Posts: 87
Rep Power: 14 |
Hi dear Stephie,
After refining the mesh you should interpolate your fields (U, p... for example) from the old mesh to the new fine mesh. Then, you can start your simulation. There is a function in OpenFoam to perform interpolation. Regards, Mhrz Quote:
|
||
April 9, 2015, 12:27 |
|
#99 | ||
Senior Member
|
Hi,
Quote:
Code:
refineMesh -dict system/refineMeshDict -overwrite Quote:
Code:
laplacian((1|A(U)),p) Gauss linear corrected; Code:
laplacian(rAUf,p) Gauss linear corrected; |
|||
April 10, 2015, 05:18 |
|
#100 |
Member
Stephanie
Join Date: Feb 2015
Location: Magdeburg, Germany
Posts: 71
Rep Power: 11 |
Good morning Alexey,
you are amazing - thank you so much. After typing in the correct command to refine the Mesh it worked. Now it looks like the image in the description Also the second hint was right, I changed this line in fvSchemes and the simulation run. The only thing, which did not work is pyFoamPlotRunner.py. There is still the mistake command not found. Maybe I miss something when I installed OpenFoam...do you have any idea? But it doesn't matter... I'm happy, the simulation run. Thank you so much for your help |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] OpenFoam Flow over a Circular Cylinder | WolfgangS. | OpenFOAM Meshing & Mesh Conversion | 12 | March 3, 2014 11:53 |
benchmark: flow over a circular cylinder | goodegg | Main CFD Forum | 12 | January 22, 2013 12:47 |
Particle deposition on circular cylinder in turbulent flow | Julian K. | CFX | 1 | October 3, 2011 18:51 |
flow around a cylinder | pXYZ | Main CFD Forum | 14 | July 25, 2011 11:05 |
Flow induced vibration of a mobile cylinder | Hooman | Main CFD Forum | 0 | December 31, 2010 09:48 |