Giter Site home page Giter Site logo

fenicsx_polymers's Introduction

FEniCSx for polymers

FEniCSx for polymers is simple API for FEniCSx - finite element analysis framework for python. See https://github.com/FEniCS/dolfinx. Fenics package is facade for low level dolfinx lib and contains high level functions for quick set up general structures for FEniCSx solvers. I created docker image with all necessary dependencies.

This is my university course work of mathematical modeling of diffusion processes in multicomponent photopolymerization system. See for another information about chemical aspects: https://github.com/EnglishBeach/COMSOL_polymers.

Structure

  • fenics - API forlder:
    • operators - functions, different operators from ufl and nessesary clases for set up study
    • express - constructors and tools for simple build and configure common studies
    • distributions - module collecting different form distributions
  • Solver.ipynb - solver for diffusion processes of photopolymerization
  • parametrs - parametrs for 1D and another tasks with boundary conditions and so on

Usage

Easiest way is Docker images:

docker run -ti englishbeach/fenics:v0.1

For network:

docker run --init -ti -p 8888:8888 englishbeach/fenics:v0.1  # Access at http://localhost:8888

Changes:

  • corrected complicated parametrs set up
  • unify high and low level variables realisations: ufl.Expressions, fem.Functions, fem.Consstants and pythonic functions, floats
  • new tools for efficient solving and viewing results

Plans:

  • Fix database for recording results
  • add setup for fenics package
  • add 2D support and relevant functions
  • add more API elements for another FEniCSx features
  • fix some bad errors in dolfinx functions (infite circle trying compile ufl form in function)

fenicsx_polymers's People

Contributors

englishbeach avatar wseng avatar

Stargazers

 avatar

Forkers

mfkiwl

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.