CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Find concentration using passive scalar (https://www.cfd-online.com/Forums/openfoam-solving/243125-find-concentration-using-passive-scalar.html)

imadzg May 31, 2022 03:21

Find concentration using passive scalar
 
Hello,


I'm simulating a flow tube with 2 inlets and 1 outlet using simplefoam. I want to be able to see the concentration of inlet1 in respect to inlet 2, so i added a passive scalar transport and in the boundary conditions, i set 0 for inlet 2 and 1 for inlet 1.

everything works fine, but the results are not correct...

Is my approach good? i'm new to openfoam.


and i also have another question concerning the general time of the flow, how can i see, for example, how much time inlet1 needed to reach the outlet? i'm not talking about time steps, like i need the actual time in seconds if this was a real experiment.


Thank you


All times are GMT -4. The time now is 17:41.