Download FEAP - - A Finite Element Analysis Program
Transcript
CHAPTER 5. ADDING ELEMENTS c 31 select case (isw) case(1) Input material parameters ... case default ... end select the CASE DEFAULT should not perform any operations unless all options are programmed. Finally, if the form go to (1,2,..... ), isw return is used the RETURN statement should always be included as shown. This prevents any unexpected execution of a statement that appears after the GO TO. Some of the options for additional data passed through common blocks is shown in Figure 5.2 with each variable defined in Table 5.3. Also, in Figure 5.3 the reference to common blocks using include statements is shown. In the prototype routine the number of nodes on an element (nen) which is used to dimension ul is passed in the labeled common /cdata/. Additional discussion is given below on use of some of the other data passed through the common blocks. 5.1 Material property storage The material parameters to be stored in the array D with pointer np(25) may be input using the subprogram INPT2D. This subroutine is accessed by the statement: CALL INPT2D(D,TDOF, NEV, TYPE) where D is the array storing the material parameters; TDOF is returned as the parameter to access temperature; NEV is the number of element history variables to allocate to NH1; and TYPE is the element type. This routine inputs the commands as described in the user manual and stores the data for each material set into the D array elements as described in the following tables.