|
[Sponsors] |
December 31, 2007, 14:12 |
LBIEMesher Fast and with potential
|
#1 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Hi CFD-guys,
I found the following mesher: LBIE-Mesher http://cvcweb.ices.utexas.edu/ccv/pr...t.php?proID=10 I think it has great potential, expecially for hex-meshes. It is extremely quick, near real-time. However I could not test it for FOAM, converters for in- and export are missing (beyond some other things). In my eyes it has definitely potential for complex geometries. There seems to be no need for closes surfaces :-). I am looking forward for you commends and tests. I think this tool is a great basis for developing an automatic mesher for FOAM. BastiL |
|
December 31, 2007, 17:57 |
Hi, BastiL,
Thanks for the
|
#2 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi, BastiL,
Thanks for the link! This mesher looked pretty interesting. I will definitely check it out. Pei |
|
January 1, 2008, 05:34 |
Hi all,
I took a closer loo
|
#3 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Hi all,
I took a closer look at the tool now. I think it is worth trying. However, conversion seems to be difficult. I have triangulated surface in stl-Format and want to convert it to rawiv. Conversation from stl to raw could be done with blender, but I am not sure if this is the same raw-Format. Even more challenging is adding a binary header with the starting octree information in big-endian binary format. I have never done something like this before and I have no real idea how to write a tool for this :-(. BastiL |
|
January 2, 2008, 13:20 |
I've cobbled together a conver
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
I've cobbled together a converter (for 1.4.1).
LBIEMeshToFoam.tgz The LBIE gui is quite flaky but you can convert the supplied 'rawiv' dataset. Load it. Select 'quad' at the bottom. Select 'hex'. Press 'Save' (not 'Save as'). You should now have saved the hex mesh. Run the LBIEMeshToFoam converter as usual on this file. - There is no boundary information in the mesh format. - The hex mesh have some flat cells in them, don't know about the tet one. |
|
January 2, 2008, 17:28 |
Great work Mattijs, thanks. I
|
#5 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Great work Mattijs, thanks. I will try this out. I also realised that some hexas might be problematic. HOwever, I think this can be solved and I still think the tool has potential. I will care for an surface import to LBIE as soon as possible.
BastiL |
|
January 2, 2008, 17:50 |
I tried to compile the convert
|
#6 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
I tried to compile the converter but failed. wmake fails, maybe this is because I use 64 Bit version?
... char> >& std::basic_ostream<char,> >::_M_insert<long>(long)@GLIBCXX_3.4.9' /home/basti/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char,> >& std::basic_ostream<char,> >::_M_insert<unsigned>(unsigned long)@GLIBCXX_3.4.9' /home/basti/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char,> >& std::basic_ostream<char,> >::_M_insert<long>(long long)@GLIBCXX_3.4.9' collect2: ld gab 1 als Ende-Status zurück make: *** [/home/basti/OpenFOAM/basti-1.4.1/applications/bin/linux64GccDPOpt/LBIEMeshToFoa m] Fehler 1 |
|
January 3, 2008, 15:19 |
Hi, BastiL,
I downloaded bo
|
#7 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi, BastiL,
I downloaded both the windows version and the linux version (32 bit). I was able to open the sample data (head.rawiv). Select Tet and/or Hex. but, when I tried to use the algorithm under Qual (I have tried all 4), I got "Application Errors", and then, the program quit. Did the same think occur to you? Also, when I tried to download the souce codes, I was directed to contact the author. Were you able to download the source codes? Pei |
|
January 4, 2008, 02:33 |
Hi,
same for me Qual dues n
|
#8 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Hi,
same for me Qual dues not work. However I could load source and will try to compile from source. I do not know how where I found source.... BastiL |
|
January 4, 2008, 18:11 |
I took a closer look into the
|
#9 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
I took a closer look into the compilation problems I have with Matthijs LBIEMeshToFoam converter. I think error message tells me that linking against libOpenFOAM.so fails.
I do not know what to do. However, the Make/options file from Matthijs is empty, is this correct? |
|
January 5, 2008, 07:22 |
I could compile LBIEMeshToFoam
|
#10 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
I could compile LBIEMeshToFoam now. My compiler setting was wrong, wmake tried to use the system compiler. I will test it, stay tuned!
BastiL |
|
January 5, 2008, 16:02 |
Hi,
I have some problems no
|
#11 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Hi,
I have some problems now in checking the mesh from LBIE. Checkmesh created some sets which I want to look on. Creating subset with subsetmesh fails (witrh every mesh I try). Maybe I do something wrong?: subsetMesh . Tetra_1 Tetra_1/constant/polyMesh/sets/nonOrthoFaces /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.4.1 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : subsetMesh . Tetra_1 Tetra_1/constant/polyMesh/sets/nonOrthoFaces Date : Jan 05 2008 Time : 21:53:05 Host : localhost PID : 14431 Root : /home/basti/OpenFOAM/basti-1.4.1/LBIE Case : Tetra_1 Nprocs : 1 Create time Create mesh for time = 0 word::stripInvalid() called for string Tetra_1constantpolyMeshsetsnonOrthoFaces Abgebrochen |
|
August 11, 2009, 12:06 |
|
#12 |
New Member
Nicholas Baranco
Join Date: Aug 2009
Posts: 1
Rep Power: 0 |
Hi, I'm also trying to use the LBIE Mesher, but I'm relatively new to the field.
My question is, I guess, more about a rawiv file in general. How can the LBIE Mesher get enough data from a raw file to determine the borders between segments, and how can I take segmented data, and stuff it into a raw file? Sorry for such a simple-minded question, and thanks in advance to anyone who can help. |
|
|
|