SCIRun User Mailing List

Text archives Help

Re: [SCIRUN-USERS] hexahedral mesh generation

Chronological Thread 
  • From: Jess Tate <>
  • To:
  • Cc:
  • Subject: Re: [SCIRUN-USERS] hexahedral mesh generation
  • Date: Fri, 21 Feb 2014 14:55:54 -0700

Hi Mehdi,

What kind of data are you starting with? depending on what you have and need
there are some options. The hexahedral meshes that you can generate with
SCIRun are generally grid type meshes. SCIRun loads grid data or 3D image
data on a hex mesh, so if you are trying to generate the hex mesh from a
segmentation (such as from Seg3D), it is relatively simple. If you are load
a nrrd file, use the ReadField module with the option to load NRRD with data
on the elements. The you can use the GetDomainStructure, SplitFieldByDomain,
or ClipFieldByFunction to get rid of the background. GetDomainBoundary is a
goo module to use for visualizing the surface of the segmentation.

If you are starting with a tetrahedral mesh, you can map the geometry on grid
and clip it to the volume you want. If you have tet mesh, you can use
CreateFieldData to set the data on the mesh to any value(assuming that you
only have one region), CreateLatVol to create the grid to map the data onto
(use your tet mesh as the input set the resolution in the UI), and
MapFieldDataOntoElements to map the data from your mesh onto the latvol
(grid). Once you do this you essentially have a segmentation and you can
clip it as mentioned above.

If you have a closed and valid isosurface, you can make into a tetmesh using
InterfaceWithTetgen and do the steps mentioned above. Alternatively (this
can possibly be done with tet meshes too), you can use CalculateIsInsideField
(with the latvol from CreateLatVol as the other input) to create the

If you need something that is more adaptable or irregular elements, there is
a package called Cubit that can do this, but is not directly supported in
SCIRun, though it should be possible to load the data from Cubit into SCIRun.


On Feb 21, 2014, at 10:44 AM, wrote:

> I want to generate hexahedral mesh generation on my heart model using
> SCIRun v.4.7 software. I appreciate if you tell, how to generate
> structured hexahedron meshes on my geometry.
> best
> Mehdi

Archive powered by MHonArc 2.6.18.

Top of page