[dune-pdelab] dune-pdelab Digest, Vol 84, Issue 1

Dodwell, Timothy T.Dodwell at exeter.ac.uk
Mon Jan 16 14:15:01 CET 2017


Steffen,

Thank you (as always) yup just need to run as mpirun –np 1 ./dune-sexy_program !!

See you at the Dune User Meeting.

Tim



Dr Tim Dodwell
Senior Lecturer in Engineering Mathematics
Rm 221 - Harrison Building
College of Engineering, Mathematics & Physical Sciences
University of Exeter
Exeter
Devon
EX4 4PY
 
mail: t.dodwell(at)exeter.ac.uk <http://exeter.ac.uk/>
tel: +44 (0)1392 725899
mob: +44 (0)7745 622870
web: http://emps.exeter.ac.uk/engineering/staff/td336
Papers and Pre-prints: @Research-Gate <https://www.researchgate.net/profile/Timothy_Dodwell>
Citations: @Google-Scholar <https://scholar.google.co.uk/citations?user=lPpjRfUAAAAJ&hl=en>
 

On 16/01/2017, 12:25, "dune-pdelab-bounces+t.dodwell=exeter.ac.uk at dune-project.org on behalf of dune-pdelab-request at dune-project.org" <dune-pdelab-bounces+t.dodwell=exeter.ac.uk at dune-project.org on behalf of dune-pdelab-request at dune-project.org> wrote:

    Send dune-pdelab mailing list submissions to
    	dune-pdelab at dune-project.org
    
    To subscribe or unsubscribe via the World Wide Web, visit
    	http://lists.dune-project.org/mailman/listinfo/dune-pdelab
    or, via email, send a message with subject or body 'help' to
    	dune-pdelab-request at dune-project.org
    
    You can reach the person managing the list at
    	dune-pdelab-owner at dune-project.org
    
    When replying, please edit your Subject line so it is more specific
    than "Re: Contents of dune-pdelab digest..."
    
    
    Today's Topics:
    
       1. Periodic Boundary Conditions in Sequential (Dodwell, Timothy)
       2. Re: Periodic Boundary Conditions in Sequential (Steffen M?thing)
    
    
    ----------------------------------------------------------------------
    
    Message: 1
    Date: Mon, 16 Jan 2017 12:06:55 +0000
    From: "Dodwell, Timothy" <T.Dodwell at exeter.ac.uk>
    To: "dune-pdelab at dune-project.org" <dune-pdelab at dune-project.org>
    Subject: [dune-pdelab] Periodic Boundary Conditions in Sequential
    Message-ID: <54FC0D7A-5A2B-47D0-B0A8-A8E4BB4B34CE at exeter.ac.uk>
    Content-Type: text/plain; charset="utf-8"
    
    Dear All,
    
    I have a post-doc modelling a 2D problem on a donut. We have implemented this in YaspGrid with Geometry Grid.
    
    We clearly need to setup periodic boundary conditions.
    
    I thought DUNE handled this much like parallel domain decomposition, so you have to set the overlap to one and tell the grid it is periodic (then that is it!)
    
    From the look of our solutions the periodic boundary conditions have not been implemented correctly
    
    
    -    Does YaspGrid ignore the overlap if you run it in sequential mode?
    
    
    
    -    Do you have to write a constraint space for periodic boundary conditions in sequential (all the examples of this are assembled elementwise which is not what we want for periodic boundary conditions!)
    
    Any help would be great! Thanks in advance!
    
    Tim
    
    
    Dr Tim Dodwell
    Senior Lecturer in Engineering Mathematics
    Rm 221 - Harrison Building
    College of Engineering, Mathematics & Physical Sciences
    University of Exeter
    Exeter
    Devon
    EX4 4PY
    
    mail: t.dodwell(at)exeter.ac.uk<http://exeter.ac.uk/>
    tel: +44 (0)1392 725899
    mob: +44 (0)7745 622870
    web: http://emps.exeter.ac.uk/engineering/staff/td336
    Papers and Pre-prints: @Research-Gate<https://www.researchgate.net/profile/Timothy_Dodwell>
    Citations: @Google-Scholar<https://scholar.google.co.uk/citations?user=lPpjRfUAAAAJ&hl=en>
    
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.dune-project.org/pipermail/dune-pdelab/attachments/20170116/df9be82f/attachment-0001.html>
    
    ------------------------------
    
    Message: 2
    Date: Mon, 16 Jan 2017 13:25:27 +0100
    From: Steffen M?thing <steffen.muething at iwr.uni-heidelberg.de>
    To: "Dodwell, Timothy" <T.Dodwell at exeter.ac.uk>
    Cc: dune-pdelab mailing list <dune-pdelab at dune-project.org>
    Subject: Re: [dune-pdelab] Periodic Boundary Conditions in Sequential
    Message-ID:
    	<234964E4-0C4F-44B3-B6E7-79D0CECD30B4 at iwr.uni-heidelberg.de>
    Content-Type: text/plain; charset="utf-8"
    
    Hi Tim,
    
    > Am 16.01.2017 um 13:06 schrieb Dodwell, Timothy <T.Dodwell at exeter.ac.uk>:
    > 
    > Dear All,
    > 
    > I have a post-doc modelling a 2D problem on a donut. We have implemented this in YaspGrid with Geometry Grid.
    > 
    > We clearly need to setup periodic boundary conditions.
    > 
    > I thought DUNE handled this much like parallel domain decomposition, so you have to set the overlap to one and tell the grid it is periodic (then that is it!)
    
    yes, that?s how it?s done (at least with YaspGrid).
    
    > 
    > From the look of our solutions the periodic boundary conditions have not been implemented correctly
    > 
    > -    Does YaspGrid ignore the overlap if you run it in sequential mode?
    
    No, the overlap is there (but I?m not sure if you need to have Dune compiled with MPI support, there might be shortcuts in the
    code that prevent it from working correctly without MPI enabled).
    
    > 
    > -    Do you have to write a constraint space for periodic boundary conditions in sequential (all the examples of this are assembled elementwise which is not what we want for periodic boundary conditions!)
    
    You have to use OverlappingConformingDirichletsConstraints for this to work, otherwise the constraints assembler will not put
    any constraints on the periodic boundaries (which are recognized as processor boundaries in this case).
    
    Steffen
    
    > 
    > Any help would be great! Thanks in advance!
    > 
    > Tim
    > 
    > 
    > Dr Tim Dodwell
    > Senior Lecturer in Engineering Mathematics
    > Rm 221 - Harrison Building
    > College of Engineering, Mathematics & Physical Sciences
    > University of Exeter
    > Exeter
    > Devon
    > EX4 4PY
    > 
    > mail: t.dodwell(at)exeter.ac.uk
    > tel: +44 (0)1392 725899
    > mob: +44 (0)7745 622870
    > web: http://emps.exeter.ac.uk/engineering/staff/td336
    > Papers and Pre-prints: @Research-Gate
    > Citations: @Google-Scholar
    > 
    > _______________________________________________
    > dune-pdelab mailing list
    > dune-pdelab at dune-project.org
    > http://lists.dune-project.org/mailman/listinfo/dune-pdelab
    
    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: signature.asc
    Type: application/pgp-signature
    Size: 488 bytes
    Desc: Message signed with OpenPGP using GPGMail
    URL: <http://lists.dune-project.org/pipermail/dune-pdelab/attachments/20170116/4b9336a7/attachment.pgp>
    
    ------------------------------
    
    _______________________________________________
    dune-pdelab mailing list
    dune-pdelab at dune-project.org
    http://lists.dune-project.org/mailman/listinfo/dune-pdelab
    
    
    End of dune-pdelab Digest, Vol 84, Issue 1
    ******************************************
    



More information about the dune-pdelab mailing list