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

problem OpenFOAM version incompatibility: going from 1.7.1 to 3.0.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2016, 07:30
Default problem OpenFOAM version incompatibility: going from 1.7.1 to 3.0.1
  #1
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17
lyna is on a distinguished road
Hi !
I was working on the Version OF1.7.1 under interFoam application, the problem when I installed the new version OF3.1, my example was walking on the old version no longer works on the new version, if you please help me?
lyna is offline   Reply With Quote

Old   February 23, 2016, 11:55
Default
  #2
Member
 
Joćo Ferreira
Join Date: Nov 2014
Location: Braga, Portugal
Posts: 53
Rep Power: 12
jmdf is on a distinguished road
Hi,

it is normal to have problems when you change the openfoam's version, a lot of things change from version to version.
Anyway, despite that, without more information it's imposible to help you out.

Usually the error printed on terminal contains a lot of information to solve the problem. Perhaps post it here.
jmdf is offline   Reply With Quote

Old   March 1, 2016, 07:55
Default
  #3
Member
 
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17
lyna is on a distinguished road
Hi
this is error printed on my terminal



interFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 3.0.1-d8a290b55d28
Exec : interFoam
Date : Mar 01 2016
Time : 12:50:44
Host : "Luke"
PID : 6889
Case : /home/boubendir/OpenFOAM/boubendir-3.0.1/run/tutorials/multiphase/interFoam/laminar/lynda/ug40
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties



--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'object' on line 14 and ending at line 73950"

file: /home/boubendir/OpenFOAM/boubendir-3.0.1/run/tutorials/multiphase/interFoam/laminar/lynda/ug40/0/alpha.water at line 73950.

From function primitiveEntry::readEntry(const dictionary&, Istream&)
in file lnInclude/IOerror.C at line 132.

FOAM exiting


thank you
lyna is offline   Reply With Quote

Old   March 1, 2016, 11:57
Default
  #4
Member
 
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 12
TobM is on a distinguished road
Look up the interFoam tutorials in the newer OF version and check where your files are different. fvSchemes, fvSolution, transportProperties, controlDict, etc. It is normal that the syntax is changing between versions.
Maybe some boundary condition has been replaced or renamed.
TobM is offline   Reply With Quote

Old   March 2, 2016, 03:49
Default
  #5
Member
 
Joćo Ferreira
Join Date: Nov 2014
Location: Braga, Portugal
Posts: 53
Rep Power: 12
jmdf is on a distinguished road
Hi,

from the error printed it appears that on the "alpha.water" file, at the /0 folder, there's no 'object' entry on the line 14. Check the file, right under the header, it should look like this:
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    location    "0";
    object      U;
}
jmdf 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
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
[Commercial meshers] Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 maverick OpenFOAM Meshing & Mesh Conversion 2 June 18, 2011 05:36
OpenFOAM 1.7.1 installation problem on Fedora 14 armonica OpenFOAM Installation 16 March 31, 2011 14:16
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48


All times are GMT -4. The time now is 14:09.