|
[Sponsors] |
February 7, 2022, 11:01 |
wedge vs. empty boundary condition
|
#1 |
Senior Member
Join Date: Jul 2013
Posts: 124
Rep Power: 13 |
Hi all,
I have noticed that when you solve a 2D case with the empty boundary condition in the z-direction, the simpleFoam solver does not attempt to solve for Uz. However, if you make an axisymmetric 2D simulation using the wedge boundary condition, simpleFoam does attempt to solve for Uz, and the residual for Uz never decreases, and so the solver does not ever converge. Note that the other two velocity components and the pressure do converge, but the solver itself will never terminate because the Uz residual never decreases. Does anyone know why this is the case? Thanks |
|
February 8, 2022, 07:24 |
|
#2 |
Senior Member
|
Hi,
With the empty patch type, there is no flow in the empty normal-direction, however if you have a wedge there can be flow in the wedge-normal direction. The magnitude of this wedge-normal velocity may not be uniquely defined, which would mean that your residual will not drop. Not sure if that is the case for you, but this is something I found in the past. If that is the case, just ignore it and stop your simulation once the other directions and p are converged. Cheers, Tom |
|
February 8, 2022, 10:19 |
|
#3 |
Senior Member
Join Date: Jul 2013
Posts: 124
Rep Power: 13 |
Hi Tom,
Interesting. Thanks for the suggestion. Just curious though, is that expected behavior? The same thing happened for me for the simple case of calculating low Reynolds number axisymmetric flow in a straight pipe, where I'm quite sure the wedge-normal velocity should be uniquely defined (zero). Also, is there some trick to telling simpleFoam to only care about two of the velocity residuals and not the third? Thanks |
|
February 8, 2022, 11:04 |
|
#4 |
Senior Member
|
Hi,
Just think about the straight pipe case, if the circumferential velocity is non-zero, does this change anything to the axial velocity, where we have a defined axial velocity or pressure drop? My idea was: as the wedge faces are coupled, there is no pressure gradient dp/dz = 0 and Uz pos = Uz neg basically meaning that we can choose Uz. Even if it is fixed at the inlet and at the wall, there is no guarantee that this is the case for the inner cells. Still with viscosity there will be some limiting, but this may not be enough to keep Uz equal to zero. I am not sure if you can specify different convergence controls for different components in all versions of OpenFOAM. However this bug report suggests that you can use Ux and Uy in the residualControl subDict instead of U if you want to ignore Uz. Cheers, Tom |
|
February 8, 2022, 17:15 |
|
#5 |
Senior Member
Join Date: Jul 2013
Posts: 124
Rep Power: 13 |
Interesting, thanks!
|
|
Tags |
empty, simplefoam, wedge |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
Empty boundary condition | behruz920 | Main CFD Forum | 4 | August 5, 2017 15:35 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
External Radiation Boundary Condition for Grid Interface | CFD XUE | FLUENT | 0 | July 9, 2010 03:53 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |