Gradients in euler kernels

Hello,

I need to introduce a kernel to compute solution gradients in euler kernels.
Which are the matrices I need to use in the “mul” kernel?

Best regards

Run Navier-Stokes with zero viscosity. You can then use the gradients it calculates.

Regards, Freddie.

1 Like

Hi Freddie,

Can’t we use kernal _compute_grads_graph? It seems this one has correct gradients in the physical space.

Regards,
Zhenyang

So this method is not defined for the Euler solver as it depends on the LDG formulation in order to obtain a suitable set of gradients. However, this only makes sense in the context of an advection-diffusion problem (such as Navier-Stokes) where we have an axillary equation.

Regards, Freddie.