CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[] SonicDyMFoam Installation issue

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

LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2024, 20:32
Default SonicDyMFoam Installation issue
New Member
Join Date: Sep 2023
Posts: 8
Rep Power: 2
maxning is on a distinguished road
I am trying to compile a solver in OpenFoam 2.4.0 but ran into "no such directory or file" issues. The solver is given to me by other people who is not available to answer my questions, but I have to use it and I really don't want to make change to it.

I ran a ./Allwmake file where it wmake the solver itself (I think it is itself because the first command in the file is just wmake), and also wmake two more items called sonicDyMFoam and sonicLiquidFoam. The solver itself compiles just fine:

+ wmake
make: '/home/maxning/OpenFOAM/maxning-2.4.0/platforms/linux64GccDPOpt/bin/SDBD_PA_sonic_flowField' is up to date.
But the other two is not:
+ wmake sonicDyMFoam
SOURCE=sonicDyMFoam.C ; g++-4.8 -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I.. -I../../rhoPimpleFoam/rhoPimpleDyMFoam -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/transportModels/compressible/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/turbulenceModels/compressible/turbulenceModel -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/cfdTools -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/sampling/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/fvOptions/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/dynamicFvMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/dynamicMesh/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/sonicDyMFoam.o
sonicDyMFoam.C:54:30: fatal error: readControls.H: No such file or directory
#include "readControls.H"
compilation terminated.
sonicDyMFoam.dep:711: recipe for target 'Make/linux64GccDPOpt/sonicDyMFoam.o' failed
make: *** [Make/linux64GccDPOpt/sonicDyMFoam.o] Error 1
+ wmake sonicLiquidFoam
SOURCE=sonicLiquidFoam.C ; g++-4.8 -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/sonicLiquidFoam.o
In file included from /opt/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/ddtScheme.C:30:0,
from /opt/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/ddtScheme.H:325,
from /opt/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/fvcDdt.C:28,
from /opt/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/fvcDdt.H:199,
from /opt/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/fvc.H:44,
from /opt/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/fvCFD.H:8,
from sonicLiquidFoam.C:33:
/opt/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/cyclicAMIFvPatch.H:39:35: fatal error: cyclicAMILduInterface.H: No such file or directory
#include "cyclicAMILduInterface.H"
compilation terminated.
sonicLiquidFoam.dep:633: recipe for target 'Make/linux64GccDPOpt/sonicLiquidFoam.o' failed
make: *** [Make/linux64GccDPOpt/sonicLiquidFoam.o] Error 1
I found sonicLiquidFoam.C, sonicLiquidFoam.dep, and sonicDyMFoam.C in the folder I am given, but I cannot find readControls.H and cyclicAMILduInterface.H. Is there other solvers or something else I need to install to $FOAM_USER_APPBIN or LIBBIN? I remember that for another solver folder I received I need to install swak4Foam to the LIBBIN first.
maxning is offline   Reply With Quote


no such file or directory, solver compilation, sonicdymfoam, sonicliquidfoam, 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
[swak4Foam] swak4Foam 0.4.2 with foam-extend-4.1 Installation Issue treem22 OpenFOAM Community Contributions 6 May 9, 2022 08:05
[] Non-root installation of OpenFOAM 2.4.x, parallel issue syavash OpenFOAM Installation 12 March 4, 2019 07:15
[] Installation issue - CGAL/Delaunay_triangulation_3.h lost.identity OpenFOAM Installation 10 December 15, 2016 08:10
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Installation problems shellbell1999 OpenFOAM Installation 9 April 6, 2006 13:29

All times are GMT -4. The time now is 21:41.