Example 13b: Generating a Vornoi mesh of a pipe.

This example calculates a 3d Voronoi mesh from a Delaunay tetrahedralisation.


The comfile run by this example is as follows:

# Example_13b Calculating a 3d pipe Voronoi mesh

fem
fem def para;r;pipe3d;example # Redefine parameters for Voronoi arrays

fem def coord 3,1             # Define 3d rectangular Cartesian coordinates
fem def node;r;pipe3d;example # Define nodal points of pipe  
fem def base;r;pipe3d;example # Define 2d simplex basis functions
fem def elem;r;pipe3d;example # Define 2d simplex elements. The Voronoi mesh will be
                              # calculated from these elements
fem update delaunay           # Update the Delaunay triangulation, in case not Delaunay
fem def mesh;r;pipe3d;example # Read in the parameters for the Voronoi mesh. This will
                              # involve giving each node a type, either boundary (B), 
                              # internal boundary (IB) or internal (I)

Additional testing commands:

FEM list voronoi
FEM list voronoi total

Files used by this example are:

Name             Modified     Size

example_13b.com 20-Nov-2001 812 pipe3d.ipbase 10-Apr-2000 2.1k pipe3d.ipelem 10-Apr-2000 265k pipe3d.ipmesh 20-Jan-2003 871 pipe3d.ipnode 10-Apr-2000 33k pipe3d.ippara 12-Nov-2002 5.6k test_output.com 10-Apr-2000 40

Download the entire example:

Name                      Modified     Size

examples_1_13_13b.tar.gz 18-Aug-2006 38k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:01:32 20161
cm-debugSuccessSat Mar 5 00:09:22 20163
mips-irix
cmSuccessSun Aug 19 01:37:32 20078
cm-debugSuccessWed Aug 15 01:36:22 200728
cm-debug-clear-mallocSuccessSat Aug 18 01:44:05 200732
cm-debug-clear-malloc7SuccessMon Aug 20 01:41:06 200732
cm64SuccessSun Aug 19 01:36:47 20079
cm64-debugSuccessTue Aug 21 01:36:07 200730
cm64-debug-clear-mallocSuccessThu Apr 1 10:10:14 200414
rs6000-aix
cmSuccessWed Mar 4 01:07:56 20091
cm-debugSuccessMon Mar 2 01:08:33 20097
cm64SuccessWed Mar 4 01:07:56 20091
cm64-debugSuccessTue Mar 3 01:14:48 20099
x86_64-linux
cmSuccessSun Mar 6 00:01:01 20161
cm-debugSuccessSat Mar 5 00:01:46 20162

Testing status by file:


Html last generated: Sun Mar 6 05:50:06 2016

Input last modified: Mon Jan 20 12:30:19 2003


CMISS Help / Examples / 1 / 13 / 13b