|
[Sponsors] |
[Other] Create a Mesh with Sketchup and Tetgen |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 4, 2015, 02:53 |
Create a Mesh with Sketchup and Tetgen
|
#1 |
Member
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11 |
Here's a simple, free preprocessor/mesh generation utility.
Its a plugin for Sketchup (http://www.sketchup.com)(also free) to facilitate mesh generation with Tetgen (http://wias-berlin.de/software/tetgen/) . Supports complex geometry, multiple regions, boundaries, and refinement (both boundary and volume based). Makes generating a quality mesh with boundary markers quick and easy for complex geometry. Check it out: https://extensions.sketchup.com/en/c...y-tetgen-tools Hope this helps! Regards, Peter |
|
February 17, 2015, 19:02 |
tetgen-sketchup
|
#2 |
New Member
Abhinay
Join Date: Feb 2015
Location: Bethlehem, Pennsylvania
Posts: 23
Rep Power: 11 |
I did generate .smesh file using sketchup and was wondering how to run in tetgen and generate mesh files (.ele .node .face)
I never used tetgen directly, but used gibboncode (matlab interface for tetgen) to generate tetgen files! Thank you! -Abhinay |
|
February 17, 2015, 19:30 |
|
#3 |
Member
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11 |
Hi,
Sure, no problem. Tetgen is a command-line tool. To start using tetgen you need to: 1) Download tetgen here: http://wias-berlin.de/software/tetgen/ 2) Compile (very simple for tetgen) Tetgen provides many options; these are detailed on the site. However, if using the sketchytetgentools sketchup preprocessor for OpenFoam, the ones of most interest probably are: -p triangulate a plc (the smesh file) -q create a quality mesh (also accepts parameters to control quality) -m use the boundary sizing functions (the .mtr file generated) -A apply the region/boundary attributes (important) -a if you specified a tet size on the region, this flag will cause tetgen to enforce that I typically specify refinement on the boundaries (i.e., using the mtr file), so the command and options I most commonly use are: Code:
$ tetgen -pq1.414Am input_file.smesh Kind regards, Peter |
|
February 18, 2015, 00:59 |
|
#4 |
New Member
Abhinay
Join Date: Feb 2015
Location: Bethlehem, Pennsylvania
Posts: 23
Rep Power: 11 |
I did download the file! I am confused with platform I need to run this code $ "tetgen -pq1.414Am input_file.smesh." where do I have to type this command, is it the C++ platform or some other command line tool ?
Sorry for the ignorance! but please bear with my questions! Thank you |
|
February 18, 2015, 02:51 |
|
#5 |
Member
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11 |
Are you running linux? Windows? Mac?
|
|
February 18, 2015, 02:55 |
|
#6 |
New Member
Abhinay
Join Date: Feb 2015
Location: Bethlehem, Pennsylvania
Posts: 23
Rep Power: 11 |
windows!!!!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best Mesh generation software | ehsanakrami | Mesh Generation & Pre-Processing | 3 | February 4, 2015 02:45 |