|
[Sponsors] |
September 7, 2022, 11:44 |
Pressure convergence
|
#1 |
Member
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 5 |
Hi, im simulating flow around a box, to do that i modified the example case WindAroundBuildings, when i run pimpleFoam, i get pressure residuals oscillations, how do i fix this?
Case folder: https://www.dropbox.com/s/3gs1vw1ojd...pf122.zip?dl=0 |
|
September 7, 2022, 16:38 |
|
#2 |
Member
Join Date: Feb 2020
Posts: 79
Rep Power: 6 |
Hi,
This is not oscillation. This is because you use correctors. Try the code below to plot your residuals. Code:
set logscale y set title "Residuales vs iteración caso circular 3 transiente" set ylabel 'Residual' set xlabel 'Iteración' plot "< cat log | grep 'Solving for Ux' | cut -d' ' -f9 | tr -d ','" title 'Ux' with lines,\ "< cat log | grep 'Solving for Uy' | cut -d' ' -f9 | tr -d ','" title 'Uy' with lines,\ "< cat log | grep 'Solving for Uz' | cut -d' ' -f9 | tr -d ','" title 'Uz' with lines,\ "< cat log | grep 'Solving for omega' | cut -d' ' -f9 | tr -d ','" title 'omega' with lines,\ "< cat log | grep 'Solving for k' | cut -d' ' -f9 | tr -d ','" title 'k' with lines,\ "< cat log | grep 'Solving for p' | cut -d' ' -f9 | sed -n 'p;N' | tr -d ','" title 'p' with lines pause 1 reread BR |
|
September 7, 2022, 18:46 |
|
#3 |
Member
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 5 |
it works, thanks
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
viscosity udf don't use correct temperature and strain rate | rezvani | Fluent UDF and Scheme Programming | 8 | May 27, 2021 06:40 |
Fail to converge when solving with a fabricated solution | zizhou | FLUENT | 0 | March 22, 2021 07:33 |
Residuals and forces spiraling out of control before failing | edomalley1 | OpenFOAM Running, Solving & CFD | 3 | September 7, 2018 11:42 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 03:15 |
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) | HB &DS | CFX | 0 | January 9, 2000 14:19 |