|
[Sponsors] |
[snappyHexMesh] How to use faceList instead of faceCompactList |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 6, 2011, 05:47 |
How to use faceList instead of faceCompactList
|
#1 |
New Member
Join Date: Oct 2011
Posts: 1
Rep Power: 0 |
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 |
|
February 14, 2012, 17:57 |
utility to convert from compactFaceList to faceList
|
#2 |
New Member
Ali Q Raeini
Join Date: Feb 2010
Posts: 24
Rep Power: 16 |
It is easy to write the code, see the attached, if you havn't done this already
|
|
August 4, 2021, 18:00 |
|
#3 | |
New Member
Alejandra Hernández Escobar
Join Date: Jun 2021
Posts: 4
Rep Power: 5 |
Quote:
Any help would be appreciated. |
||
April 12, 2022, 23:02 |
|
#4 |
New Member
Juan Salazar
Join Date: Jun 2019
Posts: 19
Rep Power: 7 |
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 = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude EXE_LIBS = \ -lfiniteVolume \ -lmeshTools Last edited by saladbowl; April 12, 2022 at 23:03. Reason: Edit for clarity |
|
January 31, 2023, 10:56 |
|
#5 |
Member
Join Date: Mar 2020
Posts: 66
Rep Power: 6 |
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 |
|
May 6, 2024, 07:34 |
|
#6 |
New Member
Erik Nijkamp
Join Date: Dec 2023
Posts: 5
Rep Power: 2 |
Dear Neb, (and anyone else)
I think that you need to put this function in an OpenFOAM instillation, and not a foam-extend . The error message that you are getting is saying that the class facesCompact is not known to the compiler. facesCompact does not exist in foam-extend 4.0 / 4.1, thus you must install this tool as a part of normal OpenFOAM. Best, Erik |
|
Tags |
facecompactlist, facelist, feature edge handling |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a pointMesh with pointField and faceList | Thilo | OpenFOAM Programming & Development | 0 | July 19, 2012 07:36 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |