Skip to content
GitLab
  • Menu
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 398
    • Issues 398
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #2264
Closed
Open
Created Nov 09, 2021 by Vojtech Betak@Betaj

Tabulated thermo - limited number of rows in table for cp

The following error was found in the tabulated thermo library. If I enter cp as a table with three rows Cp
( ( 290 1022.984) (1200 1346.857) (2000 1575.358) );

, then everything is OK. If I increase the number of rows in Cp table Cp
( ( 290 1022.984) (1200 1346.857) (1300 1378.296) (2000 1575.358) ); , then the thermo.correct() utility converge to nonphysical results ( boundary condition - cold side 1300, hot side 1800 K)

Temperature 900.279 out of range (1200 2000)
for nonUniformTable rho

From Foam::label Foam::nonUniformTable::index(Foam::scalar, Foam::scalar) const
in file thermophysicalFunctions/nonUniformTable/nonUniformTableThermophysicalFunctionI.H at line 41.

If I correct the table for rho (adding lower values), then I get the following error

Temperature 3518.76 out of range (290 2000)
for nonUniformTable Cp
  • OpenFOAM version :v2106
  • Operating system :OpenSuSE
  • Hardware info :
  • Compiler :clang The test case is attached buoyantCavityt.tar.xz

With regards

Vojtech

Assignee
Assign to
Time tracking