SDT-nlsim         Contents     Functions         Next     PDF Index

1.8  Data structures for HBM solvers

1.8.1  Model, superelement

The model structure containing in particular

This section describes a subset of superelement specifications described in more details in sdtweb('secms'). The structure is a standard OpenFEM model structure with additional fields described below.

Opt

Options characterizing the type of superelement as follows:

Opt(1,1)1 classical superelements.
Opt(2,:)matrix types for the superelement matrices. Each non zero value on the second row of Opt specifies a matrix stored in the field K{i} (where i is the column number). The value of Opt(2,i) indicates the matrix type of K{i}. 1 stiffness, 2 mass, 3 viscous damping, 4 hysteretic damping.

Node

Nominal node matrix. Contains the nodes used by the unique superelement. The only restriction in comparison to a standard model Node matrix is that it must be sorted by NodeId so that the last node has the largest NodeId.

K{i},Klab{i},DOF

Superelement matrices. The presence and type of these matrices is declared in the Opt field (see above) and should be associated with a label giving the meaning of each matrix.

All matrices must be consistent with the .DOF field which is given in internal node numbering.

Elt, Node, il, pl

Initial model retrieval for unique superelements. Elt field contains the initial model description matrix which allows the construction of a detailed visualization as well as post-processing operations. .Node contains the nodes used by this model. The .pl and .il fields store material and element properties for the initial model.

Once the matrices built, SE.Elt may be replaced by a display mesh if appropriate.

TR

TR field contains the definition of a possible projection on a reduction basis. This information is stored in a structure array with fields

1.8.2  Non-linearity definition NLdata

Initialization of non-linear behavior in a cbush element group is performed with the following NLdata formats

Definition with custom functions. The NLdata property must contains the following fields

1.8.3  NL structure non-linearity representation during HBM solve

NL structures describing each non-linearity

1.8.4  Solver options definition

out=struct('Method','hbm_solve',...
 'Opt',[0 9 1 .01 .4 0 1],... [adapt Nhmax nu fmin fmax UNU fvar]
 'SaveFreq',[0 .01 1e3 ],... [stra (full/block) fstep nFpoints]
 'RelTol',1e-9,'MaxIter',12,...
 'Rayleigh',[0 0],...
 'NeedUNL',[0 0],...
 'AssembleCall',hbm_solve('AssembleCall'),...
 'JacobianUpdate',pmat(zeros(1)),...
 'iterHBM','@iterHBM',...
 'initHBM','@initHBM',...
 'resHBM','@resHBM',...
 'abscHBM','@abscHBM',...
 'FinalCleanupFcn','hbm_solve(''fe_timeCleanup-cf-1'');',...
 ...'dSOpt',[ 2 1 0 .01 .01 .1  7 .3 1.5 6 12  ]); % [  Ldeg absc step dsfix dsmin dsmax iopt bmin bmax method maxite]
 'dSOpt',[1 .01 .01 .1  7 .3 1.5  2 ]); %step(lin/lagrange) dsfix dsmin dsmax iopt bmin bmax Ldeg

1.8.5  Option structure during HBM solve

Inside the solver loop, developers may want to access a number of parameters described below. The internal structure during time solves is described in sdtweb('nldata#nlformtime');

1.8.6  Harmonic result structure

is the data structure used to store SDT-HBM results. It is a variation of the curve format. With the first dimension containing harmonic DOFs, the second frequencies and the last amplitudes.

sdtweb hbm_solve('outputinithbm')
 out=struct('Y',zeros(r1),...
  'X',{[{hdof}, freq,amp]},...
  'Xlab',{'Hdof','Freq','Amp'},...
  'hdof',{opt.hdof},'DOF',Case.DOF,...
  'harm',opt.harm,'idof',opt.idof,'ihdof',opt.ihdof,'cur',zeros(1,max(3,length(r1)+1)));

©1991-2023 by SDTools
Previous Up Next