CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Boundary condition on curved boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2014, 10:41
Default Boundary condition on curved boundary
  #1
Senior Member
 
Simbelmynė's Avatar
 
Join Date: May 2012
Posts: 552
Rep Power: 16
Simbelmynė is on a distinguished road
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!
Attached Images
File Type: jpg cavity_and_cylinder.jpg (69.2 KB, 30 views)
Simbelmynė is offline   Reply With Quote

Old   June 6, 2014, 10:44
Default
  #2
Senior Member
 
Simbelmynė's Avatar
 
Join Date: May 2012
Posts: 552
Rep Power: 16
Simbelmynė is on a distinguished road
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.
Attached Images
File Type: jpg cavity_with_cylinder_Re100.jpg (46.2 KB, 15 views)
Simbelmynė is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 16:54.