CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

CFD Support's port of OpenFOAM for Windows, version 16.06: file names

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2016, 06:13
Default CFD Support's port of OpenFOAM for Windows, version 16.06: file names
  #1
New Member
 
Join Date: May 2015
Posts: 22
Rep Power: 11
Kostas_K is on a distinguished road
Hello everyone,

I have been using openFoam 2.3 on a Linux OS (kubuntu) for a while now and i have already run successfully some cases.
Lately i tried installing the windows version of openFoam at my personal computer (windows 7 ultimate). Although the installation was completed without problem it doesn't run old cases i made when working on Linux OS.
Even when running the tutorial icoFoam/cavity from the linux OS on the windows platform i get the error:

-⁠-⁠> FOAM FATAL IO ERROR:
keyword pFinal is undefined in dictionary "C:/OpenFOAM/Kostas-3.0.x/run/cavity/system/fvSolution.solvers"

file: C:/OpenFOAM/Kostas-3.0.x/run/cavity/system/fvSolution.solvers from line 22 to line 33.

From function dictionary::subDict(const word& keyword) const
in file db/⁠dictionary/⁠dictionary.C at line 648.

FOAM exiting

that's because on openFoam 2.3.1 (Linux OS) you didn't have to define pFinal on the fvSolution file while on the other hand on openFOam for windows you have.

the windows version is 3.0 while the Linux is 2.3.1, but there should be compatibility going from 2.3.1 to 3.0 since it is an older version.
is there not compatibility between these two ?

thanks in advance
Kostas_K is offline   Reply With Quote

Old   September 11, 2016, 13:25
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: The problem has to do with how OpenFOAM changed between versions 2.3 to 3.0. The solution is to take a look at the same tutorial case on OpenFOAM 3.0 that you used from OpenFOAM 2.3.

Have a look here: https://github.com/OpenFOAM/OpenFOAM...tem/fvSolution - see the new block? This one:
Code:
    pFinal
    {
        $p;
        relTol          0;
    }
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
wmake compiling new solver mksca OpenFOAM Programming & Development 14 June 22, 2018 07:29
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 22:03
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 18:18
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


All times are GMT -4. The time now is 01:25.