|June 1, 2012, 03:10||
Boundary condition, incompressible colocated code
Join Date: May 2012
Posts: 149Rep Power: 5
I have written a simple FDM 1d colocated code with the nodes coinciding with boundaries. I have attached the code (it is C/C++).
My question is about the velocity derivatives that I need from outside the inlet boundary. I try to derive an expression based on the (normal) momentum equation but this does not work. If I just extrapolate the derivatives from the first interior node to the boundary node then everything works perfect. However, I do not understand why this is the case. Perhaps someone can point out what I am doing (or thinking) wrong?
|code, colocated, incompressible|
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to set the Heat Flux boundary condition at Outlet||creddy_trddc||CFX||3||September 21, 2011 07:44|
|boundary condition for flat plate||Ardalan||Main CFD Forum||0||June 18, 2010 17:49|
|SymmetryPlane Boundary Condition||raytracer||OpenFOAM Running, Solving & CFD||0||July 11, 2008 17:04|
|Rotating interpolated boundary condition||hani||OpenFOAM Running, Solving & CFD||0||July 4, 2006 07:09|
|New topic on same subject - Flow around race car||Tudor Miron||CFX||15||April 2, 2004 06:18|