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

Getting Started

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 14, 2010, 18:10
Default Getting Started
  #1
New Member
 
Join Date: Oct 2010
Posts: 3
Rep Power: 6
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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 online now   Reply With Quote

Old   October 14, 2010, 20:40
Default
  #3
New Member
 
Join Date: Oct 2010
Posts: 3
Rep Power: 6
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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 online now   Reply With Quote

Old   October 15, 2010, 12:22
Default
  #5
New Member
 
Join Date: Oct 2010
Posts: 3
Rep Power: 6
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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 online now   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help getting started Xye OpenFOAM 1 November 21, 2009 15:01
Error: Fluent process could not be started Clem FLUENT 0 February 17, 2009 20:33
The fluent process could not be started Mary FLUENT 3 July 8, 2008 01:38
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 12:17


All times are GMT -4. The time now is 04:40.