Skip to content
Discussion options

You must be logged in to vote

I think we could make ex4 - a basic explicit time integration solution to the heat equation. This shows our users 2 concepts - usage of the operator diagonal and managing a few different operators at once.

Many of the pieces you need for this are in ex1 and ex2 here: https://github.com/CEED/libCEED/tree/main/examples/ceed

We want to move the equation $M \dot{u} + A u = 0$ through time, where M is the mass matrix from ex1 and A is the Poisson operator from ex2.

We'll use Forward Euler, for simplicity, as the solver itself isn't the point of this example.
In Forward Euler, we move forward $\dot{u}$ via $\dot{u_n} = f \left( u_n \right) = - M^{-1} A u_n$ in time as $u_{n + 1} = u_n + dt f \l…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@mantuhac
Comment options

@mantuhac
Comment options

@jeremylt
Comment options

Answer selected by jeremylt
@mantuhac
Comment options

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants