Skip to content

Feature CFL adaptation initial iteration#2362

Merged
bigfooted merged 9 commits intosu2code:developfrom
Lisa-Bachmann:feature_CFLadapt
Oct 25, 2024
Merged

Feature CFL adaptation initial iteration#2362
bigfooted merged 9 commits intosu2code:developfrom
Lisa-Bachmann:feature_CFLadapt

Conversation

@Lisa-Bachmann
Copy link
Contributor

A spark initialization was not possible with CFL adaptation, as the CFL number would increase too far before the spark initiates the combustion. This led to immediate flashback or blow-off. An additional parameter in the CFL adaptation defines the iteration, at which the CFL adaption should start. This allows the combustion to stabilize before the CFL number increases. Before the initial iterations has not started, the CFL number does not get adapted in either direction.

A spark initialization was not possible with CFL adaptation, as the CFL number would increase too far before the spark initiates the combustion. This led to immediate flashback or blow-off. An additional parameter in the CFL adaptation defines the iteration, at which the CFL adaption should start. This allows the combustion to stabilize before the CFL number increases.
@pcarruscag pcarruscag changed the base branch from master to develop October 9, 2024 16:33
Lisa-Bachmann and others added 2 commits October 10, 2024 09:53
Choose Iteration based on multizone problem or singlezone problem

Co-authored-by: Nijso <nijso@hotmail.com>
Copy link
Contributor

@TobiKattmann TobiKattmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally lgtm, is there maybe an existing testcase where you can reflect this(?)

Also, please grep the cfg files and add a 1 (or 0, I guess it does not matter because this would kick in only in the 2nd iteration anyway 🤔 ) to the CFL_ADAPT_PARAM field

fwiw: I started the CI pipeline

@pcarruscag
Copy link
Member

Don't modify the configs to add default options. Just the template is enough

Lisa-Bachmann and others added 5 commits October 11, 2024 10:15
Co-authored-by: Nijso <nijso@hotmail.com>
Co-authored-by: TobiKattmann <31306376+TobiKattmann@users.noreply.github.com>
Change initial iteration to 0 to match with default values
@bigfooted
Copy link
Contributor

Don't modify the configs to add default options. Just the template is enough

In that case I think we're done?

@bigfooted
Copy link
Contributor

Thanks, Pedro!

@bigfooted bigfooted merged commit 492ada9 into su2code:develop Oct 25, 2024
raghava-davuluri pushed a commit to hypersonic-lab/SU2 that referenced this pull request Sep 12, 2025
* Feature to define initial iteration to apply CFL adaption.

A spark initialization was not possible with CFL adaptation, as the CFL number would increase too far before the spark initiates the combustion. This led to immediate flashback or blow-off. An additional parameter in the CFL adaptation defines the iteration, at which the CFL adaption should start. This allows the combustion to stabilize before the CFL number increases.

Co-authored-by: Nijso <nijso@hotmail.com>
Co-authored-by: TobiKattmann <31306376+TobiKattmann@users.noreply.github.com>
Co-authored-by: Nijso <bigfootedrockmidget@hotmail.com>
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants