Skip to content

Add support for quadrilateral elements (enhancement) #173

@jahargreaves

Description

@jahargreaves

Hello, I've often worked on problems that are more naturally meshed with quadtrilaterals, and am about to start another, so I'm wondering if it would be possible to add this functionality? I'd be happy to assist if you choose to progress this.

I'm naivie to some of bempp's inner workings. but at face value there's four steps:

  • Add appropriate shape functions to the library. These are trivially simple to define for scalar problems at least
  • Update the assembly & DOF management. For PWC and PWL this would require little change from triangles - one DOF per element or per node, respectively.
  • Add numerical quadrature rules. This would require more thought & validations since, although the Hyena codebased & Sauter & Schwab's textbook have regualarised schemes in them, neither worked as well as I expected when I've tried them previously.
  • Deal with the potential for bilinear element curvature. This may or may not be straightforward, depending on how normal and tangent vectors are handled within integration kernels (e.g. can they be abcissa-dependent?) If not, then the easiest thing might be to add a check when a mesh is loaded to check that all the quads are planar (they are for all the cases I'm interested in).

Other barriers might be dependencies on other libraries or interfaces I guess, but I can't comment on that.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions