dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03738
Re: Periodic BC's
You may for example apply your periodic bc by identifying "master and
slave" dofs on the two (if periodic in one direction) periodic boundaries;
so that when assembling, all contribution to the slave dofs are added to
the corresponding master dofs, and the slave dofs are then identified with
the master dofs (in the simplest way by using 1 and -1 in the rows of the
slave dofs; maybe not that pretty, but it works in many cases...).
/Johan
> Correct, but you can always do it manually.
>
> /Anders
>
>
> On Sun, Nov 12, 2006 at 11:06:01PM +0100, Garth N. Wells wrote:
>> DOLFIN doesn't support periodic boundary conditions yet. Support for
>> this will probably be added in the future.
>>
>> Garth
>>
>> Ivo Conradi wrote:
>> > Hello all,
>> >
>> > I've just started using dolfin and I'm trying to find out if dolfin
>> > supports periodic boundary conditions. I looked at the gallery and I'm
>> > sure some of you already implemented periodic bc's, but I can't find
>> > anything like it in the source tree. Can someone point me to an
>> example
>> > of how to do this?
>> >
>> > regards,
>> >
>> > Ivo
>> > _______________________________________________
>> > DOLFIN-dev mailing list
>> > DOLFIN-dev@xxxxxxxxxx
>> > http://www.fenics.org/mailman/listinfo/dolfin-dev
>> >
>>
>> _______________________________________________
>> DOLFIN-dev mailing list
>> DOLFIN-dev@xxxxxxxxxx
>> http://www.fenics.org/mailman/listinfo/dolfin-dev
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>
Follow ups
References