CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] LBIEMesher Fast and with potential

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 31, 2007, 14:12
Default LBIEMesher Fast and with potential
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
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
bastil is offline   Reply With Quote

Old   December 31, 2007, 17:57
Default Hi, BastiL, Thanks for the
  #2
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi, BastiL,

Thanks for the link!

This mesher looked pretty interesting. I will definitely check it out.

Pei
hsieh is offline   Reply With Quote

Old   January 1, 2008, 05:34
Default Hi all, I took a closer loo
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
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
bastil is offline   Reply With Quote

Old   January 2, 2008, 13:20
Default I've cobbled together a conver
  #4
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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.
mattijs is offline   Reply With Quote

Old   January 2, 2008, 17:28
Default Great work Mattijs, thanks. I
  #5
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
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
bastil is offline   Reply With Quote

Old   January 2, 2008, 17:50
Default I tried to compile the convert
  #6
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
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
bastil is offline   Reply With Quote

Old   January 3, 2008, 15:19
Default Hi, BastiL, I downloaded bo
  #7
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
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
hsieh is offline   Reply With Quote

Old   January 4, 2008, 02:33
Default Hi, same for me Qual dues n
  #8
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
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
bastil is offline   Reply With Quote

Old   January 4, 2008, 18:11
Default I took a closer look into the
  #9
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
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?
bastil is offline   Reply With Quote

Old   January 5, 2008, 07:22
Default I could compile LBIEMeshToFoam
  #10
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
I could compile LBIEMeshToFoam now. My compiler setting was wrong, wmake tried to use the system compiler. I will test it, stay tuned!

BastiL
bastil is offline   Reply With Quote

Old   January 5, 2008, 16:02
Default Hi, I have some problems no
  #11
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
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
bastil is offline   Reply With Quote

Old   August 11, 2009, 12:06
Default
  #12
New Member
 
Nicholas Baranco
Join Date: Aug 2009
Posts: 1
Rep Power: 0
nbaranco is on a distinguished road
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.
nbaranco is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 22:41.