|
[Sponsors] |
May 7, 2014, 06:25 |
Accessing the previous cell
|
#1 |
New Member
Karnataka
Join Date: May 2014
Posts: 1
Rep Power: 0 |
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. |
|
|
|
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 |