DKS
DKS

Reputation: 218

Variable dependent flux boundary condition in fipy

I have a case where reaction flux is present at a boundary and flux is proportional to the concentration variable c. Will the following correctly apply the boundary condition:

c.faceGrad.constrain(k*c.faceValue, mesh.physicalFaces["ReactingFace"]);

Upvotes: 0

Views: 209

Answers (1)

jeguyer
jeguyer

Reputation: 2484

It sounds like you have a Robin Condition. Please revise your question if that documentation doesn't help.

Upvotes: 1

Related Questions