CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Calculated BC (

T.D. September 28, 2010 06:36

Calculated BC

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

i need to solve the "c" volscalarMatrix eqn
lets say:
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


Janez Turk February 20, 2012 12: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 17:03.