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

Accessing the previous cell

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 7, 2014, 05: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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
interFoam running blowing up sandy13 OpenFOAM Running, Solving & CFD 2 May 5, 2015 07: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
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Programming & Development 0 October 26, 2009 13:10
Warning 097- AB CD-adapco 6 November 15, 2004 05:41


All times are GMT -4. The time now is 11:47.