Skip to content

Specification of air as the ONLY working fluid - massfrac #868

Answered by dmontgomeryNREL
SRkumar97 asked this question in Q&A
Discussion options

You must be logged in to vote

PelePhysics offers several chemistry mechanisms that include O2. In the GNUmakefile for the Spray-Multijet case, you'll see the line Chemistry_Model := decane_3sp, which points to this specific mechanism in PelePhysics. In the associated mechanism.H file, you'll find three species defined: NC10H22, O2, and N2, each with a pre-defined index ID for the mass fraction. This file also contains the definition for NUM_SPECIES.

If you want to run a case with air, you can set Chemistry_Model := air, then initialize the mass fraction in PeleC using the pre-defined index ID's in the associated mechanism.H file. The air mechanism has two species, O2 and N2. If you only want O2, initialize massfrac[O2…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@SRkumar97
Comment options

@SRkumar97
Comment options

@dmontgomeryNREL
Comment options

@baperry2
Comment options

@SRkumar97
Comment options

Answer selected by SRkumar97
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #867 on November 06, 2024 20:51.