Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1281
Closed
Open
Issue created Apr 12, 2019 by Admin@OpenFOAM-adminMaintainer

fv::convectionScheme does not accept all schemes

The reacting solvers like the combustion solvers, Lagrangian solvers or heat transfer solvers use a fv::convectionScheme object for the convection term of species mass fraction and energy instead of fvm::div:

https://develop.openfoam.com/search?utf8=%E2%9C%93&search=fv%3A%3AconvectionScheme&group_id=&project_id=5&search_code=true&repository_ref=develop#L1

This prevents the use of certain discretization schemes like "linear". For example, in the $FOAM_TUTORIALS/combustion/reactingFoam/laminar/counterFlowFlame2D case, replace

div(phi,Yi_h) Gauss limitedLinear 1;

with

div(phi,Yi_h) Gauss linear;

The error will read:

--> FOAM FATAL IO ERROR: Unknown discretisation scheme linear

Valid schemes are :

12 ( Gamma MUSCL Minmod SuperBee limitedCubic limitedLimitedLinear limitedLinear limitedLinear01 multivariateIndependent multivariateSelection upwind vanLeer )

Is this the intended behavior? Having the ability to choose schemes like "linear" or "cubic" might be advantageous for very fine meshes or DNS-like simulations.

## Reattaching the author to the issue ticket: @g3 ##

Edited Dec 11, 2019 by Kutalmış Berçin
Assignee
Assign to
Time tracking