View Issue Details

IDProjectCategoryView StatusLast Update
0002149OpenFOAMBugpublic2016-07-14 14:20
Reportermarswiz Assigned Towyldckat  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformGNU/LinuxOSUbuntuOS Version16.04
Summary0002149: When run the tutorial cases (imcompressibe/icoFOAM/cavity) ,blockMesh shows Fatal error.
Descriptionmars@mars-wiz:~/OpenFOAM/OpenFOAM-4.0/tutorials$ cd $FOAM_TUTORIALS/incompressible/icoFoam/cavity
mars@mars-wiz:~/OpenFOAM/OpenFOAM-4.0/tutorials/incompressible/icoFoam/cavity$ blockMesh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.0
Exec : blockMesh
Date : Jul 14 2016
Time : 11:19:13
Host : "mars-wiz"
PID : 4835
Case : /home/mars/OpenFOAM/OpenFOAM-4.0/tutorials/incompressible/icoFoam/cavity
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



--> FOAM FATAL IO ERROR:
cannot find file

file: /home/mars/OpenFOAM/OpenFOAM-4.0/tutorials/incompressible/icoFoam/cavity/system/controlDict at line 0.

    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 72.

FOAM exiting
Steps To ReproduceI compiled the OpenFOAM from its source code downloaded from the website.
My OS is Ubuntu 16.04
TagsNo tags attached.

Activities

wyldckat

2016-07-14 13:28

updater   ~0006527

Quick question: Which instructions are you following for running this tutorial case?

I ask this because the instructions you're following are outdated and it would be useful to know which ones you're following so that those instructions can be updated.

This is because as of OpenFOAM 4.0, the "cavity" tutorial is now inside its own "cavity" folder, as documented in the updated User Guide: http://cfd.direct/openfoam/user-guide/cavity/

The new structure is as follows:

tutorials/incompressible/icoFoam/
├── cavity
│   ├── Allclean
│   ├── Allrun
│   ├── cavity
│   ├── cavityClipped
│   └── cavityGrade
└── elbow
    ├── 0
    ├── Allclean
    ├── Allrun
    ├── constant
    ├── elbow.msh
    └── system

Essentially this is to separate the two cases, namely separating "elbow" from "cavity".

marswiz

2016-07-14 14:13

reporter   ~0006528

@wyldckat

Thank you very much and I have solved the problem. Just as what you've mentioned.
Thanks again for your reply that is so fast.

Issue History

Date Modified Username Field Change
2016-07-14 04:35 marswiz New Issue
2016-07-14 13:28 wyldckat Note Added: 0006527
2016-07-14 13:28 wyldckat Category Contribution => Bug
2016-07-14 14:13 marswiz Note Added: 0006528
2016-07-14 14:20 wyldckat Status new => closed
2016-07-14 14:20 wyldckat Assigned To => wyldckat
2016-07-14 14:20 wyldckat Resolution open => no change required