|
[Sponsors] |
May 23, 2014, 10:41 |
Boundary condition on curved boundary
|
#1 |
Senior Member
Join Date: May 2012
Posts: 551
Rep Power: 16 |
Hey,
I have written a vorticity stream function code for flow in a cavity. The code produces nice results compared to the literature. With the addition of a cylinder to the cavity the results become very different compared to commercial software (I have not checked against literature, but I have tried both Fluent and COMSOL). This makes me wonder about the boundary condition for vorticity on the cylinder wall. Is it correct to assume similar boundary condition on the curved boundary as on vertical/horizontal boundaries - as long as the derivatives are calculated from nodes in the wall normal direction? I also attach a simulation with Re=100 (based on the cavity, not the cylinder), where you can see the behavior. Thanks! |
|
June 6, 2014, 10:44 |
|
#2 |
Senior Member
Join Date: May 2012
Posts: 551
Rep Power: 16 |
Update:
So after pulling my hair with this for some time I realized that the vorticity boundary condition was ok. The problem was the stream function specification on the internal boundary (cylinder). It needs to be constant, but what constant value should it have? I now use the normal derivative of the stream function (i.e. the tangential velocity) as specification of the stream function value at the wall. The trick was to calculate this for one node on the cylinder wall and then set all other nodes on the cylinder wall equal to that value. The results are much better as can be seen in the attached image. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
conjugate boundary condition | Daniel_Khazaei | OpenFOAM Programming & Development | 0 | December 31, 2013 14:11 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Opening Boundary Condition | andreachan | Main CFD Forum | 11 | March 19, 2013 17:46 |
inlet velocity boundary condition | murali | CFX | 5 | August 3, 2012 09:56 |
Neumann Condition on Curved Boundary using Finite Difference | Sashankh | Main CFD Forum | 2 | February 28, 2011 17:48 |