trixi-framework / Trixi.jl

Trixi.jl: Adaptive high-order numerical simulations of conservation laws in Julia
https://trixi-framework.github.io/Trixi.jl
MIT License
540 stars 110 forks source link

Combustion simulation #2119

Open sezerh24 opened 1 month ago

sezerh24 commented 1 month ago

I am pretty new to trixi.jl. it seems to be a great code though.

is there a way to simulate hydrogen combustion by using compressible N-S equations in a pipe?

benegee commented 1 month ago

Compressible Navier-Stokes equations is definitely our business. Maybe also in a pipe if you could start with a 2D setup or have a 3D mesh in a format which Trixi would understand. Chemical reactions are less familiar to most of us. Could you give some details on your model? Is the reaction or the transformation of one species into another something that can be calculated point wise or written as a source term in the equations?

sezerh24 commented 1 month ago

image Eq 1 is the momentum equation Eq 2 is the energy equation Eq 3 is the species transport equation ( Scalar transport equation) in Trixi.jl it seems that eqs. (1-2) are available. The equation 3 is just a scalar transport equation for one specie. If we have N species, we would have to put N scalar transport equations. is it possible to solve the set of 3 equations given the above example? if so, Trixi.jl can be a very good option for the combustion community.

jlchan commented 1 month ago

There are some examples with multi-component compressible Euler which I think are very close.

sezerh24 commented 1 month ago

okay thank you, I will check them out and see if it can add them to the N-S equations.

knstmrd commented 1 month ago

I am currently verifying a set-up of Trixi with multi-species Euler with chemical reactions, hopefully I will have the repo up in a couple of weeks.

sezerh24 commented 2 weeks ago

I look forward to see the repo for the multi-species Euler with chemical reactions.

knstmrd commented 4 days ago

@sezerh24 The code is available now: https://github.com/knstmrd/paper_ec_trixi_chem