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

LBIEMesher Fast and with potential

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 31, 2007, 15:12
Default Hi CFD-guys, I found the fo
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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, 18:57
Default Hi, BastiL, Thanks for the
  #2
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 9
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, 06:34
Default Hi all, I took a closer loo
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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, 14:20
Default I've cobbled together a conver
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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, 18:28
Default Great work Mattijs, thanks. I
  #5
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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, 18:50
Default I tried to compile the convert
  #6
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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, 16:19
Default Hi, BastiL, I downloaded bo
  #7
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 9
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, 03:33
Default Hi, same for me Qual dues n
  #8
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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, 19:11
Default I took a closer look into the
  #9
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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, 08:22
Default I could compile LBIEMeshToFoam
  #10
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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, 17:02
Default Hi, I have some problems no
  #11
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A Fast Question About DPM Fabio FLUENT 0 September 14, 2008 12:25
fast algorithm dontknow Main CFD Forum 0 January 13, 2007 19:05
NEED HELP FOR CFD FAST!! Jean-F Poirier Main CFD Forum 6 May 7, 2002 23:02
i need fast computer Jim Clancy FLUENT 1 October 15, 2001 16:03
FAST/Visualisation Chris Robinson Main CFD Forum 3 December 3, 1999 01:56


All times are GMT -4. The time now is 12:14.