TEMPINTERPOLATE

Temperature Interpolation

Description: Interpolates grid point temperature data from a known set of input grid points and temperatures to a set of output grid points and temperatures based on geometric position in 2d or 3d space.

Format:

TEMPINTERPOLATE, otsid, ogsid, itsid, igsid, nnri, ndlsf, cgsize, maxnus

Example:

TEMPINTERPOLATE, 100, 10, 1, 1

Option Definition Type Default
otsid Output temperature set identification number. See Remark 1. Integer > 0 Required
ogsid Output grid set identification number. Set identification of previously appearing SET command. Only grid points whose identification numbers appear on this SET command will be used. Integer > 0 or blank All grid points in model
itsid Input temperature set identification number. See Remark 2. Integer > 0 Required
igsid Input grid set identification number. Set identification of previously appearing SET command. Only grid points whose identification numbers appear on this SET command will be used. Integer > 0 or blank All grid points in temperature set
nnri Number of interpolation nodes within radius of influence. Integer > 0 or blank See Remark 3
ndlsf Number of data nodes in least squares fit. Integer > 0 or blank See Remark 4
cgsize Number of rows, columns, and planes in the cell grid. A box containing the nodes is partitioned into cells in order to increase search efficiency. Integer > 0 or blank See Remark 5
maxnus Maximum number of unique solution occurrences. Integer > 0 or blank See Remark 6

Remarks:

  1. Output is TEMP Bulk Data entries at grid points defined by ogsid.
  2. Input is GRID and TEMP Bulk Data entries which need not be associated with the analysis model. See Section 4, Bulk Data, for more information on GRID and TEMP Bulk Data entries.
  3. The valid range for nnri is 1 ≤ nnri ≤ min(100, n -1), where n is the number of input data points. The default is 100. A lower value may increase performance at the cost of accuracy. A value greater than or equal to 32 is recommended.
  4. The valid range for ndlsf is 9 ≤ ndlsf ≤ min(100, n -1), where n is the number of input data points. The default is 100. A lower value may increase performance at the cost of accuracy. A value greater than or equal to 17 is recommended.
  5. The recommended value for cgsize is:

    where n is the number of input data points. The default is determined using the above formula.

  6. A 3d interpolation algorithm is used initially, but will automatically revert to a 2d algorithm if the number of no unique solution errors exceeds maxnus while processing the input data points. Models that are dominantly flat but still have 3d features that default to the 2d interpolation algorithm may not be interpolated accurately. A larger maxnus value can be used to force a 3d interpolation. It is advisable to always check the interpolated loads.
  7. Generated TEMP Bulk Data entries can be exported using the TRSLMODLDATA Model Initialization directive. (See Section 2, Initialization, for more information on TRSLMODLDATA.)