Skip to content

Dissipation rate source terms for manifold variable variances#451

Merged
baperry2 merged 19 commits intoAMReX-Combustion:developmentfrom
baperry2:mani-variance
Jun 4, 2025
Merged

Dissipation rate source terms for manifold variable variances#451
baperry2 merged 19 commits intoAMReX-Combustion:developmentfrom
baperry2:mani-variance

Conversation

@baperry2
Copy link
Copy Markdown
Collaborator

  • Modify where turbulent viscosity gets calculated so it is available for dissipation rate modeling
  • Add external forcing term with dissipation rate source for variances (as indicated through updates to manifold EOS in PelePhysics)
  • Add option to plot external forcings

Still WIP, needs some debugging

@baperry2
Copy link
Copy Markdown
Collaborator Author

The test case, input.cvar in FlameSheet, can be run after using the script and instructions in NatLabRockies/cmlm#5 to create the 2D chemtable and then copying the chemtable and PMF data files over the FlameSheet directory.

@baperry2 baperry2 requested a review from drummerdoc March 7, 2025 19:08
@baperry2
Copy link
Copy Markdown
Collaborator Author

baperry2 commented Mar 7, 2025

Test case (Exec/RegTests/Flamesheet/input.manifold.cvar) can be run by first executing the python get_pmfdat_and_ctable_withvar.py in the cmlm repo, then copying the files data/prem_drm19_phi1_p1_t298.ctb and data/prem_drm19_phi1_p1_t298_mani_filter2.344e-03.dat to the FlameSheet directory. The FlameSheet case needs to be compiled with USE_MANIFOLD=TRUE and Manifold_Dim = 2.

@baperry2 baperry2 marked this pull request as ready for review March 7, 2025 21:58
@baperry2
Copy link
Copy Markdown
Collaborator Author

baperry2 commented Mar 12, 2025

I've realized that I did not include the production rate in the variance equation (see below). To include this we will need to evaluate scalar gradients, but once we have those it should be very straightforward to add.

Screenshot 2025-03-12 at 10 51 16 AM

@baperry2
Copy link
Copy Markdown
Collaborator Author

baperry2 commented Jun 4, 2025

Merging this for some work that depends on it, but it should be treated as an "under active development" feature.

@baperry2 baperry2 merged commit 8d83349 into AMReX-Combustion:development Jun 4, 2025
24 checks passed
@baperry2 baperry2 deleted the mani-variance branch June 4, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants