|
[Sponsors] |
May 11, 2010, 07:26 |
Why to take Normal to a surface...
|
#1 |
New Member
Dhileep
Join Date: Apr 2010
Posts: 10
Rep Power: 15 |
Hi,
I have written a Finite volume natural convection code for a square cavity using a structured cartesian grid using "Versteeg Malalasekara" as reference book. Now i am trying to do the same using an unstructured grid using "Blazek" as reference book. Blazek explained to take normal vector for each face. Why to do this. I never encountered this in "Versteeg". Can any one plz explain me this?.. |
|
May 11, 2010, 08:22 |
|
#2 |
Senior Member
Join Date: Jul 2009
Posts: 351
Rep Power: 18 |
You need the normal vector to compute the fluxes through the faces - that's how the fluxes are defined in the governing equations. If your previous experience is in structured Cartesian grids, the normal was hidden by the simplicity of the geometry.
|
|
May 11, 2010, 14:18 |
|
#3 |
Senior Member
Join Date: Feb 2010
Posts: 148
Rep Power: 17 |
The flux is a vector. For the entire quantity that goes through that surface, the normal component is needed.
|
|
May 12, 2010, 12:11 |
|
#4 |
New Member
Jiannan
Join Date: Mar 2009
Posts: 10
Rep Power: 17 |
Absolutely right. And one more thing. When you are using structured mesh, the connecting line of the geometry centers of two neighbor cells are orthogonal to the face shared by these two cells. This fact leads to ZERO cross-diffusion term anywhere in discretized momentum euqations. But when you are using unstructured mesh, the connecting line of the geometry centers of two neighbor cells are not necessarily orthogonal to the face shared by these two cells, which pretty much means the cross-diffusion term is not ZERO. So you have to calculate the cross-diffusion term, and you will need the normal vector of the face in the calculation.
|
|
May 13, 2010, 06:52 |
|
#5 |
New Member
Dhileep
Join Date: Apr 2010
Posts: 10
Rep Power: 15 |
Thanks to all for explanations. I clearly understood the meaning from jntan's explanation. I have to calculate (interpolate) the flux at a face by using the flow variables stored at two cells which share that same face and then multiple it by normal vector to get the normal component. is that rite?...
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible | velan | OpenFOAM Meshing & Mesh Conversion | 3 | October 22, 2015 11:05 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 02:09 |
[CAD formats] my stl surface is seen as just a line | rcastilla | OpenFOAM Meshing & Mesh Conversion | 2 | January 6, 2010 01:30 |
NACA0012 geometry/design software needed | Franny | Main CFD Forum | 13 | July 7, 2007 15:57 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 12, 2001 23:19 |