Skip to content

Conversation

@trevilo
Copy link
Contributor

@trevilo trevilo commented Dec 16, 2025

This PR collects some recent minor extensions and robustness improvements, including the following:

  1. Options to control an oscillating power for the cycle-avg-joule-coupled solver. Specifically the options are
cycle-avg-joule-coupled/oscillating-power = true # boolean to tell solver to use oscillating power, defaults to false
cycle-avg-joule-coupled/input-power-amplitude = 2000.0 # amplitude of oscillation, in Watts
cycle-avg-joule-coupled/power-period = 5000 # period of oscillation, in time steps
  1. Minor restart and averaging fixes (e.g., allowing variable order restart with LteThemoChem)
  2. Options to clip the temperature field for LteThermoChem and ReactingFlow. Specifically, for reacting,
loMach/reacting/clip-temperature = true # use the clipping, defaults to false
loMach/reacting/min-temperature = 250.0 # set values below 250 to 250 (in Kelvin)
loMach/reacting/max-temperature = 13000.0 # set values above 13000 to 13000 (in Kelvin)
  1. An option (use loMach/tomboulides/iorho_gf = true, default behavior is false) to treat the coefficient 1/density as a GridFunctionCoefficient in Tomboulides. This can improve robustness for under-resolved cases. Currently only implemented for 3D.
  2. An option to filter the thermal divergence field (use loMach/ltethermo/filter-Q = true, defaults to fales) using a second order differential filter (Qf - \nabla \cdot (\ell^2 Qf) = Q, where Q is the original thermal divergence, Qf is the filtered version, and ell is the mesh resolution length scale. This option is only currently available for LteThermoChem.

Items 4 and 5 should be considered experimental, but are included because of their potential to improve robustness for marginally resolved cases.

@trevilo trevilo self-assigned this Dec 16, 2025
@trevilo trevilo force-pushed the unsteady-power-2 branch 2 times, most recently from 48743e8 to bff9e2a Compare December 16, 2025 19:19
@trevilo trevilo marked this pull request as ready for review December 17, 2025 16:02
@trevilo trevilo requested a review from shaering December 17, 2025 16:05
Lets user specify min and max temperatures for LteThermoChem and
ReactingFlow.

T clip

make T clip a user-specified option
This experimental feature may improve robustness
so that the quad points correspond to the nodes.  This leads to a
diagonal mass matrix and ensures that as long as the solution remains
physical at the nodes, it is physical at the quad points.  But, it
can't always be used (e.g., will fail for axisymmetric and for some
grids) so should be used with caution.
This experimental option allows the user to apply a differential
filter (of the form (1 - ell^2 \nabla^2) Qf = Q) to the Q field to
suppress small scale oscillations.

Currently only implemented for LteThermoChem.
@trevilo trevilo merged commit 7fe8acc into main Dec 19, 2025
33 of 37 checks passed
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