I'm trying to simulate a counterflow mass exchanger in Fluent. One dry stream of air and one humid stream. I want to define a boundary condition between two streams to transfer water through itself based on differences in partial pressure of water on both sides.
I want to write a UDF for this problem but I'm not good with writing UDFs. Can anybody help me with a sample?
The picture of my problem is attached to this question.