Repository navigation
Conversation
Stop with a clear message when: - the fluid model is not SU2_NONEQ or MUTATIONPP (the fluid model pointer of the solver was left uninitialized), - REF_DIMENSIONALIZATION is not DIMENSIONAL (the solver passes its values to the fluid model without scaling), - GUPTA-YOS is used with ARGON in SU2TCLIB (no collision integrals), - INLET_GAS_COMPOSITION or SUPERCATALYTIC_WALL_COMPOSITION do not have one value per species (read outside the list, or a null pointer). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mach2Vel_FreeStream was never set, so the Reynolds number of runs with a moving grid was computed with a zero velocity. Printed value only. 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.
Problem
NEMO accepts some inputs that it cannot handle. The run then crashes or gives wrong numbers, with no message:
REF_DIMENSIONALIZATIONother thanDIMENSIONALgives wrong results. The solver passes its values to the fluid model without scaling.INLET_GAS_COMPOSITIONorSUPERCATALYTIC_WALL_COMPOSITIONwith fewer entries than species is read past its end.FLUID_MODELother thanSU2_NONEQorMUTATIONPPleaves the fluid model unset, and the code crashes.GAS_MODEL= ARGONwithTRANSPORT_COEFF_MODEL= GUPTA-YOScannot work: the built-in library has no collision data for argon.Also, the printed Reynolds number of runs with a moving grid was 0, because one velocity was never set.
Fix
Tests
invwedge_ss_inletandsuper_catconfigs pass the new checks.Notes
Related
PR Checklist
pre-commit run --allto format old commits.🤖 Generated with Claude Code