next up previous contents index
Next: III. Solver Preferences Up: II. Composite Reference Manual Previous: II.4 The ``ClaLam'' class   Contents   Index

Subsections


II.5 The ``ClaLoad'' class

The ``ClaLoad'' class is used to define, store and manipulate loadings to be applied to laminates. A loading is characterized by:

A list of the methods defined in ``ClaLoad'' class is given in Table II.5.1.

Table II.5.1: The different methods that have been defined in ``ClaLoad'' class. CLA.ClaLoad.methods.tab
(FeResPost list of classes is given in Table 1 page [*].)
Method Name Description Example
     
Creation and initialization methods
new II.5.1 IV.5.4.4
initialize II.5.1  
clone II.5.9  
Manipulation of data defining ClaLoad object
setT II.5.3 IV.5.4.4
getTinf II.5.3  
getTsup II.5.3  
isTdefined II.5.3  
unsetT II.5.3  
setH II.5.3  
getHinf II.5.3  
getHsup II.5.3  
isHdefined II.5.3  
unsetH II.5.3  
setMembrane II.5.4 IV.5.4.4
setFlexural II.5.4 IV.5.4.4
setOutOfPlane II.5.4  
getMembrane II.5.4  
getFlexural II.5.4  
getOutOfPlane II.5.4  
setToCombili II.5.5  
setShellForces II.5.6 IV.5.6
getShellForcesCopy II.5.6  
clearShellForces II.5.6  
setShellMoments II.5.6 IV.5.6
getShellMomentsCopy II.5.6  
clearShellMoments II.5.6  
setShellStrains II.5.6 IV.5.6
getShellStrainsCopy II.5.6  
clearShellStrains II.5.6  
setShellCurvatures II.5.6 IV.5.6
getShellCurvaturesCopy II.5.6  
clearShellCurvatures II.5.6  
setShellTemperatures II.5.6  
getShellTemperaturesCopy II.5.6  
clearShellTemperatures II.5.6  
setShellMoistures II.5.6  
getShellMoisturesCopy II.5.6  
clearShellMoistures II.5.6  
Management of units methods
getUnits II.5.7  
setUnits II.5.7  
changeUnits II.5.7  
NDF lines
initWithNeutralLines II.5.8  
getNeutralLines II.5.8  
Attributes
Id II.5.2  
     


II.5.1 Creation of an object

The singleton method ``ClaLoad.newnew'' is used to create ClaLoad objects. This method has no argument. (Nor has the ``ClaLoad.initializeinitialize'' method an argument.)


II.5.2 Identifying a ClaLoad

Two methods allow the manipulation of the identifier of ClaLoad objects (``ClaLoad.IdId'' attribute):


II.5.3 Thermo-elastic and hygro-elastic contributions

Ten methods allow the manipulation of scalar characteristics of the loadings. (The scalar characteristics are the thermo-elastic and hygro-elastic contributions to loading.) The methods are:

Obviously, the different data inserted in, or retrieved from the ClaLoad object should be consistent with the set of units attributed to the same object. This set of units can be attributed to the object after initialization of the data.


II.5.4 Setting and getting mechanical parts

Three methods are used to set the mechanical part of loading stored in the ClaLoad object:

Each of the three ``set'' methods described above has a corresponding ``get'' method: Each of these three ``get'' methods returns an Array containing the arguments of the respective ``set'' methods. The first element of this Array is an Array of 3 or 2 Real values. Then follow 3 or 2 Strings corresponding to the types of solicitation of each component.

Obviously, the different data inserted in, or retrieved from the ClaLoad object should be consistent with the set of units attributed to the same object. This set of units can be attributed to the object after initialization of the data.


II.5.5 Linear combinations of loads

``ClaLoad.setToCombilisetToCombili'' method allows to define a ClaLoad as a linear combination of pre-defined ClaLoads. This method has four arguments:

  1. A reference temperature. This Real parameter is necessary because the top and bottom temperatures of the combined ClaLoad are calculated as follows:

    $\displaystyle T_{\text{tot}}=T_{\text{ref}}
+\sum_{i=1}^N f_i\cdot\left(T_i-T_{\text{ref}}\right)\ .
$

  2. A reference moisture. (Same remarks as for the reference temperature.)
  3. An Array of Reals corresponding to the coefficients of the linear combination.
  4. An Array of ClaLoad objects.
The sizes of the two Array arguments must match. Also the types of the different components of mechanical part of the loadings must be the same.


II.5.6 Finite element Results

Eighteen methods are devoted to the manipulation of loading components defined as finite element Results. Six member data correspond to these methods: ``Shell Forces'', ``Shell Moments'', ``Shell Strains'', ``Shell Curvatures'', ``Shell Temperatures'' and ``Shell Moistures''.

The mechanical components of loading correspond to non-layered Results. ``Shell Temperatures'' and ``Shell Moistures'' are defined at Shell lower and upper surfaces (layers ``Z1'' and ``Z2'' respectively). When calculating laminate load response, FeResPost does not check or considers the coordinate system to which mechanical loading components are associated. This means that all the components are assumed to be given in loading axes. It is the responsibility of the user to first transform the components in such a way that their use by FeResPost makes sense.

Three methods allow the manipulation of Shell Forces stored in the ClaLoad object:

  1. ``ClaLoad.setShellForcessetShellForces'' inserts a copy of the Result argument inside the ClaLoad object.
  2. ``ClaLoad.getShellForcesCopygetShellForcesCopy'' has no argument and returns a copy of the ``Shell Forces'' Result stored in the ClaLoad object. The method returns ``Nil'' if the ``Shell Forces'' are not initialized.
  3. ``ClaLoad.clearShellForcesclearShellForces'' erases the ``Shell Forces'' Result stored in the ClaLoad object.
For the other Results, the manipulation methods are build similarly. The other methods are: Obviously, the different data inserted in, or retrieved from the ClaMat object should be consistent with the set of units attributed to the same object. This set of units can be attributed to the object after initialization of the data.


II.5.7 Management of Units

The ``ClaLoad'' class defines three methods for the management of units:

The Hash arguments or return values mentioned above have String keys and values as explained in section II.1.13. The difference between the ``ClaLoad.setUnitssetUnits'' and ``ClaLoad.changeUnitschangeUnits'' methods is also explained in the same section.


II.5.8 Saving or initializing with NDF lines

Two methods allow to save or read ClaLoad objects from an Array of Strings in neutral format. These two methods are ``ClaLoad.initWithNeutralLinesinitWithNeutralLines'' and ``ClaLoad.getNeutralLinesgetNeutralLines'' that work in a similar way as the corresponding methods in ``ClaDb'' class (section II.2.6).

However, the lines transmitted to ``ClaLoad.initWithNeutralLinesinitWithNeutralLines'' or returned by ``ClaLoad.getNeutralLinesgetNeutralLines'' correspond to a single ClaLoad object definition.


II.5.9 Other methods

``ClaLoad.cloneclone'' method has no argument and returns a copy of the ClaLoad object.


next up previous contents index
Next: III. Solver Preferences Up: II. Composite Reference Manual Previous: II.4 The ``ClaLam'' class   Contents   Index
FeResPost 2017-05-28