|
[Sponsors] |
December 27, 2010, 14:52 |
|
#21 |
New Member
senthilkumar.R
Join Date: Sep 2010
Location: Ranchi, India
Posts: 20
Rep Power: 16 |
Dear Alberto,
Thanks for your quickest replies.If I am not wrong, OF 1.7.1 tutorials does not have example case for rhoSimpleFoam. Even I searched through Internet to download but failed, then only came to know lot of people are looking for test case. Please correct me if I am wrong.
__________________
Senthil Kumar. R Department of space Engineering and Rocketry, Birla Institute of Technology,Mesra. rock.senthilkumar@gmail.com |
|
December 27, 2010, 17:12 |
|
#22 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
I added the required entries to the attached case, but I did not clean the dictionaries up.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
December 28, 2010, 00:09 |
|
#23 |
New Member
senthilkumar.R
Join Date: Sep 2010
Location: Ranchi, India
Posts: 20
Rep Power: 16 |
Dear Alberto,
Thank you for your attachments. I will clean up the dictionaries, and let you know how it works for my case. Thank you again.
__________________
Senthil Kumar. R Department of space Engineering and Rocketry, Birla Institute of Technology,Mesra. rock.senthilkumar@gmail.com |
|
February 12, 2011, 07:59 |
|
#24 |
New Member
Patty
Join Date: Sep 2010
Posts: 13
Rep Power: 16 |
Hi aerothermal
I have the same problem with pressure instability with RhoPorousSimpleFoam inducing speed oscillations (up to crash). I made a research with your name on this CFD Online forum and found no trace of a new thread dealing with this problem written by you. Could you be kind enough to tell me (if ever you did it) where this thread is located. In case of no new thread, could you explain me how you stabilized such pressure instabilities. I reduced the p relaxation factor down to 0.0005! it helps but each time I reduce the outlet pressure, to progressively reach higher speeds (I wish I could reach Mach1 at the outlet, but still am at ~Mach 0.1), I need to reduce further this factor. Is it sufficient to reduce p relaxation factor? Any other tricks you succeeded with? Many thanks. Best regards Last edited by ptbs; February 12, 2011 at 08:46. |
|
February 12, 2011, 10:35 |
|
#25 |
Senior Member
|
Hi Patty,
Try to use divSchemes div(phi,U) Gauss limitedLinearV 1.0 Usually it helps to stabilize. I manage to converge my case but the results are not good. I will posto some results here later. regards, aerothermal |
|
February 12, 2011, 16:42 |
|
#26 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Could you post a simple case that reproduces the problem? Best, Alberto
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
February 13, 2011, 05:59 |
|
#27 | |
New Member
Patty
Join Date: Sep 2010
Posts: 13
Rep Power: 16 |
Quote:
Thanks for answering. I have tried in my next iterations to use "divSchemes div(phi,U) Gauss limitedLinearV 1.0" instead of "Gauss upwind", as you suggested but using, as initially, a p relaxation factor of 0.2. It has diverged after only 20 iterations. So I kept your suggestion but combine it with a 0.00025 p relaxation factor, waiting for more information from you. By the way, what is the meaning of the constant 1.0 in "Gauss limitedLinearV 1.0". I tried to watch in the C++ files, but really, it is not clear for an "end user" like me. Is it to be tuned like relaxation factors or just a constant setup for openFoam solvers? Best regards |
||
February 13, 2011, 06:19 |
|
#28 |
New Member
Patty
Join Date: Sep 2010
Posts: 13
Rep Power: 16 |
Hello Alberto
Well, the case I am studying is quite big and absolutely confidential. So, I will try to make another model, oversimplified but that could recreate this behavior. However, in case of success, how to post a full case in this forum? Do you need the mesh files or just the dictionaries setting up the rhoPorousSimpleFoam solver? Being new in this forum, I never did it before. Have you a suggestion? A thread to read that describes the best procedure according to your experience? Other similar advices? I read that the attachment to a post in this forum is 98KB max, so may be a zip or tar file could be suitable, but what to place in it? Be patient, I will try to do it with your recommendations during the next week-end. Many thanks Last edited by ptbs; February 13, 2011 at 06:37. |
|
February 13, 2011, 17:45 |
|
#29 | ||
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Quote:
P.S. If you have large files, you can use a service like dropbox (free up to 2GB). Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|||
February 16, 2011, 14:02 |
RhoPorousSimpleFoam case with instability
|
#30 |
New Member
Patty
Join Date: Sep 2010
Posts: 13
Rep Power: 16 |
Hi Alberto
Here it is. I follow your suggestion and place a complete case very similar in boundary conditions as the one I try to solve, and run it Sunday evening. This case presents all the typical behavior I mentioned previously. Here I have also reduced p relaxation factor down to 0.0025, and even like that it is still unstable. The dropBox links to get the full solved problem is http://dl.dropbox.com/u/21252587/14cfdtest.tar.gz (Sorry for the size of the full simulation ~1.4GB, I think it is better you get all to understand). I used RhoPorousSimpleFoam because I finally want to use the porous element I place in the middle part, but for the moment (to simplify) the Darcy parameters are so low that they do not influence. Moreover, I never see instability from that porous area. Have a look with paraFoam making a slice at middle XZ plane. The exhaust pipe show very clear instability with time (like waves) that I can really not understand. In my other models these sudden instabilities sometimes happen in the larger inlet pipe during transition regime, although I am very far from my Mach 1 objective at the outlet section ( I wish to decrease progressively the outlet pressure to force the simulation to reach M1 at the outlet pipe). From what I read, description of problem from other participant to this forum are sometimes similar. Could you help us? Many Thanks |
|
February 16, 2011, 14:28 |
my case converged
|
#31 |
Senior Member
|
Dear ptbs,
My low Mach cylinder case in a small tunnel (almost a duct) converged. The waves still does appear but they are not as critical as before. I used the OF1.6-ext instead of OF1.7.1. It helped a lot in convergence. See attached the fvSchemes and fvSolution. Also pay attention in your boundary conditions. Place adequate values for k, epsilon, mut and alphat. Regarding U and p, you should take even more care with the combination of types. Take a look in the tutorial for rhoPorousSimpleFoam. It will help you. Regards, aertothermal fvSchemes.txt fvSolution.txt |
|
February 16, 2011, 15:30 |
|
#32 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Best, Alberto
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
February 16, 2011, 15:48 |
|
#33 | |
Senior Member
|
Hi Alberto,
I do not know yet the causes but I am still investigating. The mesh is tetra based with one region and a prism layer around the cylinder. From wikki site I saw that 1.6-ext has some extra capabilities over 1.7. Quote:
Regards, Guilherme da Silva |
||
February 16, 2011, 15:54 |
|
#34 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Yes, but that only applies if you use reconCentral scheme, at least in my understanding.
Anyway, if you find something, please let us know! :-)
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
February 16, 2011, 17:34 |
|
#35 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
The under-relaxation factors do not make much sense to me. You relax way too much the pressure, and way too little the density. Better values: rho - 0.05 p - 0.3 The minimum bound on pressure is too close to the value at the outlet (iterations might trigger bounding too easily). Also, are pressures set to physical values? 120 Pa? Additionally, use leastSquares for gradients computation: Code:
default cellLimited leastSquares 1; grad(p) leastSquares; Finally, do you work with a modified version of the solver? Your fvSolution has a nUCorrectors, while the correct syntax in rhoPorousSimpleFoam is nCorrectors. Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
February 16, 2011, 18:11 |
|
#36 |
Senior Member
|
One thing that helped a lot was to mirror the mesh.
In case of cylinder I mirrored it at mid plane from top to bottom. So the numerical disturbances did not cause any further symmetry issues. |
|
February 16, 2011, 18:19 |
|
#37 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hi, in Patty's case the mesh seems OK. I run the for a while, and the solution is smooth. Instabilities originate from the outlet (meaning they probably depend on some physical element not set properly), but that I cannot know for sure since we do not know the details of physical problem.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
February 16, 2011, 18:44 |
|
#38 |
Senior Member
|
OK. I am downloading it now to take a look.
|
|
February 17, 2011, 03:18 |
|
#39 | |
New Member
Patty
Join Date: Sep 2010
Posts: 13
Rep Power: 16 |
Quote:
I will have a look at your comments and I am very interested hearing even more from you if you make some more tests on this case. Concerning the physical problem, the case I gave is just an illustrative way to show you the instability I have in my study, as such no real meaning excepted I need very low pressure i.e. very low density. For a more practical case (I can not describe) just imagine that you want to homogenize a pressure and a flux (thanks to the porous part not yet used) before an exit which is at such a low pressure that you reach sonic speed... In this test case, I take air at room temperature. Concerning the solver, as seen in the submitted case files, I use openFoam.1.7.1 as downloaded from official site released in June 2010. I did it this classical way under a Ubuntu-Linux terminal: 1) echo "deb http://www.openfoam.com/download/ubuntu lucid main" >> /etc/apt/sources.list 2) apt-get update 3) apt-get install openfoam171 Best regards Last edited by ptbs; February 17, 2011 at 03:35. |
||
February 17, 2011, 03:34 |
|
#40 | ||
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
You are going to have a sort of wave reflection at the outlet I think. Maybe you want to give a try to waveTransmissive BC's and an unsteady run (rhoPisoFoam, rhoPimpleFoam). Quote:
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BC for rhoSimpleFoam | uli_u | OpenFOAM Running, Solving & CFD | 77 | April 4, 2013 12:28 |
RhoSimpleFoam | maritozzo | OpenFOAM Running, Solving & CFD | 1 | April 30, 2010 19:18 |
RhoSimpleFoam | jphandrigan | OpenFOAM Running, Solving & CFD | 18 | March 29, 2009 12:05 |
RhoSimpleFoam negative pressure | gzink | OpenFOAM Running, Solving & CFD | 10 | June 4, 2007 06:35 |
RhoSimpleFoam | luca | OpenFOAM Running, Solving & CFD | 0 | August 22, 2005 13:26 |