D3PLOT 22.1

Creating a New User-Defined Component

Creating a new user-defined component

The steps to go through are:

  1. Use New... to start a new component definition

  2. Choose one of the possible data classes:
Node scalar A single scalar value at nodes
Node vector A [x,y,z] vector at nodes (3 values)
So/Sh scalar A single scalar value at solids, shells, thick shells
So/Sh tensor A [xx,yy,zz,xy,yz,zx] tensor at solids, shells, thick shells (6 values)
Beam scalar A single scalar value at beams
Beam vector

A [x,y,z] vector at beams (3 values)

Othr scalar A single scalar value at elements
Othr vector

A [x,y,z] vector at elements (3 values)

Othr tensor A [xx,yy,zz,xy,yz,zx] tensor at elements (6 values)
  1. Define a component name. A default name will be generated, but any name (no more than 30 characters long) may be used, so long as it is unique : it must not conflict with any built-in component names, or any other user-defined component names.

  2. Define a data source from one of:
Read from file Data is read from externally supplied ASCII data file(s)
Simple formula Data is calculated internally from a "simple" formula using standard internal data and arithmetic.
JavaScript file Data is calculated externally using a JavaScript file.
  1. Define a "root" data filename, simple formula or JavaScript filename depending on the data source.

  2. Finally CREATE the new component to save it.

There is also a category of "User Defined Binary Components", referred to as UBIN, that may only be generated by the separate JavaScript interface to D3PLOT (not to be confused with the "JavaScript file" data source referred to here). See the JavaScript API documentation for more information about these.