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

op230 command won't load

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

Like Tree1Likes
  • 1 Post By blacksquirrel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2014, 07:37
Default op230 command won't load
  #1
New Member
 
Seb
Join Date: Oct 2014
Posts: 2
Rep Power: 0
shiva979 is on a distinguished road
Hi - first post on the forum.

Wondering if someone could help me; I installed OpenFOAM 2.3.0 on Ubuntu 14.04 LTS using the tutorial at the following address:
http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04

I started running through a tutorial and it all worked fine, then I turned the PC off and came back to it, and the terminal won't recognise the of230 command.
I'm not a regular Ubuntu (or even Linux) user so am not entirely sure what actually happens when this command is run.

This may have been already solved (probably is an easy problem!) but I can't understand it, or what may have caused it.

Thanks for any help
Seb
shiva979 is offline   Reply With Quote

Old   October 17, 2014, 09:23
Default
  #2
Member
 
Join Date: Jun 2011
Posts: 53
Rep Power: 15
blacksquirrel is on a distinguished road
Hi Seb,

There is probably something wrong in your bashrc file.
The of230 command tells your system where to look for the OpenFoam installation.
Have a look at step 7 in your tutorial, there you will find some explanation. Especially look at the links in the note to it.

So go in your home folder and take a look at your .bashrc or .bash_aliases:
Is there some command like
Code:
alias of230='source /PATH/TO/YOUR/OPENFOAM/ETC/BASHRC'
If yes: Check whether the path to your OpenFOAM installation correct.
If no: Add this command to your bash with the correct path to your installation.
do
Code:
source .bashrc
and now
Code:
of230
I hope this helps
AshwaniAssam likes this.
blacksquirrel is offline   Reply With Quote

Old   October 20, 2014, 14:13
Default
  #3
New Member
 
Seb
Join Date: Oct 2014
Posts: 2
Rep Power: 0
shiva979 is on a distinguished road
Hi
Tried it...think there's something wrong with my install.
Thanks for your help anyway

Cheers
Seb
shiva979 is offline   Reply With Quote

Old   October 26, 2014, 13:22
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
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
Quick answer:
  1. Run this command and tell us what it gave you:
    Code:
    tail ~/.bashrc
  2. For more details on why I asked this: http://openfoamwiki.net/index.php/In...with_the_Shell
wyldckat is offline   Reply With Quote

Reply

Tags
of230, openfoam 2.3.0, ubuntu 14.04 lts

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] How to load all <case>/surfaces/*/*.vtk at once into Paraview holodeck10 ParaView 8 November 22, 2019 17:52
Cfd to ansys thermal to ansys structural interface ssixr ANSYS 17 July 31, 2015 15:18
Valveless Pump Boundary Load Convergence Problems in COMSOL v4.4 PKawun COMSOL 0 April 23, 2014 09:52
moving load problem aditi chauhan ANSYS 0 October 9, 2010 04:47
Using load vector for parallel partitioning Kevala FLUENT 0 May 1, 2001 12:11


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