@李东岳 在 请教各位如何用tecplot360(EX2022R1)处理OpenFOAMv2312中颗粒分布 中说:
还真是。我刚才看了一下。应该是我的虚拟机上面没有装tecplot,所以没找到tec的头文件。
dyfluid@dyfluid-virtual-machine:~/OpenFOAM/OpenFOAM-8/applications/utilities/postProcessing/dataConversion/foamToTecplot360$ wmake
wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries:
wmakeLnInclude error: base directory /home/dyfluid/OpenFOAM/ThirdParty-8/tecio/tecsrc/ does not exist
Making dependency list for source file foamToTecplot360.C
could not open file TECIO.h for source file foamToTecplot360.C due to No such file or directory
could not open file MASTER.h for source file foamToTecplot360.C due to No such file or directory
could not open file GLOBAL.h for source file foamToTecplot360.C due to No such file or directory
Making dependency list for source file vtkMesh.C
Making dependency list for source file tecplotWriter.C
could not open file TECIO.h for source file tecplotWriter.C due to No such file or directory
could not open file MASTER.h for source file tecplotWriter.C due to No such file or directory
could not open file GLOBAL.h for source file tecplotWriter.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/home/dyfluid/OpenFOAM/ThirdParty-8/tecio/tecsrc/lnInclude -I/home/dyfluid/OpenFOAM/OpenFOAM-8/src/lagrangian/basic/lnInclude -I/home/dyfluid/OpenFOAM/OpenFOAM-8/src/finiteVolume/lnInclude -I/home/dyfluid/OpenFOAM/OpenFOAM-8/src/dynamicMesh/lnInclude -I/home/dyfluid/OpenFOAM/OpenFOAM-8/src/meshTools/lnInclude -IlnInclude -I. -I/home/dyfluid/OpenFOAM/OpenFOAM-8/src/OpenFOAM/lnInclude -I/home/dyfluid/OpenFOAM/OpenFOAM-8/src/OSspecific/POSIX/lnInclude -fPIC -c tecplotWriter.C -o /home/dyfluid/OpenFOAM/OpenFOAM-8/platforms/linux64GccDPInt32Opt/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecplotWriter.o
In file included from tecplotWriter.C:26:
tecplotWriter.H:39:10: fatal error: TECIO.h: 没有那个文件或目录
39 | #include "TECIO.h"
| ^~~~~~~~~
compilation terminated.
make: *** [/home/dyfluid/OpenFOAM/OpenFOAM-8/wmake/rules/General/transform:26:/home/dyfluid/OpenFOAM/OpenFOAM-8/platforms/linux64GccDPInt32Opt/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecplotWriter.o] 错误 1
dyfluid@dyfluid-virtual-machine:~/OpenFOAM/OpenFOAM-8/applications/utilities/posttProcessing/tProcessing/dataCotProttProcessing/dataConversion/foamToTecplot360$
应该确实是,我看了一下时间,我openfoam-8装的时候电脑上已经有装tecplot2023了。但openfoam-7装的时候没有,也许就是编译记录的Log文件里就没有foamToTec的原因。