|
[Sponsors] |
interPhaseChangeFoam with nOuterCorrectors != 1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 10, 2013, 06:42 |
|
#21 | ||
Senior Member
|
Hi Bruno,
sorry if I disturb you again! I installed OpenFoam 2.2.x in OpenSuse 12.3! I already have the version OpenFoam 2.1.x! My bashrc looks like: Quote:
Quote:
Could you help me to explain and fix this problem! Best Regards Marco P.S:"Datei oder Verzeichnis nicht gefunden " means "No such file or directory" |
|||
May 10, 2013, 19:49 |
|
#22 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Marco,
One (or two) of the "bashrc*" files is defined to work on the standard installation path, which is "$HOME/OpenFOAM". The others are set to "/opt/OpenFOAM", which are the ones that are working properly. If you take a look at the "bashrc" file from 2.2.x, starting at the line 37: https://github.com/OpenFOAM/OpenFOAM...etc/bashrc#L37 - you'll see the definition of the variable "foamInstall". Check if all variants of your "bashrc*" files are pointing to the same path. Best regards, Bruno
__________________
|
|
May 13, 2013, 07:29 |
|
#23 |
Senior Member
|
HI Bruno!
You are (always) right! Problem Fixed! Thanks Regards Marco |
|
March 22, 2014, 05:49 |
|
#24 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Regarding the original post by Anton: Quote:
Bruno
__________________
|
||
February 23, 2016, 05:46 |
compilation problem
|
#25 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
Hi All,
I am able to compile the code in my desktop with OF 2.3.1 but If, I try with another pc with same version the then it gives me following error... Code:
wmake libso phaseChangeTwoPhaseMixtures wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C could not open file incompressibleTwoPhaseMixture.H for source file phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C due to No such file or directory Making dependency list for source file phaseChangeTwoPhaseMixture/newPhaseChangeTwoPhaseMixture.C could not open file incompressibleTwoPhaseMixture.H for source file phaseChangeTwoPhaseMixture/newPhaseChangeTwoPhaseMixture.C due to No such file or directory Making dependency list for source file Ganapathy/Ganapathy.C could not open file incompressibleTwoPhaseMixture.H for source file Ganapathy/Ganapathy.C due to No such file or directory Making dependency list for source file Lee/Lee.C could not open file incompressibleTwoPhaseMixture.H for source file Lee/Lee.C due to No such file or directory Making dependency list for source file Recep/Recep.C could not open file incompressibleTwoPhaseMixture.H for source file Recep/Recep.C due to No such file or directory SOURCE=phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/apps/openfoam_gcc/2.3.1/OpenFOAM-2.3.1/src/transportModels/twoPhaseMixture/lnInclude -I/home/apps/openfoam_gcc/2.3.1/OpenFOAM-2.3.1/src/transportModels -I/home/apps/openfoam_gcc/2.3.1/OpenFOAM-2.3.1/src/transportModels/interfaceProperties/lnInclude -I/home/rek209/OpenFOAM/rek209-2.3.1/src/transportModels/incompressible/lnInclude -I/home/apps/openfoam_gcc/2.3.1/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/apps/openfoam_gcc/2.3.1/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/apps/openfoam_gcc/2.3.1/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/phaseChangeTwoPhaseMixture.o In file included from phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C:26:0: phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.H:38:43: fatal error: incompressibleTwoPhaseMixture.H: No such file or directory compilation terminated. make: *** [Make/linux64GccDPOpt/phaseChangeTwoPhaseMixture.o] Error 1 thanks in advance! Do you have any idea? kanarya |
|
March 6, 2016, 10:54 |
|
#26 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer:
Without more details, I'm guessing you copied your build from one machine to another machine. Therefore, you should first run: Code:
wclean all Only then should you run: Code:
wmake all
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bug about MULES::implicitSolve for interPhaseChangeFoam in OF-1.6 | chiven | OpenFOAM Bugs | 18 | April 18, 2013 23:56 |
consult some questions about the interPhaseChangeFoam | super | OpenFOAM Running, Solving & CFD | 9 | April 8, 2013 08:25 |
nOuterCorrectors in PISO loop - what for? | makaveli_lcf | OpenFOAM Running, Solving & CFD | 0 | October 14, 2009 09:29 |
MULES in interPhaseChangeFoam | isabel | OpenFOAM | 0 | July 16, 2009 08:06 |
gammaEqn.H in the interPhaseChangeFoam solver | isabel | OpenFOAM | 2 | July 7, 2009 14:41 |