|
[Sponsors] |
January 21, 2020, 21:22 |
Unistall Openfoam
|
#1 |
Member
Alex
Join Date: May 2019
Posts: 36
Rep Power: 7 |
My problem started when I was trying to compile a new solver, the command wmake did not work and the terminal always said "command not found". I tried everything to make it works, at the end I decided to reinstall from zero OpenFOAM. At the beginning I was using OpenFOAM 5.x, I just deleted the folders (because I did not find a proper way to uninstall it) ad I installed OpenFOAM 4.x.
I think that something went wrong again because the command wmake is still not working, thus I think I did not unistall properly OpenFOAM the first time. Could you explain please how to unistall and remove deeply EVERYTHING regarding openfoam from my computer, for trying again from zero to install it? P.S. I do not need now a solution for wmake, because I already tried everything, now I would need to reinstall from zero OpenFOAM because I think that there was some problem in the installation. Thanks! |
|
January 21, 2020, 22:31 |
|
#2 |
Senior Member
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 416
Rep Power: 15 |
Maybe openfoam is installed correctly but wmake is not in your $PATH. Have you tried running something similar to "source $HOME/OpenFOAM/OpenFOAM-4.x/etc/bashrc", replacing the path with the path to your OpenFOAM bashrc file? Please also consider
echo $PATH |
|
January 22, 2020, 08:37 |
Great!
|
#3 |
Member
Alex
Join Date: May 2019
Posts: 36
Rep Power: 7 |
Great!
Now the command is working. But I have the following error, it seems that it cannot accept none of the file in the .c file. Code:
federico@federico-ZenBook-Pro-15-UX550GE-UX550GE:~/OpenFOAM/OpenFOAM-4.x/applications/solvers/heatTransfer/buoyantBoussinesqPimpleFoamNu$ wmake /home/federico/OpenFOAM/OpenFOAM-4.x/applications/solvers/heatTransfer/buoyantBoussinesqPimpleFoamNu Making dependency list for source file buoyantBoussinesqPimpleFoamNu.C could not open file fvCFD.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file volFieldsFwd.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file surfaceFieldsFwd.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file turbulentTransportModel.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file radiationModel.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file fvOptions.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file pimpleControl.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file wallFvPatch.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file fvPatch.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file createControl.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file createPhi.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file readTransportProperties.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file readGravitationalAcceleration.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file readhRef.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file gh.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file createMRF.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file createIncompressibleRadiationModel.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file createFvOptions.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file createTimeControls.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file CourantNo.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file setInitialDeltaT.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file initContinuityErrs.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file readTimeControls.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file setDeltaT.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory could not open file continuityErrs.H for source file buoyantBoussinesqPimpleFoamNu.C due to No such file or directory g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I. -I../buoyantBoussinesqSimpleFoamNu -I/home/federico/OpenFOAM/OpenFOAM-4.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/federico/OpenFOAM/OpenFOAM-4.x/src/TurbulenceModels/incompressible/lnInclude -I/home/federico/OpenFOAM/OpenFOAM-4.x/src/transportModels -I/home/federico/OpenFOAM/OpenFOAM-4.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/federico/OpenFOAM/OpenFOAM-4.x/src/thermophysicalModels/radiation/lnInclude -I/home/federico/OpenFOAM/OpenFOAM-4.x/src/sampling/lnInclude -I/home/federico/OpenFOAM/OpenFOAM-4.x/src/meshTools/lnInclude -I/home/federico/OpenFOAM/OpenFOAM-4.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/federico/OpenFOAM/OpenFOAM-4.x/src/OpenFOAM/lnInclude -I/home/federico/OpenFOAM/OpenFOAM-4.x/src/OSspecific/POSIX/lnInclude -fPIC -c buoyantBoussinesqPimpleFoamNu.C -o /home/federico/OpenFOAM/OpenFOAM-4.x/platforms/linux64GccDPInt32Opt/applications/solvers/heatTransfer/buoyantBoussinesqPimpleFoamNu/buoyantBoussinesqPimpleFoamNu.o buoyantBoussinesqPimpleFoamNu.C:48:10: fatal error: fvCFD.H: No such file or directory #include "fvCFD.H" ^~~~~~~~~ compilation terminated. make: *** [/home/federico/OpenFOAM/OpenFOAM-4.x/wmake/rules/General/transform:8: /home/federico/OpenFOAM/OpenFOAM-4.x/platforms/linux64GccDPInt32Opt/applications/solvers/heatTransfer/buoyantBoussinesqPimpleFoamNu/buoyantBoussinesqPimpleFoamNu.o] Error 1 |
|
January 24, 2020, 00:23 |
|
#4 |
Senior Member
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 416
Rep Power: 15 |
1. Where is the volFieldsFwd.H file located on your computer? Please post the complete path.
2. Please post your contents of Makefile to see what -I options are being used. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
OpenFOAM Foundation Releases OpenFOAM v2.3.0 | opencfd | OpenFOAM Announcements from OpenFOAM Foundation | 3 | December 23, 2014 04:43 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |