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

[Other] Unistall Openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2020, 20:22
Default Unistall Openfoam
  #1
Member
 
Alex
Join Date: May 2019
Posts: 36
Rep Power: 6
Sedullo is on a distinguished road
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!
Sedullo is offline   Reply With Quote

Old   January 21, 2020, 21:31
Default
  #2
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
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
Светлана is offline   Reply With Quote

Old   January 22, 2020, 07:37
Default Great!
  #3
Member
 
Alex
Join Date: May 2019
Posts: 36
Rep Power: 6
Sedullo is on a distinguished road
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
I have few days to try my solver, otherwise I will try to postprocess with another software.
Sedullo is offline   Reply With Quote

Old   January 23, 2020, 23:23
Default
  #4
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
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.
Светлана 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
OpenFOAM Foundation Releases OpenFOAM v2.3.0 opencfd OpenFOAM Announcements from OpenFOAM Foundation 3 December 23, 2014 03:43
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 19:04.