How to get the mixture fraction diffusion coefficient using PeleC? #768
Answered
by
baperry2
Rachel008996
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
baperry2
Mar 15, 2024
Replies: 1 comment 4 replies
-
Hi Rachel, in the cavity flame paper our mixture fraction was defined based on Y_N2. So we used yt to get covering grid data and then used Cantera to extract the N2's diffusion coefficient. Now I think, PeleC, has the Ds in the plot files as well. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To dump diffusivities in plotfiles at runtime in PeleC, use
amr.derive_plot_vars = diffusivity conductivity viscosity
. The diffusivities this outputs are labeledD(species)
but I'm pretty sure they are actuallyrhoD(species)
. Dumping your desired outputs at runtime is the preferred approach.As @drummerdoc mentions, PeleLMeX run mode might also be helpful. See the discussion here. It's possible to restart PeleLMeX from a PeleC plot file (
amr.initDataPlt = plt00200
andamr.initDataPltSource = C
), so theoretically you could use the PeleLMeX evaluate mode to compute derived variables from a PeleC simulation.I haven't used the PeleAnalysis tool that you are using, but it looks like it should…