[Finite Element 5] Installing FEniCS and importing the mesh into it

Ғылым және технология

In the previous video, we solved our finite element example in FreeFEM. Similar to FreeFEM, FEniCS is also a very powerful open-source finite element framework, so we are going to try it to see how we can implement our model, this time in FEniCS. As a first step, we need to prepare the mesh to be imported into FEniCS. In this video, we install FEniCS and talk about some extra steps we need to take to make the mesh ready for its new destination.
Codes, models, and resources:
In order to follow the videos and reproduce the output, you may want to use the ready codes and models instead of creating them from scratch using the instructions from previous videos. You can find all the relevant stuff, grouped for different episodes in tuxriders.com/videos/finite-el... and github.com/TuxRiders/finite-e...
You can see the rest of the episodes of the finite element series here: • Introduction to finite...
Applied numerical computing series, in which the underlying theories of these videos are discussed: • Introduction to applie...
Topics covered:
🎯 Differences between new FEniCSx and legacy FEniCS
🎯 Installation procedure of FEniCS
🎯 Converting mesh files into FEniCS XML format
🎯 Using GMSH to label boundaries such that FEniCS can read them
🎯 Checking correctness of imported mesh files in FEniCS
Lecturer: Mojtaba Barzegari mbarzegary.github.io/
To learn more about the goals of the TuxRiders project, please visit our website at tuxriders.com.
Chapters in this video!
################
00:00 - Intro
01:08 - An overview of FEniCS vs. FEniCSx
02:39 - Installing FEniCS
07:28 - Checking if Dolfin conversion tool works for SALOME output
11:03 - Preparing the boundary labels using GMSH
15:00 - Converting the mesh and checking it with FEniCS

Пікірлер: 16

  • @pinedaarc
    @pinedaarc2 жыл бұрын

    thanks! your video cleared me a couple of doubts

  • @TuxRiders

    @TuxRiders

    2 жыл бұрын

    glad to know it was useful for you :)

  • @ComputationalModelingExpert
    @ComputationalModelingExpert4 ай бұрын

    Love your videos! Keep it up! :)

  • @TuxRiders

    @TuxRiders

    4 ай бұрын

    Thank you :). Glad you like them.

  • @mohammadzamani4068
    @mohammadzamani40682 жыл бұрын

    Thanks for Sharing

  • @TuxRiders

    @TuxRiders

    2 жыл бұрын

    you're welcome :)

  • @MrFischvogel
    @MrFischvogel2 жыл бұрын

    My dear friend, thanks a lot for introducing me to FreeFEM and fenics and their comparison! This playlist has been a great intro. Where can I find the video, which you mentioned at the end, about actually putting fenics to work ? I am excited :))

  • @TuxRiders

    @TuxRiders

    2 жыл бұрын

    My pleasure! I will upload the mentioned video tomorrow. Another relevant video will be uploaded next week in which I compare FreeFEM and FEniCS.

  • @MrFischvogel

    @MrFischvogel

    2 жыл бұрын

    @@TuxRiders Oh great, thanks a lot !!

  • @jorgecortescampana5698
    @jorgecortescampana56982 жыл бұрын

    Excellent video! However, I still have a doubt. How can I assign different conductivity to each subdomain using "cd=MeshFunction(...)" ?

  • @TuxRiders

    @TuxRiders

    Жыл бұрын

    thanks :) regarding your question: I've never done such thing in FEniCS using subdomains, and for sure there is an easy way to do so. but, as an example of a simpler case, you may put an expression like k=Expression('(x[2]>100)*300 + (x[2]

  • @advancedappliedandpuremath
    @advancedappliedandpuremath Жыл бұрын

    Hi Sir , hope you are good can you plz explain how to import mesh from gmsh to Freefem++ step by step in windows 10

  • @TuxRiders

    @TuxRiders

    Жыл бұрын

    Hi, sure, but there is no significant difference between Linux and Windows here. you can follow what we did in the FE series (kzread.info/head/PL6fjYEpJFi7VgHQb-mr5giy2FQyf5y04L) to do so. I will create a dedicated video for GMSH+FreeFEM soon.

  • @advancedappliedandpuremath

    @advancedappliedandpuremath

    Жыл бұрын

    @@TuxRiders Sure Sir plz as soon as possible i am stuck in my research thesis

  • @solarielee7540
    @solarielee754027 күн бұрын

    Mine is asking for a password. What do I do?

  • @TuxRiders

    @TuxRiders

    18 күн бұрын

    in which stage?

Келесі