-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Transporting passive scalars #465
Comments
Hi @ThomasHowarth, this would be a very welcomed addition! I too was confused by the existence of |
Another thought is that |
Passive scalar transport in PeleLMeX would definitely be a good feature to get into the main code. As you mention it looks like two paths for this have been started and abandoned - using When @dmontgomeryNREL implemented the ODEQty capability (scalars that are not transported), we went with the compile time approach due to easier implementation and that being closer to the PeleC implementation. I know @bssoriano also has a branch of the code somewhere with mixture fraction and fluid age transport through a compile time option similar to AUX in the index file. |
@baperry2 the initial plan (when starting LMeX) was indeed to follow PeleC and use a compile-time number of scalars within the "regular" state MF. It wasn't a priority initially, so I didn't push it. |
Thanks Lucas! I agree combining all the aux stuff into a single runtime determined multifab is probably the ideal strategy - I don't think there'd be much of a performance hit for those and it would make things more user friendly and maintainable. @ThomasHowarth - if you want to get that started by setting up the separate multifab for passive scalar transport with scalars determined at runtime that would be awesome (we could fold the other stuff like Soot and ODEQty into it later). But up to you whether you want to pursue runtime or compile time implementation. |
I'm working on adding in passive scalar transport, and I was wondering if anyone had any thoughts on whether the number of transported scalars should be specified at compile time or runtime. Some existing things are floating about to get started on this (e.g. m_nAux parameter, auxiliaries MultiFAB etc.), but there is also mention of implementing an NAUX variable in the index file.
The text was updated successfully, but these errors were encountered: