Skip to content

watf-dev/FEM_Beam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FEM solver for cantilever beam

Configuration

config pic

To edit the material properties in the setting section of FEM_solver.py, open the file and change values if needed;

  • E: Young's modulus
  • nu: Poisson's ratio
  • Py: vertical load on the edge of right top

Run

./src/run.sh 40 10
  • arg1: the number of elements in x
  • arg2: the number of elements in y
./src/run_steps.sh

Example Results

Comparison of Tip Displacement Across Different Configurations

convergence


The number of elments over height = 1


The number of elments over height = 4


The number of elments over height = 10


The element aspect ratio = 1

Appendix

Cloning the Repository

To clone the repository with its submodules,

git clone --recurse-submodules https://github.com/watf-dev/FEM_Beam.git

To add the directory to the PATH, for example,

echo 'export PATH=$PATH:/path/to/directory' >> ~/.zshrc
source ~/.zshrc

Mesh Generation

Currently, a TEST mesh is available in the public directory.

About

FEM solver for cantilever beam

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published