CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Which is the right boundary condition to use? (https://www.cfd-online.com/Forums/openfoam-pre-processing/139214-right-boundary-condition-use.html)

vtr027 July 19, 2014 10:45

Which is the right boundary condition to use?
 
Hello.

I'm a inexperienced user of OpenFOAM, and I'm trying to simulate a case based on ScalarTransportFoam, thus with velocity field specified.

The boundary condition of a variable is a equation for its gradient. In fact, it is, for z = 0:

dC/dz = K * (C - Co), where K and Co are problem's constants parameters.

Which is the right boundary condition to use? Also, is it possible to these constants (K and Co) to be read from the transportProperties flie?

Every help is welcome.
Thank you!

nimasam August 2, 2014 13:03

Dear Victor

you should modified your solver, start from here

vtr027 August 4, 2014 07:14

nimasam, thanks for your answer.

I have already modified the solver to add other fields. Do you know how to implement this boudary conditon?

nimasam August 4, 2014 12:10

use groovyBC and search for robian boundary condition


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