have trouble to understand cahn-hilliard demo code
There is a demo code under src/demo/
I have gone through the nonlinear and time-dependent prob parts in the tutorial. But I still have trouble to understand the approach the author did. He seems to split the original eqn into 2 eqns. Does anybody know the original eqn and the derivations?
I also have trouble to understand the following code:
dk, dc = split(du)
class CahnHilliardEqu
def __init__(self, a, L):
self.L = L
self.a = a
def F(self, b, x):
def J(self, A, x):
They haven't been covered in the tutorial. Are there any other documents to learn these?
Any help will be appreciated.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Andy R Terrel
- Solved:
- Last query:
- Last reply: