Hi,

I noticed there are a couple of examples in the folder about
cylindrical cords, and my question is about the the BCs:
mesh.getFacesLeft(0) is the boundary for r=r_{inner}
Right would be r_{outer}
top would be z_{highest}
bottom would be z_{lower}

Is my understanding correct? Basically, I want to solve a 2D diffusion
eqn in a geometry of (r,z) and use the antisymmetry of the center
line.

so for the BC part I will do
 >>> boundaryConditions = (
     ...  FixedFlux(faces=mesh.getFacesLeft(), value=0), #center-line, flux is 0
FixedValue(faces=mesh.getFacesRight(),value=valueRight),
FixedValue(faces=mesh.getFacesTop(),value=z1),

FixedValue(faces=mesh.getFacesBottom(),value=z0),
      ...     )

is my understanding correct?

Thanks,
Tim

Reply via email to