Repository navigation
Conversation
The names in CONTROLLING_VARIABLE_NAMES (ProgressVariable, EnthalpyTot, MixtureFraction) now set the role of each transported scalar, replacing the fixed positions I_PROGVAR, I_ENTH and I_MIXFRAC. EnthalpyTot is required together with ProgressVariable, MixtureFraction or both, so pure non-premixed (MixtureFraction, EnthalpyTot) manifolds are supported. - Table axes follow the order of the names; the third name is the level. - Without a progress variable the thickened flame correction is off and FLAME_FRONT initializes the mixture fraction, as before. - Preferential diffusion looks up only the beta terms of present variables. - The inlet profile template writes one column per controlling variable. Results are identical to develop for flamelet cases 01, 03, 05, 06, 07, 09 and the laminar diffusion flame tutorial. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ProgressVariableVariance and MixtureFractionVariance in CONTROLLING_VARIABLE_NAMES are transported scalars that the manifold uses as a controlling variable, typically the table level of an assumed PDF table. Their source is the table entry in CONTROLLING_VARIABLE_SOURCE_NAMES plus the turbulent production 2 mu_t/Sc_t |grad(mean)|^2 and the dissipation C_d rho beta* omega var of the SST model, the latter implicit. - A variance requires its mean and KIND_TURB_MODEL= SST, is clipped at zero, and switches off the thickened flame correction; preferential diffusion is not available with it. - FLAMELET_VARIANCE_DISSIPATION_COEFF sets C_d (default 2.0). - The look-up table rejects more than three controlling variables. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Jacobian A transported variance is limited to (mean - min)(max - mean), the variance of a two-point distribution on the range of its mean. The range is [0, 1] for the mixture fraction and the range of the table axis (or of the network input scaling) for the progress variable. The species solver solves for the increment of rho*Y, so the implicit Jacobian of the auxiliary-species source is source_cons / rho, not source_cons. The reference value of cfd_flamelet_ch4_cht changes in one residual by 4e-5. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ce, restart by name The look-up table and the networks take each variance normalized by its upper limit (mean - min)(max - mean). The mixture fraction is bounded by 0 and 1, the progress variable by the manifold variables ProgressVariableMin and ProgressVariableMax. The conversion is done in CFluidFlamelet before every look-up, and the variance clip uses the same limit. This replaces the global table and network input ranges. The source of a variance is formed from the manifold variable mean(phi*S_phi) as 2 (mean(phi*S_phi) - mean(phi) mean(S_phi)); a NULL name gives no source. The flamelet restart is read by field name, and a variance missing from the restart file starts from its initial value. The MLP look-up query is paired also for a single look-up variable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Give a brief overview of your contribution here in a few sentences.
Assumed shape beta pdf approach for turbulent combustion
Related Work
Resolve any issues (bug fix or feature request), note any related PRs, or mention interactions with the work of others, if any.
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.