[dune-fem] Building stiffness matrix
Mauro Pagani
account.facile at hotmail.it
Tue Nov 6 11:47:24 CET 2012
Hi,
I have a problem about solving the equation
________________________________________________________________________________________________________
ε*ε ∂tv + 4v(v*v-1) - 0.5*ε*ε div M v= 0
________________________________________________________________________________________________________
I manage to arrive to modelize this with Euler method, but I don't understand how to calculate Stiffness Matrix
of the form:
Sij = \intK ((M φj)φi) dx
With K a right triangle (dimensions h x h) of the grid and M the coefficient of anisotropy (in more dimensions this become a diagonal square matrix).
I know that S is symmetric, but not diagonal: so to build it I need to have a node and all its neighbours...how could I implement this?
Thank you for your help,
Mauro Pagani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-fem/attachments/20121106/2d73edf9/attachment.htm>
More information about the dune-fem
mailing list