Periodic boundary condition in Meshworker.

14 views
Skip to first unread message

Sudarshan Kumar

unread,
Nov 16, 2016, 3:43:23 PM11/16/16
to deal.II User Group

Is there any way to implement periodic  boundary condition with  MeshWorker,?

Any help is appreciated.

Thanks a lot,
Best

Jean-Paul Pelteret

unread,
Nov 16, 2016, 4:43:55 PM11/16/16
to deal.II User Group
Sudarshan,

Does MeshWorker take a constraints matrix? I suspect that it does. If so then yes, you should be able to implement periodic boundary conditions.  I refer you to step-45 to show how this is done.

Regards,
Jean-Paul

Daniel Arndt

unread,
Nov 16, 2016, 5:16:13 PM11/16/16
to deal.II User Group
Sudarshan,

J-P is right. You can use constraints within the MeshWorker framework and hence also periodic boundary conditions.
In more detail, you have to provide the assembler with the ConstraintMatrix. In addition to step-45 for periodic boundary conditions,
you should also have a look to step-16 [1] (LaplaceProblem<dim>::assemble_system ()) for using constraints with MeshWorker.

Best,
Daniel

sudarshan kumar

unread,
Nov 16, 2016, 5:51:51 PM11/16/16
to dea...@googlegroups.com
Thanks  a lot J-P and  Daniel,   Let me please  see  how it works.

Sudarshan

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/5Rtu3KXGoYs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Dr. Sudarshan Kumar Kenettinkara
Post doctoral fellow
Centro de Investigación en Ingeniería Matemática
UDEC, Casilla-160
Concepcion, Chile 4030000
Phone  +56 9 98095323
Office: 20
Phone: +56-4-2661320
Reply all
Reply to author
Forward
0 new messages