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

Gettings started after installing OpenFOAM 2.1.1 in Ubuntu 12.10

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2012, 09:02
Default Gettings started after installing OpenFOAM 2.1.1 in Ubuntu 12.10
  #1
New Member
 
Dr. Sandeep Nagar
Join Date: Nov 2012
Posts: 6
Rep Power: 13
yoddha24 is on a distinguished road
i installed OpenFOAM on ubuntu 12.10 sucessfully as per guidelines given at:

But when i try to run it it shows this error message repeatedly! I am new to OpenFOAM so i would require guidance:

when i wrote "icoFoam" at command prompt, following message was displayed:
---------------------------------------------------------------------------------------------------------------------
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.1-221db2718bbb
Exec : icoFoam
Date : Nov 21 2012
Time : 19:29:33
Host : "sandeep-desktop"
PID : 2908
Case : /home/sandeep/OpenFOAM/OpenFOAM-2.1.1/tutorials/incompressible/icoFoam/cavity
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

Create mesh for time = 0



--> FOAM FATAL ERROR:
Cannot find file "points" in directory "polyMesh" in times 0 down to constant

From function Time::findInstance(const fileName&, const word&, const IOobject::readOption, const word&)
in file db/Time/findInstance.C at line 188.

FOAM exiting
------------------------------------------------------------------------------------
yoddha24 is offline   Reply With Quote

Old   November 21, 2012, 12:42
Default
  #2
New Member
 
Khashayar
Join Date: Mar 2012
Posts: 3
Rep Power: 14
khashi is on a distinguished road
Dear yoddha24
by the type of the error that you got, it shows you have some problem with your mesh. better to check the folder constant/PolyMesh in your case.
I think you might have converted the mesh or copied it from somewhere else. so you should check that procedure too.
if you provide more details about the mesh, may be we could help you more.
khashi is offline   Reply With Quote

Old   November 21, 2012, 21:26
Default
  #3
New Member
 
Dr. Sandeep Nagar
Join Date: Nov 2012
Posts: 6
Rep Power: 13
yoddha24 is on a distinguished road
Quote:
Originally Posted by khashi View Post
Dear yoddha24
by the type of the error that you got, it shows you have some problem with your mesh. better to check the folder constant/PolyMesh in your case.
I think you might have converted the mesh or copied it from somewhere else. so you should check that procedure too.
if you provide more details about the mesh, may be we could help you more.
Dear khashi,

Since I downloaded using wget as proposed in the instructions so that source must be corrupted. I did not altered any file. Could you please let me know a known good source for files.

Regards
yoddha24 is offline   Reply With Quote

Old   November 22, 2012, 03:45
Default
  #4
New Member
 
Saulo Barbosa
Join Date: Nov 2012
Posts: 2
Rep Power: 0
neosoyo is on a distinguished road
i have the same error. the problem is the blockMesh.

--> FOAM FATAL ERROR:
Failed writing polyMesh.

From function blockMesh
in file blockMeshApp.C at line 336.

FOAM exitin

seems to be some previlegies problem...any clue?
neosoyo is offline   Reply With Quote

Old   November 22, 2012, 03:53
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Greetings to all!

I've moved your posts to a new thread, specifically for these kinds of questions on how to get started!

From your questions, it looks like you guys didn't read very well the User Guide
It all begins here: http://www.openfoam.org/docs/user/tu...s.php#x4-30002 - namely with these commands:
Quote:
Code:
mkdir -p $FOAM_RUN 
cp -r $FOAM_TUTORIALS $FOAM_RUN
Then continue reading, starting with the first tutorial: http://www.openfoam.org/docs/user/cavity.php

Have fun!
Bruno
khashi likes this.
__________________
wyldckat is offline   Reply With Quote

Old   November 22, 2012, 10:34
Default
  #6
New Member
 
Khashayar
Join Date: Mar 2012
Posts: 3
Rep Power: 14
khashi is on a distinguished road
Dear yoddha24
please follow Bruno's last post descriptions. it will help you to overcome the problem, in any case that you encounter more difficulties, don't hesitate to contact me.

khashi
khashi is offline   Reply With Quote

Old   November 22, 2012, 10:40
Default Thanx
  #7
New Member
 
Dr. Sandeep Nagar
Join Date: Nov 2012
Posts: 6
Rep Power: 13
yoddha24 is on a distinguished road
Quote:
Originally Posted by khashi View Post
Dear yoddha24
please follow Bruno's last post descriptions. it will help you to overcome the problem, in any case that you encounter more difficulties, don't hesitate to contact me.

khashi
Dear Khasi,

Thanx for info. I managed to know what was wrong by Bruno's post.

regards
yoddha24 is offline   Reply With Quote

Old   November 22, 2012, 11:46
Default
  #8
New Member
 
Saulo Barbosa
Join Date: Nov 2012
Posts: 2
Rep Power: 0
neosoyo is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

I've moved your posts to a new thread, specifically for these kinds of questions on how to get started!

From your questions, it looks like you guys didn't read very well the User Guide
It all begins here: http://www.openfoam.org/docs/user/tu...s.php#x4-30002 - namely with these commands:
Then continue reading, starting with the first tutorial: http://www.openfoam.org/docs/user/cavity.php

Have fun!
Bruno
i've found it!! i created and copied a folder tree for root user too!

don't realize that..check this too yoddha24.

working fine now, thanks!
neosoyo 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
Add temperature to icoFoam in OpenFOAM 2.1.1 magnounibo OpenFOAM Programming & Development 12 February 17, 2020 05:28
OpenFoam 1.7.1 in Ubuntu 10.04 won't start working Leech OpenFOAM Installation 8 August 10, 2014 20:42
Problem when installing Openfoam 2.0.x with mac giovaniharyadi OpenFOAM Installation 0 March 24, 2012 18:45
Trouble with installing OpenFOAM on Ubuntu Milos OpenFOAM Installation 16 November 16, 2009 02:44
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 11:50.