Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sphere with Shells

This section presents a model composed of a sphere with two concentric shells. We use the model to explore answers to the following questions:

  1. What compute time is required to create successively refined resolutions in automesh?
  2. What compute time is required to create these same resolutions in Sculpt?
  3. Given a rotational boundary condition, what are the displacement and strain fields for the voxel mesh?
  4. How do the results for the voxel mesh compare with the results for a conforming mesh?
  5. To what degree may smoothing the voxel mesh improve the results?
  6. To what degree may dualization of the voxel mesh improve the results?

Model

Python is used to create a segmentations, saved as .npy files, and visualize the results.

Given

Given three concentric spheres of radius 10, 11, and 12 cm, as shown in the figure below,

spheres_cont_dim

Figure: Schematic cross-section of three concentric spheres of radius 10, 11, and 12 cm. Grid spacing is 1 cm.

Find

Use segmentation resolutions 1, 2, 4, and 10 voxels per centimeter with a cubic domain (nelx = nely = nelz) to create finite element meshes.

Solution

vox/cmelement side length (cm)nelx# voxelssegmentationfile size
11.02413,824spheres_resolution_1.npy14 kB
20.548110,592spheres_resolution_2.npy111 kB
40.2596884,736spheres_resolution_3.npy885 kB
100.124013,824,000spheres_resolution_4.npy13.78 MB

Python Segmentation

The Python code used to generate the figures is included below.

spheres_cont

Figure: Sphere segmentations (left) spheres_resolution_1.npy and (right) spheres_resolution_2.npy shown in the voxel domain. Because plotting large domains with Matplotlib is slow, only the first two resolutions are shown.

spheres_cont_cut

Figure: Sphere segmentations with cutting plane of (left) spheres_resolution_1.npy and (right) spheres_resolution_2.npy.

Source

spheres_cont.py