← Back to team overview

fenics team mailing list archive

Re: PDEs on quirky geometries

 

On Fri, Dec 18, 2009 at 02:53:31PM +0100, Marie Rognes wrote:
> Harish Narayanan wrote:
> >Dear fellow PDE solvers,
> >
> >The sort of question I am about the phrase might seem strange to some,
> >but perhaps it will seem natural to others.
> >
> >Last evening, I was curious about meshing quirky geometries like the
> >Möbius strip in DOLFIN. This morning, I was curious about solving a PDE
> >on such a domain, and so I came up with the attached python script.
> >
> >The script purportedly sets up a Poisson equation (with homogeneous
> >boundary conditions and a constant source) on a Möbius strip (with four
> >twists) and "solves it." I see a pretty looking plot with some
> >psychedelic colours, but can someone who knows more about this stuff be
> >kind enough to clarify what I've ended up doing?
> >
>
> I haven't got the foggiest, but I'd like to know more as well!
>
> So is this a mesh of triangles with 3D coordinates? (I didn't even
> know that we could do that ;) )

Anything is possible with FEniCS.

But I'm also quite amazed Harish managed to do this. I would assume it
would break in any number of places all over (FFC, DOLFIN, Viper) but
apparently not. I need to think more on why and how this works and
what it actually does.

--
Anders

Attachment: signature.asc
Description: Digital signature


References