|
[Sponsors] |
December 13, 2012, 00:08 |
InterFoam: Add an equation to only one phase
|
#1 |
Member
Luca Giannelli
Join Date: Jun 2010
Location: Kobe, Japan
Posts: 58
Rep Power: 15 |
Hello again everybody,
as I already explained here, I want to insert a tracer in my simulation to calculate the mixing time of the reactor. I want to consider only the liquid phase as I am going to insert a certain amount of NaCl as tracer and follow the time evolution of the concentration with a probe. Now I was just able to add the tracer using as a base the wiki page on how to add temperature to icoFoam. However, if I run the simulation I get my tracer propagating out of the liquid phase through the interface into the gas. Watching this thread (http://www.cfd-online.com/Forums/ope...interfoam.html) I made an idea of how to read physical properties for different phases but I cannot figure out how to make my equation to be solved only for the liquid phase. To put things simple, now it looks like it is just overlapping the liquid-gas system (i have a global equation, a global diffusion coefficient, etc). See attached screenshot (tracer concentration profile on the right). Is there anybody who can help me with this task? Thanks! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Momentum equation of interFoam? | cfdfans | OpenFOAM | 10 | May 9, 2018 02:43 |
Solid/liquid phase change | fabian_roesler | OpenFOAM | 10 | December 24, 2012 06:37 |
Adding a new term in momentum equation of Interfoam | udiitm | OpenFOAM | 5 | July 29, 2012 10:52 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 1, 2003 23:32 |
add user scalar in one phase | zhu | CFX | 0 | April 27, 2002 03:45 |