|
[Sponsors] |
March 26, 2014, 11:32 |
multiphaseEulerFoamNEW: command not found
|
#1 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
hi,
I tried to run my modified multiphaseEulerFoam solver "multiphaseEulerFoamNEW". After running blockMesh successfully in my case directory I tried to run "multiphaseEulerFoamNEW" "multiphaseEulerFoamNEW, but only get the output: Code:
multiphaseEulerFoamNEW: command not found greetings maybee |
|
March 26, 2014, 15:34 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam -> "Make/files"
|
|
March 26, 2014, 16:05 |
|
#3 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
hi, I have done as described in chapter 2 of the link, but when using command
Code:
ls $FOAM_USER_APPBIN Code:
USER@USER-VPCEA25EC:~/SolverNEW$ ls $FOAM_USER_APPBIN ls: cannot access /home/USER/OpenFOAM/engineer-2.2.2/platforms/linuxGccDPOpt/bin: No such file or directory |
|
March 27, 2014, 14:38 |
|
#5 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
1.
Code:
multiphaseEulerFoamNEW.C EXE = $(FOAM_USER_APPBIN)/multiphaseEulerFoamNEW Code:
USER@USER-VPCEA25EC:~$ cd SolverNEW USER@USER-VPCEA25EC:~/SolverNEW$ wclean USER@USER-VPCEA25EC:~/SolverNEW$ wmake Making dependency list for source file multiphaseEulerFoamNEW.C SOURCE=multiphaseEulerFoamNEW.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IphaseModel/lnInclude -ImultiphaseSystem/lnInclude -ImultiphaseFixedFluxPressure -IinterfacialModels/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/transportModels -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/transportModels/incompressible/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/transportModels/interfaceProperties/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/transportModels/incompressible/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/transportModels/incompressible/singlePhaseTransportModel -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/turbulenceModels -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/turbulenceModels/incompressible/LES/LESModel -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/turbulenceModels/LES/LESdeltas/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/multiphaseEulerFoamNEW.o In file included from multiphaseEulerFoamNEW.C:92:0: NEWValues.H: In function ‘int main(int, char**)’: NEWValues.H:100:17: warning: unused variable ‘alpha’ [-Wunused-variable] In file included from NEWValues.H:133:0, from multiphaseEulerFoamNEW.C:92: NEW_MomentsTransportEqns.H:8:27: warning: unused variable ‘alpha’ [-Wunused-variable] /home/USER/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable] Last edited by maybee; March 27, 2014 at 15:56. |
|
March 27, 2014, 15:35 |
|
#6 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Good evening,
Well, your file reads Code:
$(FOAM_engineer_APPBIN) Code:
$(FOAM_USER_APPBIN) Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
March 27, 2014, 15:57 |
|
#7 | |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
Sorry, my fault - edited the last post. It s
Code:
$(FOAM_USER_APPBIN) EDIT: Hey again, I tried noch running blockMesh in the basic tutorial case "cavity" and I get the error: Quote:
EDIT2: Ok, fixed the problem with blockMesh - just had to remove a blank space within a folder name that was part of the case path! Last edited by maybee; March 28, 2014 at 03:11. |
||
March 28, 2014, 03:51 |
|
#8 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
Hi again, here are some new information. When building my project with Qt Creator I get:
Code:
09:42:10: Running build steps for project SolverNEW... 09:42:10: Starting: "/home/USER/OpenFOAM/OpenFOAM-2.2.2/bin/foamExec" wmake Making dependency list for source file multiphaseEulerFoamNEW.C SOURCE=multiphaseEulerFoamNEW.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IphaseModel/lnInclude -ImultiphaseSystem/lnInclude -ImultiphaseFixedFluxPressure -IinterfacialModels/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/transportModels -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/transportModels/incompressible/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/transportModels/interfaceProperties/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/transportModels/incompressible/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/transportModels/incompressible/singlePhaseTransportModel -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/turbulenceModels -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/turbulenceModels/incompressible/LES/LESModel -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/turbulenceModels/LES/LESdeltas/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/USER/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/multiphaseEulerFoamNEW.o In file included from multiphaseEulerFoamNEW.C:92:0: NEWValues.H: In function ‘int main(int, char**)’: NEWValues.H:100:17: warning: unused variable ‘alpha’ [-Wunused-variable] In file included from NEWValues.H:133:0, from multiphaseEulerFoamNEW.C:92: NEW_MomentsTransportEqns.H:8:27: warning: unused variable ‘alpha’ [-Wunused-variable] /home/USER/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable] mkdir: cannot create directory `': No such file or directory make: *** [/multiphaseEulerFoamNEW] Error 1 09:42:41: The process "/home/USER/OpenFOAM/OpenFOAM-2.2.2/bin/foamExec" exited with code 2. Error while building project SolverNEW (target: Desktop) When executing build step 'Custom Process Step' |
|
April 5, 2014, 16:55 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@maybee: Start a new terminal window and run these commands inside it: Code:
/home/$USER/OpenFOAM/OpenFOAM-2.2.2/bin/foamExec bash echo $FOAM_USER_APPBIN mkdir -p $FOAM_USER_APPBIN Best regards, Bruno
__________________
|
|
April 6, 2014, 05:08 |
|
#10 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
Hi,
sorry for the late answer, but my colleague solved the problem. I don't know what he did exactly though. Thx for the help anyway - I just forgot about the post. Unfortunately I can't tell how the problem was solved. greetings maybee |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing OpenFoam on windows 7-64 | Dadou | OpenFOAM Installation | 10 | February 11, 2014 16:20 |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 01:30 |
missing vtf3.h BPatch.h papi.h | linch | OpenFOAM Installation | 41 | July 24, 2012 14:45 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 01:36 |