CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   multiphseInterFoam solver compilation error (http://www.cfd-online.com/Forums/openfoam-programming-development/126548-multiphseinterfoam-solver-compilation-error.html)

rajeshchem November 20, 2013 09:23

multiphseInterFoam solver compilation error
 
Dear OpenFoam Users,

I was trying to compile the multiphaseInterFoam solver without changing any solver codes , there I was getting the following error,

make: *** No rule to make target `correctPhi.H', needed by `multiphaseInterFoam.dep'. Stop.
+ wmake MRFMultiphaseInterFoam
make: *** No rule to make target `createMRFZones.H', needed by `MRFMultiphaseInterFoam.dep'. Stop.

Please help me to overcome this issue. Thanks for your help in advance.

Bernhard November 20, 2013 09:45

Try to run "wclean" before compiling. Also, check the "options" and "files" files in "Make/".

rajeshchem November 21, 2013 01:34

P { margin-bottom: 0.21cm; } Bernhard,



Thank you very much for your reply. I have also tried wclean all command after trying wmake all, but still I am getting the same error.


I have also checked options and files in the make folder. Since I have copied the multiphaseInterFoam SOLVER folder in user directory (for compilation), I have made the following changes in files which were there in all make folders,


EXE = $(FOAM_USER_APPBIN)/multiphaseInterFoam
LIB = $(FOAM_USER_LIBBIN)/libmultiphaseInterFoam
EXE = $(FOAM_USER_APPBIN)/MRFMultiphaseInterFoam


But, no improvement on error. :confused:

luchen2408 March 5, 2014 11:35

I konw the error and I have solved it , you just need to copy the correctPhi.H (in the solver files of interFoam) in your compiled file. it will be ok.

rajeshchem March 6, 2014 02:26

Thanks a lot , luchen2408

I shall try it and get back to you.


All times are GMT -4. The time now is 11:25.