GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - clemsadand/fem-fenicsx: Solving heat equation with FEniCSx: using Lagrange and Crouzeix-Raviart finite element methods

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
img
img
 
 
README.md
README.md
 
 
main_diffusion_CR.ipynb
main_diffusion_CR.ipynb
 
 
main_diffusion_Lagrange.ipynb
main_diffusion_Lagrange.ipynb
 
 

Repository files navigation

FEM with FEniCSx

Python Version FEniCSx

Overview

gif

This repository contains examples and tutorials for solving various partial differential equations (PDEs) using the FEniCSx library. FEniCSx is a popular open-source computing platform for solving PDEs, and this repository aims to demonstrate its application in finite element methods (FEM).

Contents

  • Heat Equation: A tutorial on solving the dynamic heat equation using the Euler backward scheme in time and a finite element method in space. We used Lagrange and Crouzeix-Raviart finite element methods.
  • Stokes Problem: An example of solving the dynamic Stokes problem in 2D using Lagrange finite element spaces (coming soon...).
  • Other Examples: Additional PDE problems and their solutions using FEniCSx.

Installation

To run the examples in this repository, you need to have FEniCSx installed. You can install it using Docker, Conda, or from source. Detailed installation instructions can be found in the FEniCSx documentation.

Usage

Clone the repository and navigate to the desired example directory to run the scripts. For example, to run the heat equation example:

git clone https://github.com/clemsadand/fem-fenicsx.git
cd fem-fenicsx/heat-equation
python solve_heat_equation.py

About

Solving heat equation with FEniCSx: using Lagrange and Crouzeix-Raviart finite element methods

Topics

crouzeix-raviartfenicsxfinite-element-methodslagrange

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.