CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Which model to use? (https://www.cfd-online.com/Forums/main/212562-model-use.html)

Kaeros December 4, 2018 05:02

Which model to use?
 
Dear all,

I would like to simulate the following case:

- 2D transport of a scalar with turbulence
- Part of the domain contains elements that are sinks for the given scalar (i.e.: they absorb a given quantity of the scalar, generating a negative flux in # mmol m-2 s-1).
- I would like to impose velocity, pressure and turbulence quantities across the domain at every time step (i.e.: the model should only "worry" about transporting the scalar, with a fixed concentration profile at the inlet, to the outlet)

I was looking at OpenFOAM, which is open-source and has a way to simulate turbulence and scalar transport...but I do not understand if it's possible to set a sink for the tracer (maybe as a boundary condition?).

Any suggestion would be welcome!

AliE December 4, 2018 09:35

Hi,

yes openFOAM could be helpful, it offeres several RANS/URANS models that may fit your needs. However keep in mind that if your source terms and boundary condition are too specific, it is possible that you have to implement them by yourself using codestream. If you are not experinced in CFD, than this might create you some troubles :) In any case you can check the available bcs and source terms (called fvOptions in OF) with a fast google search.

FMDenaro December 4, 2018 09:45

Quote:

Originally Posted by Kaeros (Post 717869)
Dear all,

I would like to simulate the following case:

- 2D transport of a scalar with turbulence
- Part of the domain contains elements that are sinks for the given scalar (i.e.: they absorb a given quantity of the scalar, generating a negative flux in # mmol m-2 s-1).
- I would like to impose velocity, pressure and turbulence quantities across the domain at every time step (i.e.: the model should only "worry" about transporting the scalar, with a fixed concentration profile at the inlet, to the outlet)

I was looking at OpenFOAM, which is open-source and has a way to simulate turbulence and scalar transport...but I do not understand if it's possible to set a sink for the tracer (maybe as a boundary condition?).

Any suggestion would be welcome!




I don't know what is your goal but if you are simply considering a passive tracer having the motion governed by the lagrangian tracking, it is simply unphysical the simulation on a 2d turbulent field as it represents only a statistical solution.

LuckyTran December 5, 2018 10:47

The sink can be done using a fvOptions file. Or you can directly code it into the solver. Either way you have to do some coding.


All times are GMT -4. The time now is 16:20.