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

interPhaseChangeFoam with nOuterCorrectors != 1

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2013, 05:42
Default
  #21
Senior Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 103
Rep Power: 13
sfigato is on a distinguished road
Send a message via Skype™ to sfigato
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:
alias startFoam='. /opt/OpenFOAM/OpenFOAM-2.1.x/etc/bashrc'
alias startFoamDebug='. /opt/OpenFOAM/OpenFOAM-2.1.x/etc/bashrc_debug'

alias startFoam22x='. /opt/OpenFOAM/OpenFOAM-2.2.x/etc/bashrc'
alias startFoamDebug22x='. /opt/OpenFOAM/OpenFOAM-2.2.x/etc/bashrc_debug'
When I open a new terminal and type startFoam22x. I get this error output:
Quote:
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/bin/foamEtcFile: Datei oder Verzeichnis nicht gefunden
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/etc/config/settings.sh: Datei oder Verzeichnis nicht gefunden
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/etc/config/aliases.sh: Datei oder Verzeichnis nicht gefunden
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/bin/foamEtcFile: Datei oder Verzeichnis nicht gefunden
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/bin/foamEtcFile: Datei oder Verzeichnis nicht gefunden
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/bin/foamEtcFile: Datei oder Verzeichnis nicht gefunden
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden
bash: /home/ifas/OpenFOAM/OpenFOAM-2.2.x/bin/foamCleanPath: Datei oder Verzeichnis nicht gefunden
The strange thing is that, if I type startFoam and startFoam22x everything works fine!

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"
sfigato is offline   Reply With Quote

Old   May 10, 2013, 18:49
Default
  #22
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   May 13, 2013, 06:29
Default
  #23
Senior Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 103
Rep Power: 13
sfigato is on a distinguished road
Send a message via Skype™ to sfigato
HI Bruno!

You are (always) right! Problem Fixed!

Thanks

Regards
Marco
sfigato is offline   Reply With Quote

Old   March 22, 2014, 04:49
Default
  #24
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

Regarding the original post by Anton:
Quote:
Originally Posted by akidess View Post
I'm comparing the implementations of alphaEqn and alphaEqnSubCycle in interFoam and interPhaseChangeFoam, and they're pretty much equivalent except that interPhaseChangeFoam only calls interface.correct() if nOuterCorr is 1. This doesn't make sense to me, because if nOuterCorr is not 1, the interface curvature is never updated, and this would naturally lead to wrong results.
This seems to have been finally fixed in OpenFOAM 2.3.x:
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 23, 2016, 04:46
Default compilation problem
  #25
Senior Member
 
Join Date: May 2011
Posts: 231
Rep Power: 15
Kanarya is on a distinguished road
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
it is based on interPhaseChangeFoam...
thanks in advance!
Do you have any idea?
kanarya
Kanarya is offline   Reply With Quote

Old   March 6, 2016, 09:54
Default
  #26
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer:
Quote:
Originally Posted by Kanarya View Post
Do you have any idea?
Without more details, I'm guessing you copied your build from one machine to another machine. Therefore, you should first run:
Code:
wclean all
within the main source code folder for your custom solver.
Only then should you run:
Code:
wmake all
__________________
wyldckat is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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 22:56
consult some questions about the interPhaseChangeFoam super OpenFOAM Running, Solving & CFD 9 April 8, 2013 07:25
nOuterCorrectors in PISO loop - what for? makaveli_lcf OpenFOAM Running, Solving & CFD 0 October 14, 2009 08:29
MULES in interPhaseChangeFoam isabel OpenFOAM 0 July 16, 2009 07:06
gammaEqn.H in the interPhaseChangeFoam solver isabel OpenFOAM 2 July 7, 2009 13:41


All times are GMT -4. The time now is 00:42.