← Back to team overview

dolfin team mailing list archive

Re: [Question #139802]: symmetric boundary condition

 

Question #139802 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/139802

    Status: Open => Solved

Sungick Kim confirmed that the question is solved:
It was solved by Krishna Garikipati's help.

V = VectorFunctionSpace(mesh, "CG", 1)
xplane = compile_subdomains("  x[0] < 0 +5*DOLFIN_EPS && on_boundary")
displacement = Constant(0.0)
bc_m1 = DirichletBC(V.sub(0), displacement, xplane)

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.