Giter Site home page Giter Site logo

gopikrishnancr / conforming_lagrange_polyn_fem Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 54 KB

Implements Lagrange polynomial finite elements for Elliptic PDE for polynomial degrees 1 to 5. The covergence rates and graphical representations are included.

License: GNU General Public License v3.0

MATLAB 100.00%
fem conforming lagrange polynomial-interpolation matlab

conforming_lagrange_polyn_fem's Introduction

Conforming_Lagrange_Polyn_FEM

This code is intended to perform conforming Lagrange Finite Element Method for Elliptic PDES of the form

 - mu div(grad(u)) + alpha u  = f   in  \Omega,             
              (u_x, u_y). n = u_N  on  \partial\Omega_N,   
                           u = u_D  on  \partial\Omega_D. 

Here, $\Omega$ is the domain of solution which is taken as the unit square (-1,1)^2. The boundaries, \partial \Omega_N is the Nuemann boundary, and \partial \Omega_D is the Dirichlet boundary.

The code is very user friendly. The parameters mu and alpha can be adjusted in the file user_interface.m

Change parameter 'N' to adjust the number of refinements.

The initial_mesh can be adjusted by changing the parameter 'mesh_np'.

The code can k^th degree polynomial FEM up to k = 5.

conforming_lagrange_polyn_fem's People

Contributors

gopikrishnancr avatar

Stargazers

 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.