|
[Sponsors] |
fatal error: readPisoControls.H: No such file or directory |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 13, 2020, 05:20 |
fatal error: readPisoControls.H: No such file or directory
|
#1 |
New Member
Mike
Join Date: Feb 2018
Posts: 1
Rep Power: 0 |
Hello everyone!
I encountered a fatal error message when I compiling my own customized solver via OpenFOAM-v1912 version.The solver is built on OpenFOAM-2.3.1 and is compiled fine via OpenFOAM-2.3.1.The fatal error message reads: Code:
[hpc4116022007@ln4 fac2Foam]$ wmake g++ -std=c++11 -m64 -DOPENFOAM=1912 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I../common/lnInclude -IMULES -IinterfaceBehaviors/lnInclude -I/home/hpc4116022007/OpenFOAM/OpenFOAM-v1912/src/transportModels/twoPhaseMixture/lnInclude -I/home/hpc4116022007/OpenFOAM/OpenFOAM-v1912/src/transportModels -I/home/hpc4116022007/OpenFOAM/OpenFOAM-v1912/src/transportModels/incompressible/lnInclude -IsharpInterfaceProperties/lnInclude -I/home/hpc4116022007/OpenFOAM/OpenFOAM-v1912/src/turbulenceModels/incompressible/turbulenceModel -I/home/hpc4116022007/OpenFOAM/OpenFOAM-v1912/src/finiteVolume/lnInclude -I/home/hpc4116022007/OpenFOAM/OpenFOAM-v1912/src/meshTools/lnInclude -I/home/hpc4116022007/OpenFOAM/OpenFOAM-v1912/src/surfMesh/lnInclude -I/home/hpc4116022007/OpenFOAM/OpenFOAM-v1912/src/fvOptions/lnInclude -I/home/hpc4116022007/OpenFOAM/OpenFOAM-v1912/src/sampling/lnInclude -IsphereIndexedCutMeshCell -IparticleProblem -Iinterpolation -IlamdaOnSolidSurface/lamdaOnSolidSurface -IpointToPointInterpolation/pointToPointInterpolation -fopenmp -IlnInclude -I. -I/home/hpc4116022007/OpenFOAM/OpenFOAM-v1912/src/OpenFOAM/lnInclude -I/home/hpc4116022007/OpenFOAM/OpenFOAM-v1912/src/OSspecific/POSIX/lnInclude -fPIC -c fdm.C -o Make/linux64GccDPInt32Opt/fdm.o fdm.C:65:38: fatal error: readPisoControls.H: No such file or directory #include "readPisoControls.H" ^ compilation terminated. make: *** [Make/linux64GccDPInt32Opt/fdm.o] Error 1 Is there anyone here who can help me solve the tough problem? I will appreciate it very much! |
|
August 18, 2020, 10:42 |
|
#2 |
Senior Member
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22 |
In my experience you need to create a library with your controls using wmake libso,
after that, add the library to the Make/options file of your solver application (see last line in the code below) and compile the new solver using wmake. Code:
... EXE_LIBS = \ -lturbulenceModels \ -lincompressibleTurbulenceModels \ -lincompressibleTransportModels \ -lfiniteVolume \ -lmeshTools \ -lfvOptions \ -lsampling \ $(FOAM_USER_LIBBIN)/libmysimpleControl.so |
|
Tags |
openfoam-v1912, solver compilation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 | towanda | OpenFOAM Community Contributions | 6 | September 5, 2015 22:03 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 04:01 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |