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 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1283
Closed
Open
Issue created Apr 12, 2019 by Admin@OpenFOAM-adminMaintainer

SegFault / bad allocation if same limited scheme is used in grad and div

In the tutorial case $FOAM_TUTORIALS/incompressible/pimpleFoam/laminar/planarPoiseuille/, in system/fvSchemes replace

gradSchemes
{
    default         Gauss linear;
}

by

gradSchemes
{
    default Gauss limitedLinear phi 1;
}

and in divSchemes, replace

div(phi,U)      Gauss linearUpwind grad(U);

by

div(phi,U)      Gauss limitedLinear 1;

If pimpleFoam is executed, the solver crashes right after the output "PIMPLE: iteration 1" with an error message like this (tested with OpenFOAM v1812):

new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library

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

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