Re: [firedrake] Periodic 3D meshes
It's not currently implemented, but you're welcome to do so. The current periodic meshes are built in a roundabout way: to build a 2d periodic mesh, a torus is constructed (this has the desired connectivity but not the desired geometry), then the coordinates are replaced by the coordinates of a rectangle. Related: there must be a way to build these directly, rather than via the hack? I continued using the hack because I didn't know how to build a mesh without going through mesh._from_cell_list. On 23 May 2016 at 09:18, Daniel Ruprecht <D.Ruprecht@leeds.ac.uk> wrote:
Dear Firedrakers,
I am trying to set up a 3D cube mesh, periodic in all three directions, but can't find the correct class to call. At http://firedrakeproject.org/_modules/firedrake/utility_meshes.html only 2d periodic meshes are listed.
Essentially, I'd like something like PeriodicUnitCubeMesh. How do I generate a mesh like this?
Cheers, Daniel
-- Dr. Daniel Ruprecht University Academic Fellow School of Mechanical Engineering, Room 4.50 University of Leeds Leeds LS2 9JT, UK Email: d.ruprecht@leeds.ac.uk Phone: +44 (0)113 343 22 01
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
participants (1)
- 
                
                Andrew McRae