pecos / tps

Torch Plasma Simulator
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Add SGS models #197

Closed trevilo closed 1 year ago

trevilo commented 1 year ago

This PR adds support for two algebraic subgrid stress models, the standard Smagorinksy model and the sigma model. These models were originally implemented by @shaering on the nscbc branch across a few different commits, including

83d5e66 177793d c39e69e 824af7b

but those commits include other changes that will be merged in separate PRs. This PR extracts only the SGS-related work from those commits into a single, minimal commit (i.e., a575be9) and then adds regression testing and ports the SGS models to the gpu code path.