CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   New boundary condition (http://www.cfd-online.com/Forums/openfoam-programming-development/88205-new-boundary-condition.html)

sangoi87 May 11, 2011 05:47

New boundary condition
 
Hi everyone,

I've got a problem with the development of a new boundary condition: in details, I want the updateCoeffs function to be able to read the volScalarField at which the patch is applyed to. This is necessary for me because I need the gradient to vary in a different way for each specie of my reacting system. To be more clear the updateCoeffs function must be able to read the correct specie and to apply everytime the exact expression for the gradient.

For example:

H2 =======> boundary condition ======> select H2 =======> use H2 gradient expression.

Thank you ;)
Sandro


All times are GMT -4. The time now is 00:47.