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

Installing Mixing_plane in either OpenFOAM 2.3.0 or 1.6-ext

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 6, 2014, 09:25
Default Installing Mixing_plane in either OpenFOAM 2.3.0 or 1.6-ext
  #1
Member
 
Jiri
Join Date: Mar 2014
Location: Czech Republic
Posts: 53
Rep Power: 3
Jiricbeng is on a distinguished road
Hi,
can I use OF 1.6ext described in

http://openfoamwiki.net/index.php/Si...enFOAM-1.6-ext

to my version 2.3.0. Or shall I uninstall 2.3.0 and download 1.6ext. I need mixingplane.

Thanks a lot.
Jiricbeng is offline   Reply With Quote

Old   May 7, 2014, 03:25
Default
  #2
Member
 
Jiri
Join Date: Mar 2014
Location: Czech Republic
Posts: 53
Rep Power: 3
Jiricbeng is on a distinguished road
Has anyone any experience with downloading OpenFOAM-1.6-ext ? I cannot download it neither from http://openfoamwiki.net/index.php/Si...enFOAM-1.6-ext nor from git clone git://git.code.sf.net/p/openfoam-extend/foam-extend-3.0 available on http://extend-project.de/

Thank you for any advice
Jiricbeng is offline   Reply With Quote

Old   May 11, 2014, 15:25
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,492
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Jiri,

You can find several ways to download 1.6-ext from this page: http://openfoamwiki.net/index.php/In...1.6-ext/Ubuntu - check step #5 on any of the sections.

If the branch mentioned on the wiki page you've initially referred to does not git checkout, then checkout the tag "1.6.1", as it points to the last iteration made on that repository.

Best regards,
Bruno
wyldckat is online now   Reply With Quote

Old   May 12, 2014, 05:04
Smile
  #4
Member
 
Jiri
Join Date: Mar 2014
Location: Czech Republic
Posts: 53
Rep Power: 3
Jiricbeng is on a distinguished road
Thank you, installation goes fine until step 10.

There is
source
etc/bashr
however in terminal I receive that file or folder does not exist. Then commands go well until step 13, which should last somewhere between 5 and 30 minutes. However after writing the command
./AllMake > log.AllMake 2>&1 nothing happens (I am immediately switched to another command line)
And the step 14 gives me an error message
Error: Directory does not exist /opt/ThirdParty-2.3.0
Error: Current directory is not $WM_THIRD_PARTY_DIR
The environment variables are inconsistent with the installation.
Check the OpenFOAM entries in your dot-files and source them.
Are these error consequences of the step 10?
Jiricbeng is offline   Reply With Quote

Old   May 12, 2014, 15:36
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,492
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Jiri,
  1. Make sure you're following the instructions for the correct version of Ubuntu!
  2. It seems that you already have OpenFOAM 2.3.0 installed. In order to avoid conflict of versions, please follow the instructions indicated at the end of step #10, namely:
    Quote:
    For more information on this topic, read section Using aliases to help manage multiple OpenFOAM versions in the page Installation/Working with the Shell.
  3. edit: Once you've corrected the contents of the file "$HOME/.bashrc", run these commands:
    Code:
    of16ext
    foam
    And then continue from step #11.
Best regards,
Bruno

Last edited by wyldckat; May 12, 2014 at 15:39. Reason: see "edit:"
wyldckat is online now   Reply With Quote

Old   May 13, 2014, 01:51
Default
  #6
Member
 
Jiri
Join Date: Mar 2014
Location: Czech Republic
Posts: 53
Rep Power: 3
Jiricbeng is on a distinguished road
Thank you, I ve already successfully managed to install it. However, could you tell me which tutorial includes rotating segment with stationary segment and mixing plane between? (also frozen rotor could be) I cannot find any such tutorial and this is why I download 1.6ext :-).
Jiricbeng is offline   Reply With Quote

Old   May 18, 2014, 14:22
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,492
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
edit: Sorry about the confusion, but it looks like 1.6-ext has the code regarding the mixing-plane feature in another branch. During the development of foam-extend 3.0, it looks like that the branch designated as "mixingPlane_RC1" was erased and the source code that was part of it is in the branch "nr/MartinBeaudoin".

The way I see it, you have at least 2 choices:
  1. Use git to checkout the correct branch "nr/MartinBeaudoin" and then build the updated code of 1.6-ext.
  2. Or install foam-extend 3.0 instead, which already has the mixing-plane feature.
Honestly, I suggest that you install foam-extend 3.0 instead, as it's more recent. Problem might be that the mixing plane feature might not yet be working in parallel, as reported on this thread: foam-extend-3.0 + Mixing-Plane decomposition

After you've installed foam-extend 3.0, you can find the tutorials that use it, by running this command:
Code:
find $FOAM_TUTORIALS -iname "*mixingPlane*"
------- Original answer, before I looked into this... -------
Hi Jiri,

I'll try to answer to your question on this other thread of yours: Unable to run a case with OpenFOAM 1.6-ext that works with OpenFOAM 2.3.0 - this way this current thread is dedicated to the installation topic and the other is related to issues on how to find and run those cases.

Best regards,
Bruno

Last edited by wyldckat; May 18, 2014 at 14:44. Reason: revised answer...
wyldckat is online now   Reply With Quote

Old   May 18, 2014, 15:46
Default
  #8
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
Hello,

Bruno's suggestion to use foam-extend-3.0 is the right answer.

OpenFOAM-1.6-ext is no longer being maintained since last October, at least publicly, so you won't get much support from the main developers there. The git repository is being kept in read-only mode.

The branch nr/MartinBeaudoin should have been killed a long time ago. There is no longer anything very useful there. Everything useful about the mixingPlane was integrated under foam-extend-3.0.

All the very latest developments, bug fixes and tutorials regarding the mixingPlane will be contributed to foam-extend-3.x, at least for the stuff I will develop and publish.

I cannot comment about porting the mixingPlane for OpenFOAM 2.3.0 since I have no experience using that code base.

Martin

Quote:
Originally Posted by wyldckat View Post
edit: Sorry about the confusion, but it looks like 1.6-ext has the code regarding the mixing-plane feature in another branch. During the development of foam-extend 3.0, it looks like that the branch designated as "mixingPlane_RC1" was erased and the source code that was part of it is in the branch "nr/MartinBeaudoin".

The way I see it, you have at least 2 choices:
  1. Use git to checkout the correct branch "nr/MartinBeaudoin" and then build the updated code of 1.6-ext.
  2. Or install foam-extend 3.0 instead, which already has the mixing-plane feature.
Honestly, I suggest that you install foam-extend 3.0 instead, as it's more recent. Problem might be that the mixing plane feature might not yet be working in parallel, as reported on this thread: foam-extend-3.0 + Mixing-Plane decomposition

After you've installed foam-extend 3.0, you can find the tutorials that use it, by running this command:
Code:
find $FOAM_TUTORIALS -iname "*mixingPlane*"
------- Original answer, before I looked into this... -------
Hi Jiri,

I'll try to answer to your question on this other thread of yours: Unable to run a case with OpenFOAM 1.6-ext that works with OpenFOAM 2.3.0 - this way this current thread is dedicated to the installation topic and the other is related to issues on how to find and run those cases.

Best regards,
Bruno
mbeaudoin 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
Installing OpenFOAM 2.1.1 and ParaView 3.12.0 on Ubuntu 12.10 wyldckat OpenFOAM Installation 14 February 12, 2013 05:43
installing OF 1.6 ext yhaomin2007 OpenFOAM Installation 3 September 11, 2012 16:52
install OpenFoam 1.6 by building source: how? niudie OpenFOAM Installation 13 April 26, 2011 00:48
Compatibility OpenFOAM 1.6 and 1.7.1 Ale_galleria OpenFOAM 2 September 20, 2010 09:14
OpenFOAM 1.6 package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 36 September 2, 2009 12:46


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