CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Connection macro over same wall boundary ?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2014, 13:55
Default Connection macro over same wall boundary ?
  #1
New Member
 
Francisco Bailly
Join Date: Feb 2014
Posts: 3
Rep Power: 9
Sdvk is on a distinguished road
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
Sdvk is offline   Reply With Quote

Reply

Tags
adjacent, cell, connecting, macro

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 58 July 3, 2020 02:13
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


All times are GMT -4. The time now is 23:31.