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

New solver errors, wmake

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By ybapat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2020, 07:41
Default New solver errors, wmake
  #1
Member
 
Alex
Join Date: May 2019
Posts: 36
Rep Power: 7
Sedullo is on a distinguished road
I am trying to create a new solver to analyse the Nusselt number along a vertical wall. I get the following errors after I input the cmmand "wmake".

Do you know how could I solve it?

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

Old   January 22, 2020, 10:17
Default
  #2
Member
 
Alex
Join Date: May 2019
Posts: 36
Rep Power: 7
Sedullo is on a distinguished road
Any help please? I really need it
Sedullo is offline   Reply With Quote

Old   January 23, 2020, 01:05
Default
  #3
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15
ybapat is on a distinguished road
Use proper Make/options file. You can check Make/options file for similar solver.
ndtrong likes this.
ybapat is offline   Reply With Quote

Old   January 23, 2020, 07:44
Default Thanks
  #4
Member
 
Alex
Join Date: May 2019
Posts: 36
Rep Power: 7
Sedullo is on a distinguished road
Thanks for the answer, I copied the options file from buoyantBoussinesqPimpleFoam. I even created a dummy solver as an attempt, copying the same folder of buoyantBoussinesqPimpleFoam and just changing the name of the solver, but I have the same errors when I type wmake
Sedullo is offline   Reply With Quote

Old   January 24, 2020, 06:43
Default
  #5
Member
 
Eren
Join Date: Aug 2018
Posts: 86
Rep Power: 9
ErenC is on a distinguished road
You need to change the line in make/files

Code:
EXE = $(FOAM_APPBIN)/XFoam

to

Code:
EXE = $(FOAM_USER_APPBIN)/XFoam
ErenC is offline   Reply With Quote

Reply

Tags
new solver, nusselt calculation, wmake error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Two phase flow in porous medium Milaad OpenFOAM 7 July 1, 2024 05:08
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 23:26.