CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Implementation of Robin boundary condition in OpenFoam (https://www.cfd-online.com/Forums/openfoam/238186-implementation-robin-boundary-condition-openfoam.html)

sourav8016 August 28, 2021 00:41

Implementation of Robin boundary condition in OpenFoam
 
I have to code the following Boundary Condition in OpenFoam. I'm seeking for suggestions how to code this:

\kappa u_* y (1- \frac{y}{h})\frac{\partial C}{\partial y} + w_0 C = 0

where \kappa ,u_* , w_0 are constants. C is concentration.

Tobermory August 28, 2021 07:15

The base boundary condition that you want is "mixed" - check out https://www.openfoam.com/documentati...bcs-mixed.html. You'll need to use something like swak4Foam to set your value fractions though.


All times are GMT -4. The time now is 07:52.