|
[Sponsors] |
Boundary condition, incompressible colocated code |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 1, 2012, 04:10 |
Boundary condition, incompressible colocated code
|
#1 |
Senior Member
Join Date: May 2012
Posts: 551
Rep Power: 16 |
Hello,
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? Thank you. |
|
Tags |
code, colocated, incompressible |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to set the Heat Flux boundary condition at Outlet | creddy_trddc | CFX | 3 | September 21, 2011 08:44 |
boundary condition for flat plate | Ardalan | Main CFD Forum | 0 | June 18, 2010 18:49 |
SymmetryPlane Boundary Condition | raytracer | OpenFOAM Running, Solving & CFD | 0 | July 11, 2008 18:04 |
Rotating interpolated boundary condition | hani | OpenFOAM Running, Solving & CFD | 0 | July 4, 2006 08:09 |
New topic on same subject - Flow around race car | Tudor Miron | CFX | 15 | April 2, 2004 07:18 |