|
[Sponsors] |
OpenFoam periodicHill tutorial does not work. |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Michael Jensen
Join Date: May 2022
Posts: 31
Rep Power: 4 ![]() |
The tutorial files are here: https://develop.openfoam.com/Develop...Hill/transient
The first error I get is the following: Code:
wrong token type - expected string, found on line 17 the word 'turbulenceModelSchemes' |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,169
Rep Power: 27 ![]() |
Hi Michael,
There are different forks and development branches in OpenFOAM. Here are the 2 main branches :
For a more complete view of the OpenFOAM world, you can have a look on this scheme, made by Pablo Higuera in 2016: https://olaflow.github.io/images/blo...hoopenfoam.png It starts to be a bit outdated but it is still interesting to have the full picture. Now back to your issue: you are trying to run a tutorial from the OpenCFD branch, OpenFOAM-v2112, on Openfoam-9, which is the OpenFOAM foundation branch. Those 2 branches has been forked 6 years ago and the code has been diverging ever since. Both versions have a common heritage but use different syntax, models, solvers,... This leads to what you are experiencing: you will most probably get a lot of errors if you try running a tutorial from one branch on another branch. You can adapt some tutorials to the other version, but it can be a hassle to do, especially if you are not very experienced with OpenFOAM. My advice would be to stick to the tutorials available with your version, or to install the proper version if you really need to run this specific tutorial. On a side note: pay attention to use the documentation corresponding to the version you are using. The documentation on openfoam.com will not be relevant for OpenFOAM-9! This could save you a lot of time and trouble! I hope this helps, Yann |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Member
Michael Jensen
Join Date: May 2022
Posts: 31
Rep Power: 4 ![]() |
Quote:
..yes indeed, a very valuable response. ..as my old cs-teacher would say: "..you made a lot of millage with that question.." |
||
![]() |
![]() |
![]() |
Tags |
controldict., openfoam 9, periodic bc, periodichill tutorial |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM course for beginners | Jibran | OpenFOAM Announcements from Other Sources | 2 | November 4, 2019 08:51 |
fluxRequired OpenFoam Versions SimpleFoam Taylor Couette flow tutorial | mörli | OpenFOAM Running, Solving & CFD | 0 | April 9, 2019 11:50 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 14:24 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 03:18 |
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread | wyldckat | OpenFOAM Installation | 2 | July 11, 2012 16:01 |