安装openfoam
-
@李东岳
insertSurfaceNearestPointPairs.C: In member function ‘void Foam::CV2D::insertSurfaceNearestPointPairs()’:
insertSurfaceNearestPointPairs.C:178:31: error: ‘toPoint3D’ was not declared in this scope
toPoint3D(vert),
^
insertSurfaceNearestPointPairs.C:225:67: error: no matching function for call to ‘Foam::CV2D::toPoint2D(const Foam::Vector<double>&)’
surfacePoints.append(toPoint2D(pHit.hitPoint()));
^
insertSurfaceNearestPointPairs.C:225:67: note: candidates are:
In file included from CV2D.H:469:0,
from insertSurfaceNearestPointPairs.C:26:
CV2DI.H29: note: const point2D& Foam::CV2D::toPoint2D(const int&) const
inline const Foam::point2D& Foam::CV2D::toPoint2D(const point& p) const
^
CV2DI.H29: note: no known conversion for argument 1 from ‘const Foam::Vector<double>’ to ‘const int&’
CV2DI.H33: note: const point2DField Foam::CV2D::toPoint2D(const pointField&) const
inline const Foam::point2DField Foam::CV2D::toPoint2D(const pointField& p) const
^
CV2DI.H33: note: no known conversion for argument 1 from ‘const Foam::Vector<double>’ to ‘const pointField& {aka const Foam::Field<Foam::Vector<double> >&}’
CV2DI.H:149:37: note: const point2D& Foam::CV2D::toPoint2D(const Point&) const
inline Foam::CV2D::point2DFromPoint Foam::CV2D::toPoint2D(const Point& P) const
^
CV2DI.H:149:37: note: no known conversion for argument 1 from ‘const Foam::Vector<double>’ to ‘const Point& {aka const CGAL::Point_2CGAL::Epick&}’
In file included from CV2D.H:469:0,
from insertBoundaryConformPointPairs.C:26:
CV2DI.H: In member function ‘bool Foam::CV2D::insertMirrorPoint(const point2D&, const point2D&)’:
CV2DI.H:94:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertBoundaryConformPointPairs.o] 错误 1
make[2]: *** 正在等待未完成的任务....
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/foamyQuadMesh.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearPointPairs.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2DIO.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertFeaturePoints.o] 错误 1
CV2DI.H: In member function ‘bool Foam::CV2D::insertMirrorPoint(const point2D&, const point2D&)’:
CV2DI.H:94:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/shortEdgeFilter2D.o] 错误 1
make[1]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/makefiles/apps:39:generation] 错误 2
make: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/makefiles/apps:39:mesh] 错误 2
老师,这是什么问题? -
@亦又 在 安装openfoam 中说:
@李东岳 -ldynamicMesh -lgenericPatchFields -lOpenFOAM -ldl
-lm -o /home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/subsetMesh
make: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/makefiles/apps:39:mesh] 错误 2这是啥问题?
.PHONY: application
application: $(FOAM_APPS).PHONY: $(FOAM_APPS)
$(FOAM_APPS):
+@wmake -all $(TARGET) $@ 这是34行到39行 -
@亦又 在 安装openfoam 中说:
@亦又 在 安装openfoam 中说:
@李东岳 -ldynamicMesh -lgenericPatchFields -lOpenFOAM -ldl
-lm -o /home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/subsetMesh
make: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/makefiles/apps:39:mesh] 错误 2这是啥问题?
.PHONY: application
application: $(FOAM_APPS).PHONY: $(FOAM_APPS)
$(FOAM_APPS):
+@wmake -all $(TARGET) $@ 这是34行到39行dyz@dyz-VMware-Virtual-Platform:~/OpenFOAM/OpenFOAM-4.1$ cd ~/OpenFOAM/OpenFOAM-4.1/applications/utilities/mesh/manipulation/subsetMesh
dyz@dyz-VMware-Virtual-Platform:~/OpenFOAM/OpenFOAM-4.1/applications/utilities/mesh/manipulation/subsetMesh$ wmake
/home/dyz/OpenFOAM/OpenFOAM-4.1/applications/utilities/mesh/manipulation/subsetMesh
make: “/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/subsetMesh”已是最新。
咋回事 -
@李东岳 加上之前的,老师您再看看这些
compilation terminated.
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.o] 错误 1
In file included from lnInclude/CGALTriangulation3Ddefs.H:41:0,
from lnInclude/conformalVoronoiMesh.H:46,
from lnInclude/cellSizeFunction.H:39,
from cellShapeControl/cellSizeAndAlignmentControl/searchableSurfaceControl/searchableSurfaceControl.H:37,
from cellShapeControl/cellSizeAndAlignmentControl/searchableSurfaceControl/searchableSurfaceControl.C:26:
lnInclude/CGALTriangulation3DKernel.H:48:60: fatal error: CGAL/Robust_circumcenter_filtered_traits_3.h: 没有那个文件或目录
#include "CGAL/Robust_circumcenter_filtered_traits_3.h"
^
compilation terminated.
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshConformToSurface.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControl/cellShapeControl.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/DelaunayMeshTools/DelaunayMeshTools.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshFeaturePoints.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControls.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshIO.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cvControls/cvControls.o] 错误 1
make[2]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/rules/General/transform:8:/home/dyz/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/searchableSurfaceControl/searchableSurfaceControl.o] 错误 1
make[1]: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/makefiles/apps:39:generation] 错误 2
make: *** [/home/dyz/OpenFOAM/OpenFOAM-4.1/wmake/makefiles/apps:39:mesh] 错误 2
这个foamyMesh里面好像又出现一些问题。