dirichlet boundary conditions
Hello,
The Dirichlet boundary conditions for the hyperelasticity demo are implemented as follows:
# Mark boundary subdomians
left, right = compile_
# Define Dirichlet boundary (x = 0 or x = 1)
c = Expression(("0.0", "0.0", "0.0"))
r = Expression(
bcl = DirichletBC(V, c, left)
bcr = DirichletBC(V, r, right)
bcs = [bcl, bcr]
In this case the three components of the displacement are imposed on each point
of the boundary.
Is it possible (and how?) to impose only one component of the displacement ?
For example if u=(ux,uy,uz) I would like to impose only ux=0,uy=0 and let uz free
on a corner point.
Thanks in advance
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Dupront
- Solved:
- Last query:
- Last reply: