th

th sets the thickness of the shell elements in a region.

Syntax

th imin jmin kmin imax jmax kmax thickness

The six numbers are a region, a face on a shell partition; thickness is a real above zero.

What it does

Every active shell element whose four corners lie in the region gets the thickness on all four corners, overriding the part’s thic. The later of th, thi, ssf and ssfi on one element governs.

When James applies it

After the part’s twenty-one steps, in the order the thickness commands were written.

Rules James adds

  • A region holds a shell element when a shell partition lies inside it and, in each of the other two directions, its span holds a cell with an element over it (two consecutive reduced indices, neither a gap), so the shell plane has area inside it: a face on a shell partition, or a block across one. Any other region, a block short of every shell partition, a face on a solid partition, an edge, a vertex or a face on a shell partition whose span in the plane lies inside a gap’s slab, is a warning (E1402); the command is kept and sets nothing.
  • Four corner thicknesses are kept per element, so a later ssf can give each corner its own; th sets all four alike.

Diagnostics

  • E1400: the thickness is missing or is not a positive number.
  • E1402: the region holds no shell element.
  • E0102: a reduced index lies outside the part.
  • E0418: a reduced index names a gap.

Example

The script tests/corpus/237-th-region-no-shell/input.tg, which make test runs:

c a block region short of the shell partition and a face on a solid
c partition hold no shell; a block region across the shell partition does
block 1 3 -5;1 3;1 2;0 2 4 0 2 0 1
th 1 1 1 2 2 2 .1
n 2 1 1 2 2 2
th 1 1 1 3 2 2 .2
endpart

The part’s shells lie on i=5, reduced index 3. The first th names a block that stops at reduced 2, short of the shells, and the n the solid partition at reduced 2, so both warn and set nothing. The second th names a block that reaches reduced 3, so it holds the shells there and sets their thickness to 0.2 without a warning.

See also

  • thi: the same command with an index progression.
  • thic: the default the region overrides.

James 0.8.0.

This site uses Just the Docs, a documentation theme for Jekyll.