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

Accessing the previous cell

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2014, 06:25
Default Accessing the previous cell
  #1
New Member
 
Karnataka
Join Date: May 2014
Posts: 1
Rep Power: 0
bslalit is on a distinguished road
I am simulating flow through porous media. Mass source term that I am planning to use is m=hA(delta c)

where m is the mass source
h is the mass transfer coefficient
A is the area
delta c is the concentration gradient = c(mixture in porous media) - c(inlet air)

Now delta c varies with each cell in x direction as inlet air absorbs moisture. I can use the c(out) of previous cell as the c(inlet) for the next cell. However, how should I specify the previous cell for complex geometries.
Attached Images
File Type: gif securedownload.gif (19.7 KB, 2 views)
bslalit is offline   Reply With Quote

Reply


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
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Programming & Development 1 October 11, 2016 14:17
interFoam running blowing up sandy13 OpenFOAM Running, Solving & CFD 2 May 5, 2015 08:16
Solution Diverging with Trimmer Mesh rietuk STAR-CCM+ 8 February 27, 2013 05:50
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Running, Solving & CFD 0 October 27, 2009 09:47
Warning 097- AB Siemens 6 November 15, 2004 05:41


All times are GMT -4. The time now is 14:32.