Author Topic: Selecting version of OpenFOAM in WE-UQ  (Read 4934 times)

stan_lw

  • Newbie
  • *
  • Posts: 18
    • View Profile
Selecting version of OpenFOAM in WE-UQ
« on: October 21, 2021, 04:51:28 AM »
Hi, I understand from the Documentation that WE-UQ has OpenFOAM v6 and v7. I run a test case, from the pisoFoam.log file, the line “/home1/apps/intel18/impi18_0/OpenFOAM/OpenFOAM-6.0/platforms/linux64IccDPInt32Opt/bin/pisoFoam -parallel” indicates that OpenFoam version 6 is used. How do I set the version of OpenFoam to v7 in WE-UQ? Thank you.

fmk

  • Administrator
  • Full Member
  • *****
  • Posts: 232
    • View Profile
Re: Selecting version of OpenFOAM in WE-UQ
« Reply #1 on: October 22, 2021, 12:10:17 AM »
looking at the wrapper script that runs at TACC it only load the openfoam 6.0 module.

1) can you point out where in the doc it says 7.0 so i can fix that
2) is there something you need in 7.0?

stan_lw

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Selecting version of OpenFOAM in WE-UQ
« Reply #2 on: October 22, 2021, 01:31:08 AM »
1) It is under "Code Implementation" in the Documentation https://nheri-simcenter.github.io/TinF-Documentation/theory/turbulent_inflow.html#code-implementation

2) This is regarding the length scale issue in a previous post (http://simcenter-messageboard.designsafe-ci.org/smf/index.php?topic=98.0), the check for negative converted length scale is implemented in OpenFoam v7 but not in v6.

fmk

  • Administrator
  • Full Member
  • *****
  • Posts: 232
    • View Profile
Re: Selecting version of OpenFOAM in WE-UQ
« Reply #3 on: October 22, 2021, 11:16:22 PM »
That is TinF, which is different to WE-UQ. I have asked the developer how much effort to move to OpenFOAM7. I know there are libs that are compiled from our code (TinF and possible others) that are used by OpenFOAM, just not sure if they will compile for 7 and if they do not, what effort will be required. It is Friday afternoon, hopefully get back Monday.