Coder Social home page Coder Social logo

azzeddinetiba / feclap Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 46.65 MB

FeCLAP: A small solver for the Finite element analysis of Composite Laminate Plates with rectangular geometries. This personal project solver supports static, modal, transient and non linear analysis using a perfectly plastic model.

License: GNU General Public License v3.0

Python 96.46% C++ 3.54%
simulation finite-element-method composites plasticity

feclap's Introduction

Code Size Stargazers Issues version commits LinkedIn


Logo

FeCLAP

A simple solver for laminate composite plates
Explore the docs »

View Demo · FeCLAP Bug · Request Feature

Table of Contents

About The Project

Product Name Screen Shot

This is a personal project small solver for the Finite element analysis of Composite LAminate Plates = FeCLAP for rectangular geometries. This solver supports static, modal, transient and non linear analysis using a perfectly elasto-plastic model. Only triangular mesh (Argyris elements for bending and Linear Lagrange elements for membrane displacement are supported currently) from distmesh is available, and only rectangular geometries. The plastic model used is based on a Tsai-Hill yield function, with no plastic hardening.

Getting Started

To get a local copy up and running follow these simple steps. See Usage for using the solver.

Prerequisites

This project requires the following libraries:

  • Cython
pip install cython
  • Numpy
pip install numpy
  • Scipy
pip install scipy
  • Eigency
pip install rmjarvis.eigency
  • distmesh
    Instead of installing via pip, we recommend icnluding the distmesh source code folder into the remaining FeCLAP folder, avoiding thus Lapack incompatibility issues.

Installation

  • Clone the FeCLAP
git clone https://github.com/azzeddinetiba/FeCLAP.git
  • Install the required packages

  • Delete FeCLAP\NonLinearModule\NonLinearModule.cpp

  • Build the NonLinearModule (this build uses Cython and C++)

python setup.py build
python setup.py install
  • Create and add to FeCLAP\NonLinearModule\ or FeCLAP\NonLinearModule-1.0-py3.8-win-amd64.egg\NonLinearModule\ the file \__init__.py (Folder names vary depending on the python version, and the environment used) with:
from .NonLinearModule import * 

The program needs ffmpeg installed (change the directory where ffmpeg is installed in line 12 in Main.py) to save mode shapes animations.

Usage

The solver is used by running Main.py and the user can follow the instructions on how to input the model data. The result files and plots will be stored in the directory Results.

To use the binary version, donwnload FeCLAP for the FeCLAP v1.1.0 and run Main.exe (Some animation features could not work properly)

test_examples.py includes 3 example cases, these could be solved simply by running the script, the results generated will be stored in the Example_Cases_Results Directory, and replace the existing reference results. So make sure you store those files to compare later. (Remember to exit the generated figures to allow the script to keep running). The text file for the first case results however will be stored in the main Results Directory

For more info, Please refer to the Documentation (Under construction)

Screenshots

Here are some screenshots for some results gotten from this code. screen1

screen2

screen3

screen4

screen5

screen6

screen7

Roadmap

See the open issues for a list of proposed features (and known issues).

Contact

TIBA Azzeddine - Portfolio - [email protected]

Project Link: FeCLAP Github Link

Acknowledgements

References

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.