[Getdp] problem solution permanent magnets-getdp

Frederic Trillaud ftrillaudp at gmail.com
Mon Feb 25 03:48:44 CET 2013

Thanks Jasper,

I did use "Coherence Mesh;" to make sure that it would not be the case
(line No.33  in permanentMagnet.geo file).
I am going to try to do the same example without duplicating the lines
to see how it goes.

----Original Message-----
From: Jasper <funkybob at gmail.com>
To: Frederic Trillaud <ftrillaudp at pumas.ii.unam.mx>
Cc: getdp at geuz.org
Subject: Re: [Getdp] problem solution permanent magnets-getdp
Date: Sun, 24 Feb 2013 19:08:10 +0100

Hi Frederic,

The issue is with your geometry definition. Shared edges of surfaces
use multiple lines and circles. As such you have to issue a
"Coherence" command before defining your physical groups.
A beter way forward would be to make sure lines and circles are
uniquely defined (i.e. only once).

Best regards,


On Sat, Feb 23, 2013 at 9:52 PM, Frederic Trillaud
<ftrillaudp at pumas.ii.unam.mx> wrote:
> Hi,
> I have been doing some tests on permanent magnets. I am having some
> issues with the magnetic solution of a problem involving 2 permanent
> magnets. The solution of the magnetic field looks awkward.
> Here are the files and a pic of the geometry showing the magnets. If
> someone has an opinion on what may be the reason of the obtained flux
> lines.
> To run the example, I have created the script main.sh which generates
> the mesh, solve and generate the pos files.
> Best,
> Frederic
> _______________________________________________
> getdp mailing list
> getdp at geuz.org
> http://www.geuz.org/mailman/listinfo/getdp