Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 379
    • Issues 379
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1404

Closed
Open
Created Aug 21, 2019 by Admin@OpenFOAM-adminMaintainer

correctBoundaryConditions documentation

It is difficult to know the correct usage of the GeometricField member function correctBoundaryConditions as the documentation is sparse. My understanding is that it should be called for a volume field if that field is not modified by a call to a solve function but by other means such as an assignment statement. But my understanding may not be correct as I can see places in the OpenFOAM code where correctBoundaryConditions is not called despite volume variables being changed by assignments. For example, in the interPhaseChangeFoam solver:

  1. pEqn.H near the end p_rgh is in some cases updated as

    p_rgh = p - rho*gh;

  2. alphaEqn.H

alpha1 is updated as

alpha1 = 0.5*alpha1 + 0.5*alpha10;

Some clarification of the correct usage of correctBoundaryConditions would be helpful. In particular, when it should be called and when not.

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

Edited Dec 11, 2019 by Kutalmis Bercin
Assignee
Assign to
Time tracking