|
[Sponsors] |
July 28, 2017, 10:53 |
Edge direction is important to call cells
|
#1 |
New Member
Elnaz Norouzi
Join Date: Jan 2016
Posts: 5
Rep Power: 10 |
I have a 2-D model of two parallel flow channels and I want to collect temperatures at the same x coordinate along the channels on the boundaries. Is edge direction important to call cells? For example I have 1500 cells on the boundaries at top and bottom flow and I wrote f loop to collect temperatures at the same x coordinate when the edge directions for top and bottom are in opposite directions. Is this below code right?
m=1499; begin_f_loop(ff, thread_mem) { Tmemt[m]=F_T(ff,thread_mem); m=m-1; } end_f_loop(ff, thread_mem) n=0; begin_f_loop(f, thread) { Tmemb[n]=F_T(f,thread); n=n+1; } end_f_loop(f, thread) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh running killed! | Mark JIN | OpenFOAM Meshing & Mesh Conversion | 7 | June 14, 2022 01:37 |
[ICEM] Error in mesh writing | helios | ANSYS Meshing & Geometry | 21 | August 19, 2021 14:18 |
snappyhexmesh remove blockmesh geometry | philipp1 | OpenFOAM Running, Solving & CFD | 2 | December 12, 2014 10:58 |
number of cells in each direction | fshak92 | OpenFOAM Programming & Development | 3 | August 26, 2014 04:38 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 07:06 |