Using built-in Netgen module to generate tetrahedral mesh for a finite element torso model in cmgui.
This example will read in a finite element torso model, convert it into a tetrahedal mesh using built-in Netgen module in cmgui and then output in to an exregion file.
Created November, 2009 by Heye Zhang and Alan Wu.
#A short example to demonstrate meshing from a finite element torso model into a #tetrahedral mesh. gfx create material torso diffuse 0.7 0.7 0.7 alpha 1.0 #Translucent grey torso gfx read elem example torso.exregion # #Create a 3-D graphics window, adjust the view and set axes appropriately. gfx create window 1 gfx modify win 1 view perspective #Create and modify graphical settings for torso gfx modify g_element torso general clear circle_discretization 6 default_coordinate coordinates element_discretization "4*4*4" native_discretization none; gfx modify g_element torso lines select_on invisible material default selected_material default_selected; gfx modify g_element torso surfaces select_on material torso selected_material default_selected render_shaded; # #The following commands create a new region "results" and create a tetrahedral mesh with a global mesh size 20 of the region torso in it. gfx create region result; gfx mesh graphics tetrahedral region result mesh_global_size 20; #write out the new mesh into torso_result.exregion gfx write elements nodes group result torso_result.exregion; #Now hide the graphics of region torso and show only the resulting tetrahedrals. gfx modify g_element torso general clear; gfx modify g_element result surfaces select_on material red selected_material default_selected render_shaded;
Name Modified Size
generate_mesh.com 17-Mar-2014 1.3k COPYRIGHT 17-Mar-2014 504 torso.exregion 17-Mar-2014 159k
Name Modified Size
examples_a_generate_mesh.tar.gz 09-Mar-2016 7.1M
Status | Tested | Real time (s) | |
i686-linux | |||
cmgui-wx | Failure | Sun Mar 6 00:33:03 2016 | 17 |
last break | Tue Mar 31 00:50:00 2015 | 22 | |
cmgui-wx-debug | Failure | Sun Mar 6 00:34:56 2016 | 20 |
last break | Tue Mar 31 00:52:00 2015 | 18 | |
cmgui-wx-debug-memorycheck | Failure | Sun Mar 6 00:43:37 2016 | 32 |
last break | Tue Mar 31 01:06:00 2015 | 29 | |
x86_64-linux | |||
cmgui-wx | Failure | Sun Mar 6 00:01:30 2016 | 0 |
last break | Sun Mar 6 00:01:00 2016 | 0 | |
cmgui-wx-debug | Failure | Sun Mar 6 00:01:30 2016 | 0 |
last break | Sun Mar 6 00:01:00 2016 | 0 | |
cmgui-wx-debug-memorycheck | Failure | Sun Mar 6 00:01:30 2016 | 0 |
last break | Sun Mar 6 00:01:00 2016 | 0 |
x86_64-linux | |||
139 | cmgui-wx: | error exit status 139. | |
139 | cmgui-wx-debug: | error exit status 139. | |
139 | cmgui-wx-debug-memorycheck: | error exit status 139. |
i686-linux | |||
Failure | cmgui-wx: | diff test: differences with i686-linux answer; Test output. | |
Failure | cmgui-wx-debug: | diff test: differences with i686-linux answer; Test output. | |
Failure | cmgui-wx-debug-memorycheck: | diff test: differences with i686-linux answer; Test output. | |
x86_64-linux | |||
Failure | cmgui-wx: | diff test: differences with x86_64 answer; Test output. | |
Failure | cmgui-wx-debug: | diff test: differences with x86_64 answer; Test output. | |
Failure | cmgui-wx-debug-memorycheck: | diff test: differences with x86_64 answer; Test output. |
i686-linux | |||
Failure | cmgui-wx: | ndiff test: significant differences with i686-linux answer. | |
Failure | cmgui-wx-debug: | ndiff test: significant differences with i686-linux answer. | |
Failure | cmgui-wx-debug-memorycheck: | ndiff test: significant differences with i686-linux answer. | |
x86_64-linux | |||
Missing | cmgui-wx: | output file not generated for ndiff; x86_64 answer. | |
Missing | cmgui-wx-debug: | output file not generated for ndiff; x86_64 answer. | |
Missing | cmgui-wx-debug-memorycheck: | output file not generated for ndiff; x86_64 answer. |
Html last generated: Wed Mar 9 16:02:07 2016
Input last modified: Wed Mar 9 15:49:40 2016