How to use faceList instead of faceCompactList
Hi!
The new snappyHexMesh includes feature edge handling which may significantly improve the quality of your mesh. http://www.openfoam.com/news/snappyH...ature-edge.php Now my problem is that I need to perform my calculations on an older OpenFoam-Version 1.7.1 where this feature is not supported, yet. So I tried to create the mesh with version 2.0.0 and then use the mesh in Version 1.7.1. Unfortunately the new version 2.0.0 stores faces in a compact list "faceCompactList" which is not recognized in 1.7.1 where only "faceList" is known. So my question is: Does anybody know, how to deactivate the usage of faceCompactList and use faceList instead, so I can use the mesh in the older version 1.7.1??? Or maybe you have another idea to overcome this problem.... Thanks a lot BTom |
utility to convert from compactFaceList to faceList
1 Attachment(s)
It is easy to write the code, see the attached, if you havn't done this already
|
Quote:
Any help would be appreciated. |
Make sure your OpenFOAM environment variables are set. Download the tar.gz file and copy it to $WM_PROJECT_USER_DIR. Untar the file and edit Make/files, changing
Code:
EXE = $(I_DIR)/bin/compactFaceToFace Code:
EXE = $(FOAM_USER_APPBIN)/compactFaceToFace Code:
EXE_INC = \ |
Hi, I have the same problem on foam-extend 4.1 e solids4Foam 2.0. When I go to run make I get these errors and it doesn't compile. Can you help me?
Making dependency list for source file compactFaceToFace.C SOURCE=compactFaceToFace.C ; g++-7 -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I/home/morgana2021/foam/foam-extend-4.1/src/finiteVolume/lnInclude -I/home/morgana2021/foam/foam-extend-4.1/src/meshTools/lnInclude -IlnInclude -I. -I/home/morgana2021/foam/foam-extend-4.1/src/foam/lnInclude -I/home/morgana2021/foam/foam-extend-4.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPInt32Opt/compactFaceToFace.o compactFaceToFace.C: In function ‘int main(int, char**)’: compactFaceToFace.C:67:6: error: ‘faceCompactIOList’ was not declared in this scope faceCompactIOList facesCompact ^~~~~~~~~~~~~~~~~ compactFaceToFace.C:95:9: error: ‘facesCompact’ was not declared in this scope facesCompact ^~~~~~~~~~~~ make[1]: *** [compactFaceToFace.dep:730: Make/linux64GccDPInt32Opt/compactFaceToFace.o] Error 1 make: *** [makefile:9: wmake] Error 2 |
All times are GMT -4. The time now is 09:42. |