Git Product home page Git Product logo

fem_mesh_matlab's Introduction

MATLAB Toolbox for Handling 2D and 3D FEM Meshes

license - BSD language - MATLAB category - science status - maintained

This MATLAB toolbox offers numerous functionalities for handling 2d and 3d meshes:

  • Parse geometry (edge, surface, and volume) - 'extract_geom.m'
  • Plot geometry (edge, surface, volume, normal vector, and tangential vector) - 'plot_geom.m'
  • Assign variables to the vertices of the meshes - 'extract_data.m'
  • Plot variables (scalar variable and vector field) - 'plot_data.m'
  • Integrate variables on the meshes (scalar variable and vector field) - 'integrate_data.m'
  • Interpolate variables on the meshes - 'interp_data.m'

The toolbox can be used for the following tasks:

  • Processing finite element method (FEM) results (e.g. COMSOL, ANSYS, OpenFOAM)
  • Handling geographic information system (GIS) data (e.g. digital elevation model)
  • Handling additive manufacturing data (e.g. 3d printing)

Examples

The example run_bridge_example.m handles a complex 3d structural analysis:

The example run_simple_example.m uses a simple 2d and 3d electrostatic simulation. This example is used to systemically test/demonstrates the different functions of the toolbox:

Limitations

The following limitations apply to the toolbox:

  • For 2d meshes and 3d surfaces, only triangular meshes are supported (no quadrilateral meshes)
  • For 3d volumes, only tetrahedral meshes are supported (no hexahedral meshes)
  • The integration and interpolation methods are considering linear schemes (no higher-order)
  • Probably not scalable to very large meshes (tested with 3.5 million vertices and 7 million triangles)

Compatibility

The toolbox requires the following software packages:

  • Tested with MATLAB R2018b
  • No toolboxes are required
  • Compatibility with GNU Octave not tested but probably slightly problematic

The following software packages are used for generating the data of the examples:

  • COMSOL 5.4 for generating the meshes and the solutions
  • Inventor 2019 for the CAD drawings

Author

Thomas Guillod - GitHub Profile

License

This project is licensed under the BSD License, see LICENSE.md.

fem_mesh_matlab's People

Contributors

otvam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fem_mesh_matlab's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.