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

How do they have implemented BC here?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2018, 05:48
Default How do they have implemented BC here?
  #1
Member
 
Michele
Join Date: Dec 2013
Posts: 32
Rep Power: 12
Michael-STM is on a distinguished road
Hi, i'm trying to understand how a CFD app for my tablet works...there is something that is bugging me.
The grid looks like the one that i attached here, how do they have implemented the no-slip boundary condition here? It looks to me that there is no "real" normal on the grid from any point on the solid except for the very front...anyone willing to make me understand? Infos with diagrams is appreciated!!!
Thanks!
Attached Images
File Type: jpg WhatsApp Image 2018-03-02 at 10.42.36.jpg (71.6 KB, 23 views)
Michael-STM is offline   Reply With Quote

Old   March 2, 2018, 13:15
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Michael-STM View Post
Hi, i'm trying to understand how a CFD app for my tablet works...there is something that is bugging me.
The grid looks like the one that i attached here, how do they have implemented the no-slip boundary condition here? It looks to me that there is no "real" normal on the grid from any point on the solid except for the very front...anyone willing to make me understand? Infos with diagrams is appreciated!!!
Thanks!

Are you asking for the treatement of the BC.s at the corners? Even if this issue can be seen a special cases and treated separately, you can just set zero the velocity vector.
FMDenaro is online now   Reply With Quote

Old   March 3, 2018, 03:07
Default
  #3
Senior Member
 
Simbelmynė's Avatar
 
Join Date: May 2012
Posts: 551
Rep Power: 16
Simbelmynė is on a distinguished road
There are a few options. Assuming this is a FDM code and you use the nodes to store values. In this case you have a singularity at the corners if you have Neumann boundary conditions at the wall (e.g. for the Pressure Poisson equation). The singularity can be avoided by using an average of dP/dx and dP/dy at the corner node. A better option is to incorporate the Neumann condition as a source term in the interior nodes, then no averaging is needed. This means that interior nodes on the west and east of a corner would recognize the corner as a vertical wall and interior nodes on the south and north would recognize it as a horizontal wall.

If the nodes in the picture represents the cell centered values (similar to most FVM codes) then the real boundary is 1/2 cell inside the domain. In this case you do not have any singularity and the Neumann boundary conditions are easily found in a similar manner as the second approach described above (in this case the velocity at the cell centered wall location is not set directly by the Dirichlet condition).
Simbelmynė is offline   Reply With Quote

Old   March 3, 2018, 09:00
Default
  #4
Member
 
Michele
Join Date: Dec 2013
Posts: 32
Rep Power: 12
Michael-STM is on a distinguished road
Thanks guys! Now my toughts about it are a little bit less cloudy
Michael-STM 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
Confusion about how the implicit coupled interfaces are implemented? chengdi OpenFOAM Programming & Development 2 April 18, 2019 02:20
InterDyMFoam+simpleFunctionObject Elham OpenFOAM Running, Solving & CFD 5 July 10, 2017 12:59
question about how wall functions are implemented LuisAlberto OpenFOAM Programming & Development 1 September 5, 2015 15:11
rhoSimplecFoam - which algorithm is implemented - references Manuel CFD OpenFOAM Programming & Development 7 September 8, 2014 08:28
New implemented algebraic Reynolds stress model volker OpenFOAM 13 October 21, 2013 01:01


All times are GMT -4. The time now is 14:28.