|
[Sponsors] |
how to accurately simulate flow around cylinder |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 10, 2015, 05:39 |
|
#101 | |
Senior Member
|
Hi,
Quote:
I have just checked installation with pip (pip install --user PyFoam) and everything works fine (well, at least pyFoamRunner.py, pyFoamPlotRunner.py fails as I do not have gnuplot installed), utilities are installed and accessible. |
||
January 5, 2017, 12:57 |
problem in Cd results
|
#102 |
Member
subhankar
Join Date: May 2016
Posts: 36
Rep Power: 10 |
Hello foamers,
I am solving flow past a cylinder(2-D) for blockage ratio=0.2, Re=300 with parabolic inlet velocity profile. I am getting very high Cd(~2.4). previously i had simulated for blockage ratio=0.3, and Re=100. There i got Cd nearly equal to the literature(~1.35). I used the same case file for the 1st case except changing the blockMesh to get blockage ratio=0.2 and the velocity magnitude to get Re=300. What am i doing wrong? I have taken upstream length=12.5D and downstream length=30D. I have attached my case file. regards Subhankar |
|
October 14, 2018, 06:20 |
|
#103 |
Member
Amir
Join Date: Jan 2017
Posts: 32
Rep Power: 9 |
Sorry for the post. The problem was probably the bad installation. The pimpleFoam wasn't able to see the omegaWallFunction, therefore it switched automatically to zeroGradient on the wall, and gave me bad results in foam-extend 4.0. I tried the case with OF2.3 the results are acceptable.
Regards, Last edited by albet; October 15, 2018 at 10:40. |
|
January 6, 2020, 10:02 |
Similar Case
|
#104 | |
New Member
Nithin Adidela
Join Date: Oct 2019
Posts: 2
Rep Power: 0 |
I am working on a case which is based on this case.
Can you please let me know if you have succeeded in simulating flow over a cylinder with pimplefoam for Re = 100? With regards, Nithin. Quote:
Last edited by nithinadidela; January 6, 2020 at 10:03. Reason: Typograhical error |
||
January 8, 2020, 03:49 |
|
#105 |
Senior Member
Ruiyan Chen
Join Date: Jul 2016
Location: Hangzhou, China
Posts: 162
Rep Power: 10 |
Hi kkpal,
I came across this thread and it seems to be very interesting! In my research I use rhoPimpleFoam, I would say that relaxation is definitely needed. The whole idea of using relaxation is to gradually relax the nonlinear nature of the equations and helps to achieve convergence. I looked through your PIMPLE settings, and I think the problem may be as following. You have only 1 nOuterCorrectors, and you are using relaxation. This means that you are moving the solution from the previous time step to the new time step by let's say only 70% (if the under relaxation factors are 0.7). Obviously you won't get right results unless all the under relaxation factors are set to 1. I normally use much more nOuterCorrectors (20 or so). I think one thing you could do is to check the conservation of the flow rates, if you are relaxing and using only 1 nOuterCorrector, I expect that the mass is not conserved. In other words, flow information is gradually lost because of the relaxation. |
|
|
|
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 |