dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #12866
Re: Curl-curl demo
Bartosz Sawicki wrote:
I've written simple demo of curl-curl equation. It is based on
eddy-currents phenomena in low conducting materials. So far, in the
demo directory, there are no examples of this kind of PDE, where
Nedelec elements are used.
If you found it useful, please consider placing it in the repository.
The patch which I'm sending, contains cpp and python code. Cpp works
fine, but demo.py gives wrong results. I have no idea, whats wrong in
the python code. Please, take a look, this is probably bug.
(1) There seems to be a minus sign discrepancy between the two demos in
the EddyCurrents part.
(2) In the python demo, replace
bc = DirichletBC(P1, zero, DirichletBoundary())
by
bc = DirichletBC(PN, zero, DirichletBoundary())
--
--
Marie E. Rognes
Center for Biomedical Computing
Simula Research Laboratory
Follow ups
References