|
[Sponsors] |
[foam-extend.org] Problems on installing Foam-extend 4.0/ swak4Foam on ubuntu18.0.4 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 14, 2021, 16:39 |
|
#21 |
New Member
MUGET
Join Date: May 2017
Location: toulouse
Posts: 6
Rep Power: 9 |
I tried first manually, instlaling it in my /home_dir, but it didn't work out as i had to install a solver prior to installing this swak3Foam.
So then i found it and installed it from Yast2, Opensuse's standard graphical software manager. openfoam2012 was there listed just waiting for me to clikc on it:-) So that's when it installed it on /usr/bin and /usr/lib. There is /usr/lib/openfoam as a dynamic link to /usr/lib/openfoam2012 aside of it. I tried several things then to install swak4Foam setting its directory in /usr/lib/. first, then /usr/lib/openFoam2012/., and then /usr/lib/openfoam .. none of them worked out. So i did manage to install a solver but that one was written by my student, i'm not sure it is online? it compiled properly in applications/solvers/multiphase/multiphaseInterFoam. So maybe she'd put a path that was okay. Sorry for my ignorance with compiling OF, i have a few questions to your answer: 1) you confirm i should put swak4Foam aside to say applications and build just below /openFoam2012 directory ? 2) when you mention the failing code line to include $OBJECTS_DIR ../mybison, i naively thought it was in the Allwmake file, but i don't see any command near to that, so it should be fixed in another file: which one ?? I do have a openFoam2012/build/linux64GccDPInt32Opt directory, that should be equivalent to the one you mention Make/linux64Clang110DPInt32Opt ? On the other hand swak4Foam indeed contains Libraries/swak4FoamParsers/Make/mybison. Thanks a lot already for your answer, that helps a bit already. Merci! |
|
September 14, 2021, 19:44 |
|
#22 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
linux64Clang110DPInt32Opt (or similar) is a subdirectory of the Make-directory where all the object files are compiled to, The name is composed of the architecture (linux64), the compiler name (Clang110) and some options (DP, Int32, Opt). This allows OF to compile different configurations (for instance Debug instead of Opt) in the same source tree. The OBJECT_DIR-variable is supposed to be set internally by the wmake command. I remotely remember with some binary distributions not doing that correctly. Thus making it hard (or impossible) to compile anything
__________________
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 |
||
December 19, 2021, 08:55 |
|
#23 | |
New Member
Tianyang Zhao
Join Date: Dec 2021
Posts: 1
Rep Power: 0 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 08:15 |
Non physical force coefficients obtained in simulation using foam extend 4.0 (IBM) | Suya_94 | OpenFOAM Running, Solving & CFD | 0 | March 4, 2019 18:52 |
[CGNS] CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 137 | December 14, 2018 05:20 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |