Table of Contents

FEniCS – Free Finite Element Software

JOIN US ON WHATSAPP TO RECEIVE DAILY UPDATES AND JOB NOTIFICATIONS

Table of Contents

FEniCS is a free finite element software which has an extensive list of features for automated, efficient solution of differential equations, including automated solution of variational problems, automated error control and adaptivity, a comprehensive library of finite elements, high performance linear algebra and many more. The workshop will contain many tutorials on the use of FEniCS for solving PDE problems. The FEniCS website is the best place to start, where you can download extensive documentation, a complete book which is free to download, a shorter manual and of course the software itself.

The first chapter of the FEniCS book is an excellent introduction to what you can do with FEniCS. It is recommended to start here and try out the examples included in the book. It is also available as an online tutorial where you can download the tutorial programs also.

The easiest way to use FEniCS is through python. UFL is a form language used to express finite element variational formulations in FEniCS. The UFL manual can be very handy to lookup the syntax of the form language.

For help regarding FEniCS, there is a very active discussion forum where you can ask your questions.

Installation under ubuntu

It is very easy to install FEniCS on ubuntu. Follow the instructions hereTo get the latest version of the software, use the method given under the section Ubuntu PPA.

Other softwares

FEniCS can generate meshes for simple geometries. To generate meshes for complicated domains which can be used in FEniCS, you can use the GMSH meshing software. Another meshing tool is NETGENwhich is however restricted to generating 3-d meshes only.

FEniCS has in built ability to visualize finite element solutions. But if you want to do more complicated visualizations, you can save the solution in the VTK format which can then be visualized using Paraview. VTK files can also be visualized using Mayavi or Visit.

On ubuntu, you can install netgen and mayavi using the following command

sudo apt-get install netgen netgen-doc mayavi2

or through the synaptic package manager.

Sample test program

In order to test your FEniCS installation, download a sample program which solves Laplace equation on a unit square from here. You can run this on the command line using

python demo.py

You should be able to see the mesh and result displayed on screen.

FEniCS Course Material

  1. 1. Introduction to FEniCS

  2. 2. Static linear PDEs – I

  3. 3. Static linear PDEs – IIdolfin mesh (continuation of previous slide with some repetition), updated on 5 July, 2012.

  4. 4.Basic post-processing and code validationpoisson example codehomework example code

  5. 5. Time dependent PDEsheat equation code

  6. 6. Stokes problem

  7. 7. Incompressible Navier-Stokes equationcylinder meshcode for Chorin method

  8. 8. Discontinuous galerkin method for elliptic equation

  9. 9. A posteriori error estimates and adaptivityadaptive poisson template

JOIN FEM WORKSHOP

 

JOIN US ON TELEGRAM TO RECEIVE DAILY UPDATES AND JOB NOTIFICATIONS

Share on Facebook
Share on Twitter
Share on Linkdin
Share on Whatsapp

Over 1.2 Million+ learners impacted worldwide

Learners from 170+ countries have grown in their career through our programs

Explore Programs  

Global Presence

Get in touch to learn more about how you can make the best of your talent

Spend less time worrying about job availability, and more time growing your knowledge. Join DIYguru Program today.

If you’re a current student, please get in touch through the DIYguru dashboard to ask about more details of this Program.

Please note, eligibility for this course is reserved to students who have done related projects and have relevant profiles matching with the pre-requisite of this course.

The DIYguru team hold the right to cancel your admisssion into the program without any explanation via email if found unsuitable and unfit.

Our 7-day money-back guarantee starts from the moment of signup and runs through the free week. Cancellations between days 7 and 30 will get a prorated refund.

Fees for the program is charged only when the admission is approved.

Flag
PARTNERSHIP

Colleges and Institutions

We're growing rapidly across the country, don’t miss out.

Partner with Us

Fog
UPSKILL

Corporates and Industries

Have workforce requirement or employee upskilling!

Get in Touch

Folder-solid
OPPORTUNITY

Career@DIYguru

Work with a team that’s transforming future mobility.

DIY with Us

Book Your Free Session Now

Avail free Guidebook and Expert Mentorship in EV domain curated by Industry experts.

Register to continue..