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

Getting Started

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2010, 18:10
Default Getting Started
  #1
New Member
 
Join Date: Oct 2010
Posts: 3
Rep Power: 15
Guardian is on a distinguished road
I just installed openfoam how it's written in the manual.
Now i have a problem to continue with the "getting started" part.
Quote:
Getting Started

Create a project directory within the $HOME/OpenFOAM directory named <USER>-1.7.1 (e.g. chris-1.7.1 for user chris and OpenFOAM version 1.7.1) and create a directory named run within it, e.g. by typing:

* mkdir -p $FOAM_RUN
I dont know what to do with $HOME? I can't create new directories in /home
and to write mkdir -p $FOAM_RUN in the terminal leads to nothing.

plz help
Guardian is offline   Reply With Quote

Old   October 14, 2010, 18:39
Default
  #2
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 Guardian and welcome to the forum!

Try running the following two commands:
Code:
echo $HOME
echo $FOAM_RUN
Do they output anything?
The first one should show your own user folder in the "/home" folder; For example "/home/guardian".
The second one should show something like "/home/guardian/OpenFOAM/guardian-1.7.1/run". If it doesn't, it's because OpenFOAM isn't properly installed. If it does show something, try running this:
Code:
cd $FOAM_RUN
If the command mkdir doesn't output any error message, then it did work! If the variable FOAM_RUN were empty, mkdir would have told you this:
Code:
mkdir: missing operand
Try `mkdir --help' for more information.
If you want to know more about what environment variables are available in your terminal/shell, try these commands:
Code:
export
env
When in doubt what a command does use "man" or "--help". For example, for the command env, try:
Code:
env --help
man env
Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 14, 2010, 20:40
Default
  #3
New Member
 
Join Date: Oct 2010
Posts: 3
Rep Power: 15
Guardian is on a distinguished road
It wouldn't be a problem at all to create these directories with the file manager.
I just thought that i have to create them by using the mkdir command.
so i was just confused that it didn't work.

Now i copied the tutorials into the run directory and started it with the commands:
cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity
blockMesh
icoFoam
paraFoam

...then paraview opened.

but where the hell is openfoam?
Guardian is offline   Reply With Quote

Old   October 15, 2010, 07:06
Default
  #4
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
Hi Guardian,

ParaView is used for post-processing: http://www.openfoam.com/docs/user/ca...#x5-130002.1.4

OpenFOAM did it's magic when you ran:
Code:
blockMesh
icoFoam
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 15, 2010, 12:22
Default
  #5
New Member
 
Join Date: Oct 2010
Posts: 3
Rep Power: 15
Guardian is on a distinguished road
ok i thought it looks like this.
http://oshima.eng.niigata-u.ac.jp/Op...amXscreen2.png
Guardian is offline   Reply With Quote

Old   October 15, 2010, 12:29
Default
  #6
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
Hi Guardian,

Nope, sadly FoamX is no longer supported nor developed AFAIK. For more information, you can read about it here.

Best regards,
Bruno
__________________
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
The fluent process could not be started Mary FLUENT 5 June 23, 2017 07:38
Error: Fluent process could not be started Clem FLUENT 1 November 26, 2015 13:23
Help getting started Xye OpenFOAM 1 November 21, 2009 14:01
EOF on stderr. the fluent could not be started sree_rahul FLUENT 2 July 12, 2006 06:59
HELP-error: the fluent process cannot be started James Willie FLUENT 0 January 24, 2006 11:17


All times are GMT -4. The time now is 05:31.