CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Calculated BC (http://www.cfd-online.com/Forums/openfoam-solving/80497-calculated-bc.html)

T.D. September 28, 2010 06:36

Calculated BC
 
Hi,



J was defined here as function of the field "c".

and
i need to solve the "c" volscalarMatrix eqn
lets say:
solve
(
fvm::ddt(c) + fvm::div(phi,c) == fvc:: (A*fvc::div(J) )
)

the question is
How to put a BC on a patch for "c" field, that depends on "J"

forExample, i need to put J=0 in a certain patch of the "c" Boundaries.


Thanks a lot

T.D.

Janez Turk February 20, 2012 11:57

Do you have an answer?
 
Do you have an answer?

I cannot find any example of how to use "calculated" boundary condition. I even don't know if it's a correct choice.

LP Janez


All times are GMT -4. The time now is 11:50.