|
[Sponsors] |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 18, 2014, 15:58 |
|
#81 |
New Member
Juimo Pierre
Join Date: Aug 2012
Posts: 13
Rep Power: 14 |
it is the same solution
1- in fact it's just addition of a line "-lincompressibleTransportModels \" and " -linterfaceProperties" in Make/option 2- wmake source alexeym |
|
May 18, 2014, 20:49 |
|
#82 | |
Member
J.-H. Wang
Join Date: Oct 2010
Posts: 72
Rep Power: 16 |
Quote:
For the complete record, I changed the options file in the following folders manually, $FOAM_APP/solvers/multiphase/driftFluxFoam/Make $FOAM_APP/solvers/multiphase/interFoam/Make $FOAM_APP/solvers/multiphase/interDyMFoam/Make $FOAM_APP/solvers/multiphase/porousInterFoam/Make $FOAM_APP/solvers/multiphase/LTSInterFoam/Make For each of the options file, I added Code:
-lincompressibleTransportModels \ -linterfaceProperties \ Thanks for the help. JHW |
||
May 23, 2014, 04:57 |
...paraview
|
#83 |
Member
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 15 |
Hello
I have successfully installed OF 2.3 in MacOS, cases are running But cant get Paraview to run. I can open it independently, but I guess Im missing a way to link it. Hope someone can help. when I write in terminal: paraFoam, this is what I got: >> paraFoam created temporary 'OpenFOAM-2.3.0.foam' /Users/frantov/OpenFOAM/OpenFOAM-2.3.0/bin/paraFoam: line 265: paraview: command not found |
|
May 23, 2014, 05:53 |
|
#84 |
Senior Member
|
||
May 23, 2014, 07:25 |
|
#85 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
paraFoam won't work though as the filter distributed with OpenFOAM needs a source-installation of paraview. But paraview has a fine built-in OpenFOAM-filter. That's why I currently don't bother to install it from source
__________________
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 |
||
May 23, 2014, 19:26 |
|
#86 |
Senior Member
|
Dear Bernhard,
I'm not quite sure that the problem is in desire to build Paraview from sources. To illustrate the problem, I've created test.sh and test1.sh files (it's more or less vanilla OS X 10.9, maybe Macports installs its own version of bash). test.sh is: Code:
#!/bin/sh alias lha='ls -lha' Code:
#!/bin/sh lha Code:
$ . test.sh $ ./test1.sh ./test1.sh: line 3: lha: command not found If I change test.sh to: Code:
#!/bin/sh lha() { ls -lha } export -f lha Maybe it's worth changing alias to function in future patches? Also there was an issue with driftFluxFoam. Last edited by alexeym; May 24, 2014 at 05:32. |
|
May 24, 2014, 12:08 |
|
#87 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
About driftFluxFoam. There is a problem with it not linking, right? Adding -ltwoPhaseMixture to Make/options fixes that. It's not in the patch because the solver has been added only recently and I don't rush out a new version of the patch every time something changes (especially in cases like this where nothing else depends on the compilation failure).
__________________
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 |
||
May 25, 2014, 13:41 |
|
#88 | ||
Senior Member
|
Quote:
Quote:
|
|||
May 26, 2014, 20:34 |
|
#90 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
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 |
||
June 19, 2014, 17:59 |
Parallel running on Mavericks 10.9.1
|
#91 |
New Member
Pierluigi Morra
Join Date: Apr 2013
Posts: 25
Rep Power: 13 |
Has anyone tried parallel running on a single machine?
I've started to use the program for a few weeks on Mavericks (10.9.1). Today, I wanted to see how to perform a parallel run on a i7 quad core. I know it is possible, but I get some errors. I would like to get some feedback on that; has anyone tried and succeeded? |
|
June 19, 2014, 18:04 |
|
#92 | |
New Member
Reamonn Mac Reamoinn
Join Date: Mar 2014
Posts: 7
Rep Power: 12 |
Quote:
|
||
June 19, 2014, 18:39 |
|
#93 |
New Member
Pierluigi Morra
Join Date: Apr 2013
Posts: 25
Rep Power: 13 |
||
June 19, 2014, 18:50 |
|
#94 |
New Member
Reamonn Mac Reamoinn
Join Date: Mar 2014
Posts: 7
Rep Power: 12 |
If I remember correctly it was the wingMotion tutorial in the incompressible/pimpleDyMFoam/ directory.
|
|
June 20, 2014, 02:04 |
|
#95 |
Senior Member
|
Hi,
Can you post error message(s)? I've run it in parallel on a single machine and it was OK. |
|
June 22, 2014, 11:28 |
|
#96 |
New Member
Pierluigi Morra
Join Date: Apr 2013
Posts: 25
Rep Power: 13 |
Well, I'm sorry that I didn't reply sooner, but the problem was not in the program itself but in some cell distortion I got after scaling the mesh with different ratios in different directions.
I took the engineFoam tutorial, scaled its mesh to (0.7 0.7 0.5) to make it closer to my cylinder, split the domain in 4 parts and it diverged. Using 2 subdomains solved the problem. I know I should have made a new mesh, but I did't know a fast way for it. As far as the tutorials I made a stupid mistake. Bye. |
|
July 5, 2014, 16:43 |
|
#97 |
Member
Davide D.
Join Date: Oct 2012
Location: Birmingham (UK)
Posts: 44
Rep Power: 14 |
I am encountering some problems in compiling.
Every time it attempts to compile something, it writes: Code:
ld: library not found for -lPstream collect2: ld returned 1 exit status |
|
July 9, 2014, 17:47 |
|
#98 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
The problem must have happened before (during compilation of Pstream). A LITTLE bit of context would be helpful
__________________
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 |
|
August 12, 2014, 08:45 |
Pre-compiled disk images of version 2.3.x for Mac 10.9?
|
#99 |
New Member
Juimo Pierre
Join Date: Aug 2012
Posts: 13
Rep Power: 14 |
Pre-compiled disk images of version 2.3.x for Mac 10.9?
|
|
August 12, 2014, 16:03 |
|
#100 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
None that I know of (but I haven't looked very much for precompiled versions to be honest). Closest thing I know of is found at https://sourceforge.net/projects/ope...am-extend-3.1/ (but of course that is the other fork).
__________________
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 |
|
|
|
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 |