|
[Sponsors] |
December 11, 2014, 07:45 |
swak4foam error
|
#121 |
New Member
Juimo Pierre
Join Date: Aug 2012
Posts: 13
Rep Power: 14 |
thank you very much
Last edited by Roskiki; December 13, 2014 at 01:01. |
|
December 11, 2014, 09:21 |
|
#122 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
January 13, 2015, 16:59 |
Using the wiki instructions to install 2.2.3
|
#123 |
New Member
Guest
Join Date: Jan 2015
Posts: 8
Rep Power: 11 |
Could someone please confirm which steps of the wiki page for Installing 2.2.2 would be applicable, if I was to install 2.3.1 using this patch?
https://openfoamwiki.net/index.php/I...OpenFOAM_2.2.2 Are there any steps I should ignore or do differently? Also, is it still possible to install 2.2.2 at this point (I am thinking this might be an easier option, as it would mean I could just follow the instructions step by step) Thanks for your help, I have spent the past few days trying to understand how this all fits together and am a bit confused |
|
January 13, 2015, 21:36 |
|
#124 | |
Senior Member
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 13 |
Quote:
Anyway the procedure about 2.2. is practically the same, except for the fact that now the patch it's just one to apply, and not two. Last time I compiled 2.3, some editing on some Makefiles were required, they're however described in previous posts. Just try to do it yourself, if you get errors try to search before around here, and if you can't succeed try to ask. |
||
January 16, 2015, 14:39 |
|
#125 | |
New Member
Guest
Join Date: Jan 2015
Posts: 8
Rep Power: 11 |
Quote:
I have used the method proposed by alexeym above, and I was wondering if someone would be able to check my log file (attached) to see if everything is working properly? I am new to using terminal and OpenFOAM so would appreciate any help / advice. Thanks |
||
January 16, 2015, 16:05 |
|
#126 |
Senior Member
|
Hi,
Well, there were 3 principal errors. All of them are caused by missing flags in Make/options files of the corresponding solvers. Errors are in driftFluxFoam, interFoam, interDyMFoam, porousInterFoam, and LTSInterFoam. If you can live without these solvers there's no reason to worry. Otherwise you have two choices: correct Make/options yourself, wait for new patches (though the error with driftFluxFoam was there from the initial 2.3.0 release, it seems, the error is still there). |
|
January 16, 2015, 18:53 |
|
#127 | |
New Member
Guest
Join Date: Jan 2015
Posts: 8
Rep Power: 11 |
Quote:
For any other newbies on this thread looking for a simple method to install OpenFOAM on Yosemite, I would recommend alexeym's method as being very quick and easy. |
||
January 17, 2015, 14:04 |
|
#128 |
New Member
Guest
Join Date: Jan 2015
Posts: 8
Rep Power: 11 |
I have started going through the tutorial and have hit one more issue - I don't seem to have Paraview installed. When I type the command paraFoam
I get this: FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers ./Allwclean ./Allwmake I tried following these instructions but the last command gives the error: ERROR: ParaView not found in /Users/luckyhat/OpenFOAM/ThirdParty-2.3.x/platforms/darwinIntel64Gcc46/ParaView-4.1.0 I tried creating those folders and copying ParaView-4.1.0 into the directory but then I get the error: ./Allwmake : PV_PLUGIN_PATH not valid - it is unset Any ideas on the best / easiest way to install ParaView? Thanks |
|
January 17, 2015, 14:24 |
|
#129 |
Senior Member
|
Hi,
You should install binary version of paraview in /Applications. Download it from http://www.paraview.org/paraview-dow...rwin-64bit.dmg. And use built-in reader module using 'paraFoam -builtin'. |
|
January 17, 2015, 14:41 |
|
#130 |
New Member
Guest
Join Date: Jan 2015
Posts: 8
Rep Power: 11 |
When I run paraFoam -builtin I get:
created temporary 'PV4Readers.foam' /Users/brendanfox/OpenFOAM/OpenFOAM-2.3.x/bin/paraFoam: line 265: paraview: command not found I tried restarting terminal and running the command again, now I get: paraFoam -builtin -bash: paraFoam: command not found Any ideas? |
|
January 17, 2015, 14:56 |
|
#131 | ||
Senior Member
|
Quote:
Code:
$ cd $WM_PROJECT_DIR/bin $ ln -s /Applications/paraview.app/Contents/MacOS/paraview Quote:
Last edited by alexeym; January 18, 2015 at 11:44. Reason: typos |
|||
January 18, 2015, 04:56 |
|
#132 | |
New Member
Guest
Join Date: Jan 2015
Posts: 8
Rep Power: 11 |
Quote:
Thanks |
||
January 18, 2015, 08:40 |
|
#133 |
Senior Member
|
Hi,
In the guide on openfoamwiki.net (I guess you've used it to compile OF) it is called: Code:
9. Source the bashrc file: #Current Folder: ~/OpenFOAM/OpenFOAM-2.2.2 . etc/bashrc |
|
January 18, 2015, 09:30 |
|
#134 | |
New Member
Guest
Join Date: Jan 2015
Posts: 8
Rep Power: 11 |
Quote:
ln: ./paraview: File exists |
||
January 18, 2015, 11:47 |
|
#135 |
Senior Member
|
Well, the output contradicts to itself, let's learn a little bit more about your installation. What is the output of the following commands:
1. Code:
$ which paraview Code:
$ type paraview |
|
January 18, 2015, 13:04 |
|
#136 |
New Member
Guest
Join Date: Jan 2015
Posts: 8
Rep Power: 11 |
Yeah, I think there are still some problems with my environment. Right now I am reading up on OpenFOAM shell environment (http://www.cfd-online.com/Forums/blo...vironment.html) to try and better understand what is going on.
The first command (which paraview) gave no output The second command (type paraview) gave the following output: -bash: type: paraview: not found Thanks for your help |
|
January 22, 2015, 13:53 |
|
#137 |
New Member
Jonathan
Join Date: Jan 2015
Posts: 20
Rep Power: 11 |
I am using Macports on Mountain Lion and have followed all the requisite steps (using case-sensitive sparse image, applied patch, edited etc/bashrc, etc.). However, I am getting errors. I will attach the log up to the first instance of "Error 1". Any suggestions?
|
|
January 30, 2015, 11:36 |
|
#138 |
New Member
Andre Mas
Join Date: Jan 2015
Location: Montreal, Canada
Posts: 18
Rep Power: 11 |
Has anyone created a github fork of the OpenFOAM 2.3.x project and applied the patch to it? If not, does anyone oppose the idea?
I am just wondering whether this would help reduce issues around the patching? |
|
February 3, 2015, 11:18 |
|
#139 |
New Member
Jonathan
Join Date: Jan 2015
Posts: 20
Rep Power: 11 |
This would be great to do! As much as possible, please provide sources that are applicable to multiple OS X versions and third-party software system (Macports vs. Homebrew vs. manual).
|
|
February 3, 2015, 12:11 |
|
#140 | |
New Member
Andre Mas
Join Date: Jan 2015
Location: Montreal, Canada
Posts: 18
Rep Power: 11 |
Quote:
When I do get things working, I will certainly take into account your suggestion, but also try to make any solution support a cross-platform use case. Edit: user error. I seem to have missed the part which indicated I needed to use a case-sensitive file system. Creating a case-sensitive HFS+ disk image made a difference. I wonder whether the main devs would be interested in trying to resolve the issues requiring a case-sensitive FS? Last edited by ajmas; February 3, 2015 at 15:35. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] dynamicTopoFVMesh and pointDisplacement | RandomUser | OpenFOAM Meshing & Mesh Conversion | 6 | April 26, 2018 08:30 |
Near wall treatment in k-omega SST | Arnoldinho | OpenFOAM Running, Solving & CFD | 38 | March 8, 2017 14:48 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
createPatch Segmentation Fault (CORE DUMPED) | sam.ho | OpenFOAM Pre-Processing | 2 | April 21, 2014 03:01 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |