|
[Sponsors] |
April 28, 2014, 13:55 |
Connection macro over same wall boundary ?
|
#1 |
New Member
Francisco Bailly
Join Date: Feb 2014
Posts: 3
Rep Power: 12 |
Hi all,
Is there a specific macro or an easy way to get access, when looping over the faces/cells of a surfacic wall (boundary), to the cell/face located just on the left to the one we are currently in ? I already know the adjacent cell macro but it is not usefull here since the two cells will be located on the same boundary wall.. I want the adjacent cell too, but not located in the adjacent thread. I need this because I want to program a UDF in which along my wall (which is the surface boundary of a 3D cylindrical porous zone), except for the 1st cells for which the temperature will be maintained constant, every next cell temperature will depend on the adjacent cell (to the left) temperature (and also of a source term of a cell located in the porous zone but get this one is not a problem).. e/ Correct me if i'm wrong but i dont think that it is possible to run a first loop over the cell boundary wall, and run a second one inside the same surface (which would allow me to find my 2 cells using an if statement ? I use to run loop over different thread but in this case, that would not be possible , right ? Thanks a lot |
|
Tags |
adjacent, cell, connecting, macro |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
Difficulty in calculating angular velocity of Savonius turbine simulation | alfaruk | CFX | 14 | March 17, 2017 07:08 |
Boundary Layer roughness/ low reynolds wall treatment | Luigi_ | STAR-CCM+ | 1 | March 14, 2012 09:40 |
CFX does not continue | Shafiul | CFX | 10 | February 17, 2011 08:57 |
Deal with wall boundary with moving mesh by FVM? | aiya | Main CFD Forum | 6 | May 10, 2007 12:33 |