GetElementProperties

<< Click to Display Table of Contents >>

Navigation:  Flexcom > Theory > Postprocessing > Custom Postprocessing > Database Access Routines > Database Access Routines >

GetElementProperties

Previous pageNext page

Returns the properties associated with this element.

Syntax

Value = GetElementProperties( 

  revdbm, 

  revdbf, 

  element, 

  auxiliaryflag, 

  no_prop, 

  elem_iprop, 

  elem_prop)

 

Description of arguments

Argument

Description

revdbm

Revision number of the motion database file. Integer scalar (input)

revdbf

Revision number of the force database file. Integer scalar (input)

element

Element number. Integer scalar (input)

auxiliaryflag

0 –standard element, 1 –auxiliary element. Integer scalar (input)

no_prop

Dimension of property arrays. Integer scalar (input).

elem_iprop

Array holding the element integer properties. Integer array of dimension (no_prop) (output). Each item in the array is initialised to  -1 in the routine prior to any data assignment. Only properties 1-4 are applicable to auxiliary elements.


Index

Value represents


1

Internal element index in the database


2

Number of the first node belonging to this element


3

Number of the second node belonging to this element


4

Geometric element set number


5

Flag to indicate if user effective properties were defined

0 – No

1 – Yes


6

Table number of the processed nonlinear direct stress-strain data


7

Flag to indicate the material type associated with this element

0 – Linear elastic

1 – Direct stress-strain

2 – Nonlinear bending stiffness

3 – Only nonlinear axial or torsion stiffness

elem_prop

Array holding the element real properties. Real array of dimension (no_prop) (output). Each item in the array is initialised to -1.0 in the routine prior to any data assignment. None of these properties are applicable to auxiliary elements.


Index

Value represents


1

Length


2

External fluid height


3

External fluid density


4

External fluid pressure


5

Internal fluid height


6

Internal fluid density


7

Internal fluid pressure


8

Bending stiffness


9

Axial stiffness if this element has an associated linear material specified in the Rigid Riser format, or the cross-section area (as specified under *GEOMETRIC SETS) if this element has an associated nonlinear material specified in the Rigid Riser format.

In all other instances, this entry is zero.


10

Effective external diameter


11

Effective internal diameter


12

Effective cross-section area


13

Second moment of area Iyy about the local y-axis


14

Second moment of area Izz about the local z-axis


15

Wall thickness

 

Return Value

Value

Description

-3

Unknown value assigned to the auxiliary flag

-2

Data could not be accessed

-1

Specified element is not in the database

0

Successful. Properties are returned.

A positive value

Number of properties is set too low. Call this function again substituting this value in no_prop.