Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
openfoam
openfoam
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 334
    • Issues 334
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • openfoamopenfoam
  • Issues
  • #1745

Closed
Open
Opened Jun 24, 2020 by Zoltan Hernadi@zhernadi

Missing phasePropertyName in basicThermo.C

This line: https://develop.openfoam.com/Development/openfoam/-/blob/master/src/thermophysicalModels/basic/basicThermo/basicThermo.C#L278

Should be like: phasePropertyName("thermo:alpha"),

Instead of: "thermo:alpha",

This is why: The basicThermo has some constructors that use the 'thermo:alpha' volScalarField. Two of them use the 'phasePropertyName("thermo:alpha")' format, while the third one uses simply 'thermo:alpha'. This creates a problem because objectRegistry doesn't register duplicated names. So when we have e.g. multiphase simulation, the liquid and solid 'thermo:alpha' members will not be registered.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: Development/openfoam#1745