# Where is the DifferentialEquations finite element tutorial?

**URL:** <https://discourse.julialang.org/t/where-is-the-differentialequations-finite-element-tutorial/101216>\
**Category:** General Usage\
**Created:** [July 5, 2023, 2:41pm UTC](https://discourse.julialang.org/t/where-is-the-differentialequations-finite-element-tutorial/101216 "2023-07-05T14:41:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [July 5, 2023, 2:41pm UTC](https://discourse.julialang.org/t/where-is-the-differentialequations-finite-element-tutorial/101216/1 "2023-07-05T14:41:08Z")

</div>

Can someone please point me to the tutorial mentioned [here](https://github.com/SciML/DifferentialEquations.jl/tree/master) that creates this demo? (Can’t find it in that page)

Thanks

 ![image](https://global.discourse-cdn.com/julialang/original/3X/3/7/3730e6c13ec2fa44ec43ff5a272e53264c54e1a1.jpeg)

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [July 5, 2023, 2:53pm UTC](https://discourse.julialang.org/t/where-is-the-differentialequations-finite-element-tutorial/101216/2 "2023-07-05T14:53:54Z")

</div>

That picture is just old. The FEM submodule is long gone. But if you look at the v1 docs you’ll find it:

[https://docs.sciml.ai/DiffEqDocs/v1.6/tutorials/fempoisson\_example.html](https://docs.sciml.ai/DiffEqDocs/v1.6/tutorials/fempoisson_example.html)

That won’t run on any modern Julia though.

These days we’d recommend using DiffEq with FEniCS.jl or Gridap.jl

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [July 5, 2023, 3:01pm UTC](https://discourse.julialang.org/t/where-is-the-differentialequations-finite-element-tutorial/101216/3 "2023-07-05T15:01:54Z")

</div>

Thanks. But in fact I’m only interested (by now) in having access into a solution type that would be plotted in a 2D or 3D view. Can you please point me into one that I can reproduce? This is for plotting purposes, not really the physics/math behind it.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [July 5, 2023, 4:49pm UTC](https://discourse.julialang.org/t/where-is-the-differentialequations-finite-element-tutorial/101216/4 "2023-07-05T16:49:56Z")

</div>

They are trisurf plots, like

> **[Triangular surface plot - MATLAB trisurf](https://www.mathworks.com/help/matlab/ref/trisurf.html)**
>
> This MATLAB function plots the 3-D triangular surface defined by the points in vectors x, y, and z, and a triangle connectivity matrix T.

You might want to see:

> <https://github.com/JuliaPlots/Plots.jl/issues/392>
>
> I really like the idea of this package and I am more and more relying upon it. T…hese is one type of plots however that I encounter very frequently in my work and that does not seem to be supported by plots.jl: an interface for the plotting of triangular meshes in 3d. At least the PyPlot and PlotsJS backends provide support through their \`trisurf\_plot\` and \`mesh3d\` API's, respectively. This leaves me with a mix of Plots calls and direct backend invocations.
> 
> Is this somehow already supported or are there any plans to support this API in the future?

In theory the right target in Julia would be to get this working on a Meshes.jl interface.

[https://juliageometry.github.io/Meshes.jl/stable/](https://juliageometry.github.io/Meshes.jl/stable/)

Let me know if you need anymore pointers. The janky stuff we had back then has pretty much been generalized to what’s now many packages handling each part, with some done by SciML but then other things around, which is why the FEM stuff was scrapped for its components (and some components like the meshing was scrapped entirely), so some of the JuliaGeometry stuff might be a better place to look these days.

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [July 5, 2023, 5:14pm UTC](https://discourse.julialang.org/t/where-is-the-differentialequations-finite-element-tutorial/101216/5 "2023-07-05T17:14:41Z")

</div>

Thanks, but it seems I was not clear. I’m sneaking into ODE types to make them plot from GMT. Contrary to the _cons_ point in your [blog post](http://www.stochasticlifestyle.com/summary-of-julia-plotting-packages/) about plotting packages, GMT can plot _trisurf_ like stuff. It just didn’t have a function with that name (but now it has). It can also now plot _t,u_ plots without resorting to any recipes system and I would like to extend that to solutions that need 2D/3D views. I think I found one example [here](https://www.stochasticlifestyle.com/solving-systems-stochastic-pdes-using-gpus-julia/) but it seems it requires GPU capabilities (but my laptop is beefy, time to install that).
