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

Problem Open foam 2.1.1 Wubi 12.04

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 3, 2012, 16:45
Default Problem Open foam 2.1.1 Wubi 12.04
  #1
Member
 
Join Date: Apr 2012
Posts: 63
Rep Power: 4
leo_NM is on a distinguished road
Hey

I'm trying to install OF 2.11 on my laptop with Wubi running ubuntu 12.04. Everything works perfectly on the installation but when I copy the "Source /opt/openfoam211/etc/bashrc" line in the bashrc archive I get one error message on the terminal telling me that one syntax error is happening and the icoFoam -help comand do not show the correrct answer.

how can I fix it ?


thanks
leo_NM is offline   Reply With Quote

Old   December 3, 2012, 16:48
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,433
Blog Entries: 33
Rep Power: 73
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings leo_NM,

A transcript of the actual error message would come in handy... but if you did write in "~/.bashrc" the line:
Quote:
Code:
Source /opt/openfoam211/etc/bashrc
Then change the first "S" a lower case "s":
Code:
source /opt/openfoam211/etc/bashrc
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   December 4, 2012, 13:56
Default
  #3
Member
 
Join Date: Apr 2012
Posts: 63
Rep Power: 4
leo_NM is on a distinguished road
It was already in lower case.

the image shows the message and the archive.

thanks
Attached Images
File Type: jpg Screenshot from 2012-12-04 14:53:12.jpg (50.3 KB, 7 views)
leo_NM is offline   Reply With Quote

Old   December 4, 2012, 17:38
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,433
Blog Entries: 33
Rep Power: 73
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
An image is clearly worth a thousand words!

OK, there are two problems that I can see:
  1. It's missing a space between "source" and "/opt".
  2. This line you're adding should be on it's own. In other words, it should look something like this:
    Code:
    fi
    
    source /opt/openfoam211/etc/bashrc
wyldckat is offline   Reply With Quote

Old   December 5, 2012, 08:19
Default
  #5
Member
 
Join Date: Apr 2012
Posts: 63
Rep Power: 4
leo_NM is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
An image is clearly worth a thousand words!

OK, there are two problems that I can see:
  1. It's missing a space between "source" and "/opt".
  2. This line you're adding should be on it's own. In other words, it should look something like this:
    Code:
    fi
    
    source /opt/openfoam211/etc/bashrc
thanks !! It Worked !!!!
leo_NM is offline   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
Using starToFoam clo OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 33 September 26, 2012 05:04
area does not match neighbour by ... % -- possible face ordering problem St.Pacholak OpenFOAM 9 November 22, 2011 11:02
StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38
Problem with VOF open channel modelling Biswanath Mahato FLUENT 1 September 14, 2006 05:20
problem in running FoamX in Open FOAM Gaurav Main CFD Forum 3 May 10, 2006 06:06


All times are GMT -4. The time now is 03:26.