25.2.40 UTEMP
User subroutine to specify prescribed temperatures.

Product: ABAQUS/Standard  

References

Overview

User subroutine UTEMP:

  • allows you to prescribe temperatures at the nodes of a model;

  • will be called whenever a current value of temperature is needed for a node that is listed under a user-defined temperature field definition;

  • ignores any temperatures provided for the associated temperature field definition outside the user subroutine; and

  • can be used to modify any temperatures read in from a results file.

User subroutine interface

      SUBROUTINE UTEMP(TEMP,NSECPT,KSTEP,KINC,TIME,NODE,COORDS)
C
      INCLUDE 'ABA_PARAM.INC'
C
      DIMENSION TEMP(NSECPT), TIME(2), COORDS(3)
C

      user coding to define TEMP

      RETURN
      END

Variable to be defined

TEMP(NSECPT)

Array of temperature values at node number NODE. If the node is not connected to a beam or shell element, only one value of temperature must be returned (NSECPT=1). Otherwise, the number of temperatures to be returned depends on the mode of temperature and field variable input selected for the beam or shell section. The following cases are possible:

  1. Temperatures and field variables for a beam section are given as values at the points shown in the beam section descriptions. The number of values required, NSECPT, is determined by the particular section type specified, as described in Beam cross-section library, Section 15.3.9.

  2. Temperatures and field variables are given as values at n equally spaced points through each layer of a shell section. The number of values required, NSECPT, is equal to n.

  3. Temperatures and field variables for a beam section are given as values at the origin of the cross-section together with gradients with respect to the 2-direction and, for three-dimensional beams, the 1-direction of the section; or temperatures and field variables for a shell section are given as values at the reference surface together with gradients with respect to the thickness. The number of values required, NSECPT, is 3 for three-dimensional beams, 2 for two-dimensional beams, and 2 for shells. Give the midsurface value first, followed by the first and (if necessary) second gradients, as described in Beam elements, Section 15.3, and Shell elements, Section 15.6.

You can also request temperatures to be set in one of two other ways: from a previously generated results file or via direct data input. When array TEMP is passed into user subroutine UTEMP, it will contain temperatures obtained from the results file only. You can modify these values within this routine. Any values given as direct data input will be ignored.

Variables passed in for information

NSECPT

Maximum number of section values required for any node in the model.

KSTEP

Step number.

KINC

Increment number.

TIME(1)

Current value of step time.

TIME(2)

Current value of total time.

NODE

Node number.

COORDS

An array containing the current coordinates of this point. These are the current coordinates if geometric nonlinearity is accounted for during the step (see Procedures: overview, Section 6.1.1); otherwise, the array contains the original coordinates of the node.

Examples