Coder Social home page Coder Social logo

sedaoturak / linear_elasticity_3d_fenics Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 36.17 MB

Finite element modeling for linear elasticity problem in 3D by using FEniCS software

Jupyter Notebook 100.00%
fea fenics finite-element-analysis finite-element-methods plotly plotly-python pygmsh python 3d-models linear-elasticity

linear_elasticity_3d_fenics's Introduction

Linear Elasticity Problem in 3D by FEniCS

This repository shows how to model a three dimensional (3D) part and simulate for a linear elasticity problem. FEniCS, Python based open-source partial differential equation software, is used to simulate the part, while 3D cylindrical part is modeled by pygmsh library -python package for gmsh software.

The code is written in Google Colab. The dependencies or installation details may change dor local machines or other platforms.

This example is expected to be helpful to students, researchers or anyone who starts to use FEniCS.

Any contribution is more than welcome!

Geometry

The part is a cylinder with radius of 20 mm and height of 20 mm. It was created by using pygmsh library which is the Python interface of Gmsh mesh generator software.

Material

Material is chosen as aluminum to show the linear elasticity behaviour.

Problem Definition

The part is simulated under applied displacement in compression mode. There is also a mode for applying force application in the problem definition.

As boundary conditions, the bottom surface of the part is fixed in x, y and z directions, while on top, the surface is free in z direction and fixed in x and y directions.

def

Visualizations

Plotly library is used to vusalize the part, mesh and the deformed body after the simulation.

linear_elasticity_3d_fenics's People

Contributors

sedaoturak avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.