CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   New boundary condition (

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 ;)

All times are GMT -4. The time now is 22:29.