|
[Sponsors] |
August 9, 2021, 20:53 |
Error compiling my own solver
|
#1 |
New Member
Elena Espana
Join Date: Aug 2021
Location: Texas
Posts: 19
Rep Power: 4 |
I have a solver that compiles in OpenFOAM v1812 but I am trying to compile it in OpenFOAM v8 and it does not work. I wrote it to create a mesh using STL files. Can anyone help me to compile this solver in OF v8 ?. Below you can find the compilation error and I also attached the tool. Thank you!
findBed2dTo3d_rosa.zip Making dependency list for source file findBed2dTo3d.C could not open file triSurface.H for source file findBed2dTo3d.C due to No such file or directory could not open file triSurfaceFields.H for source file findBed2dTo3d.C due to No such file or directory could not open file triSurfaceFieldsFwd.H for source file findBed2dTo3d.C due to No such file or directory could not open file labelledTri.H for source file findBed2dTo3d.C due to No such file or directory g++ -std=c++11 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam8/src/finiteVolume/lnInclude -I/opt/openfoam8/src/meshTools/lnInclude -I/opt/openfoam8/src/surfMesh/lnInclude -I/opt/openfoam8/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam8/src/OpenFOAM/lnInclude -I/opt/openfoam8/src/OSspecific/POSIX/lnInclude -fPIC -c findBed2dTo3d.C -o Make/linux64GccDPInt32Opt/findBed2dTo3d.o findBed2dTo3d.C:35:10: fatal error: triSurface.H: No such file or directory #include "triSurface.H" ^~~~~~~~~~~~~~ compilation terminated. /opt/openfoam8/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/findBed2dTo3d.o' failed make: *** [Make/linux64GccDPInt32Opt/findBed2dTo3d.o] Error 1 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Duplicate library entries when running a solver with custom library | francescomarra | OpenFOAM Programming & Development | 3 | May 17, 2022 08:37 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 09:52 |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 05:03 |
3d vof | Smaras | FLUENT | 2 | February 19, 2013 06:58 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 14:08 |