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

OpenFOAM on two different places on PC

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 1, 2012, 06:32
Default OpenFOAM on two different places on PC
  #1
New Member
 
Michal
Join Date: Apr 2012
Location: Czech Republic
Posts: 27
Rep Power: 5
majkl is on a distinguished road
Hi,

I'm using OF on my PC. It's running well.

Now, I need modify some OF libraries, solvers.. Because I'm still solving some cases, I want to create another version of OF on my disc, that I could modify but that DO NOT INFLUENCE the running case.

Can I make a copy on different place on the disc with some edits in global paths. Which global paths variables I need to modify?

Thanks for replies.

Michal
majkl is offline   Reply With Quote

Old   June 1, 2012, 09:59
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Michal,

Here's some reading material: Advanced tips for working with the OpenFOAM shell environment

And here's the key detail already provided on the official site:
Quote:
Originally Posted by http://www.openfoam.org/download/source.php
Code:
export FOAM_INST_DIR=/data/app/OpenFOAM 
foamDotFile=$FOAM_INST_DIR/OpenFOAM-2.1.1/etc/bashrc 
[ -f $foamDotFile ] && . $foamDotFile
As you can see, you can modify the folder where it's installed on the fly. On the first link is explained how you can then easily change between versions or at least easily start a new version on each new terminal window.

Best regards,
Bruno
wyldckat is online now   Reply With Quote

Old   June 4, 2012, 06:52
Default
  #3
New Member
 
Michal
Join Date: Apr 2012
Location: Czech Republic
Posts: 27
Rep Power: 5
majkl is on a distinguished road
Hi Bruno,

thanks, I'll try it and send my success report, I hope ;-)

Michal
majkl is offline   Reply With Quote

Old   June 18, 2012, 03:42
Default
  #4
New Member
 
Michal
Join Date: Apr 2012
Location: Czech Republic
Posts: 27
Rep Power: 5
majkl is on a distinguished road
Hi Bruno,

thanks for your tip (I've overlooked this at OpenFOAM sites), it works.

Michal
majkl 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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
OpenFOAM - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 9 June 22, 2011 18:59
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 05:51
Issues with OpenFoam sanjibdsharma OpenFOAM 0 August 14, 2009 08:41
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 13:14


All times are GMT -4. The time now is 18:02.