Skip to content

Support unstructured grid #125

@ashwinvis

Description

@ashwinvis

In #31, we attempt to add support for structured curvilinear meshes (incomplete) by adding indices as the dimensions, instead of x and y.

Here the question is how to open a unstructured mesh into a Xarray dataset. In this case, we cannot rely on indexing the mesh. We have an example file which fits this description.

https://github.com/eX-Mech/pymech-test-data/tree/main/nek/naca

image

Close to the airfoil we cannot rely on indexing to group together elements.

Possible approaches

We need to explore and see what is the best approach:

  1. There is a uxarray package which could be repurposed to load unstructured data.

  2. Convert to vtk and use pyvista-xarray:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions