Skip to content

Notes on parabolic terms #1147

@ranocha

Description

@ranocha

This is basically taken from #1136. Currently, our idea is to merge the DGMulti setup from that PR into dev, draft a corresponding TreeMesh & DGSEM version in another PR, and see how it looks for Navier-Stokes. When that's okay, we can go ahead and merge dev into main to finally get support for parabolic terms in Trixi.jl.

  • TreeMesh version with DGSEM
  • P4estMesh
  • StructuredMesh
  • Navier-Stokes
    • Decide on which non-dimensional scaling to use.
  • Add a parabolic solver field (or at least a way to specify parabolic numerical parameters)
    • Add parabolic penalty terms which depend on jump(u)
    • Where should penalty terms live: equations, solver, or the elixir itself? These terms will probably need to be specialized for every single equation.
  • Should we have "default" BC behavior (e.g., "boundary_condition_use_inner_state / boundary_condition_do_nothing")? Answer: no. The user should be required to specify this explicitly.
  • Should the viscous flux depend on orientation (i.e., compute x and y components separately)?
  • Decide how general we want the BCs to be
    • What data should be made available to parabolic BCs? Solution values? Gradient values? Viscous flux values?
    • Right now, we keep it simple for now, just pass in solution values
  • Docstrings
  • Documentation, examples, tutorial
    • Explain Gradient/Divergence boundary conditions in docs
    • Add a Literate tutorial for compressible Navier-Stokes
  • Naming things
    • grad_u (current) vs. gradients or gradients_u
    • no_boundary_condition (current) vs. boundary_condition_do_nothing or something else (what?). Answer: boundary_condition_do_nothing
    • Types for viscous methods like BR1, LDG? Current naming is ViscousFormulation*** but this gets pretty long.
  • Gradient variables
  • Add an "enstrophy" callback as a proof of concept issue with "combined" equations. Compressible Navier-Stokes on TreeMesh3D #1239
  • Add experimental notes to all exported and/or docstring'd methods/types.
  • Rename elixir_navier_stokes_xxx.jl to elixir_navierstokes_xxx.jl for consistency (e.g., with elixir_shallowwater_xxx.jl).
  • StepsizeCallback with viscous CFL condition

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions