Skip to content

Toratom/ExploringQuadFEM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quadrilateral Elements in FEM

Overview

This small project is composed of two files quad.py and naive_quad.py:

  • naive_quad.py is a deliberately incorrect implementation of quadrilateral elements. It does not use a canonical representation as an intermediary between the rest quadrilateral and the deformed quadrilateral. As a result, the deformed quadrilateral reconstructed using the basis functions does not correspond to the true deformed quadrilateral (the basis function is in some cases negative).
  • quad.py is a correct implementation of quadrilateral elements. First, the user draws the rest pose of the quadrilateral, right-clicking on the position of its corners. Then, by closing the window, the user can now draw the deformed quadrilateral. Closing the window, the user can view the basic functions. Finally, by closing the window, the user can view the deformation gradients at 4 points on the quadrilateral.

This small project is done in Python.

Illustration
Drawing of the rest quad - Drawing of the deformed quand - Visualization of basis functions - Visualization of deformation gradient

About

Personal project. The aim was to better understand the quadrilateral element in the FEM by visualizing the basis functions and the deformation gradient.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages