changing robin boundary in form
I have the following form with a robin boundary which depends on the Constants bias and resistance coefficients.
F = inner(mun*
J = derivative(F, un, dn)
F = Form(F) #compile the forms
J = Form(J)
To solve I do something like
solver = NewtonSolver()
problem = NonlinearProble
solver.
My problem is that I'd like to solve this for several biases (changing the bias coefficeint inside the forms F, and J). For DirichletBC it is easy because I can create new DirichletBC's and pass them to the NonlinearProblem class without having to rebuild my forms (F, J). Is there a way to have a similar solution for a robin (or neumann for that matter) boundary, maybe using ufl replace?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Chaffra Affouda
- Solved:
- Last query:
- Last reply: