Changing a Mesh for Navier stokes equation

I’m trying to change the Mesh in the Navier stokes implementation

I saw that in the FEniCS (Not FEniCSx) you do have this simple option as mentioned in here

I would like to know whether I can do a similar thing for the FEniCSx as well.

I apologize if my question is basic. (I’m very new to CFD simulations…)

The documentation you’ve linked to is around 10 years old. To generate meshes we recommend using an external mesh generator such as gmsh. See this excellent tutorial for examples.

1 Like