Flexible setup of flamelet boundary conditions#2814
Conversation
|
If this is also intended to impact inlet bc's do you also have to modify the inlet implementation in CSpeciesFlameletSolver also? The enthalpy here is calculated from temperature and PV which regardless of whether species or flow is selected in this option? Here the enthalpy is overwritten regardless of whether you specify flow or species markers. |
|
Hi @joshkellyjak! Yes, you are right, I forgot to update this routine. I have added it to the PR. |
| addEnumOption("FLAME_INIT_METHOD", flamelet_ParsedOptions.ignition_method, Flamelet_Init_Map, FLAMELET_INIT_TYPE::NONE); | ||
| /*!\brief FLAMELET_ENTHALPY_BC \n DESCRIPTION: enthalpy BC from species markers (default, backward-compatible) or flow markers \n DEFAULT: SPECIES_MARKERS \ingroup Config */ | ||
| addEnumOption("FLAMELET_ENTHALPY_BC", flamelet_ParsedOptions.enthalpy_bc, Flamelet_Enthalpy_BC_Map, FLAMELET_ENTHALPY_BC::SPECIES_MARKERS); |
There was a problem hiding this comment.
What is the difference between FLAME and FLAMELET?
There was a problem hiding this comment.
We were quite sloppy in the past in the use of FLAME vs FLAMELET.
Flamelet is (should be) a specific model, flame is (should be) a physics concept that works for more than the flamelet model. so FLAME_INIT_METHOD should also initialize for instance the detailed chemistry model. FLAMELET_ENTHALPY_BC should only work for the flamelet model. We can already anticipate that we would like FLAMELET_ENTHALPY_BC to work for detailed chemistry and call it FLAME_ENTHALPY_BC. Should I rename it FLAME_ENTHALPY_MODEL?
There was a problem hiding this comment.
It it can be consistent I think it should.
Proposed Changes
Give a brief overview of your contribution here in a few sentences.
Enthalpy boundary conditions for the flamelet equation can now be set to use either the BC's coming from the flow solver (defined in terms of temperature) or the species BC's
This was a bit confusing before because we did a mix of both.
We now have
To either use temperature or heat flux from the flow solver (MARKER_INLET, MARKER_ISOTHERMAL/MARKER_HEATFLUX) , or use enthalpy directly from the species solver (MARKER_INLET_SPECIES, MARKER_WALL_SPECIES).
There will be a tutorial + regression coupled to this.
PR Checklist
Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.
pre-commit run --allto format old commits.