Contents  
Functions  
 ![]() ![]() |
Various information are stored in the model.Stack field. If you use a SDT handle refering to a feplot figure, modification of the model and case entries is often easier using cf.Stack calls (see feplot).
Currently supported entry types in the stack are
case | defines a case : boundary conditions, loading, ... |
curve | curve to be used for simulations (see fe_curve). |
info | non standard information used by solvers or meshing procedures (see below). |
info,map | used to define a normal MAP, see feutil GetNormal for format |
mat | defines a material entry. |
pro | defines an element property entry. |
SE | defines a superelement entry. |
sel | defines a element selection. |
seln | defines a node selection. Typically a structure with fields .ID giving the reference number and .data giving either node numbers or a node selection command. |
set | defines a set that is a structure with fields .ID (a reference number of the set), .data (defines the data) and .type (nature of the set: NodeId, EltId, FaceId, EdgeId or DOF). .data contains NodeId for nodes, EltId for elements, two columns giving EltId and face/edge number (as detailed in integrules) for faces and edges, DOF values for DOF sets. Sets are often used to define loaded surfaces. The feutil AddSet commands let you define a set from a selection. |
For FaceId sets, a third column can be added to specify subgroups within the set and a .NodeCon sparse matrix can be used to specify nodes (rows) connected to each subgroup (column). |
Currently reserved names for info entries are
DefaultZeta | value to be used as default modal damping ratio (viscous damping). The default loss factor if needed is taken to be twice that value. |
EigOpt | gives real eigenvalue solver options (see fe_eig). |
FluidEta | Default loss factor for use in vibroacoustic fluid computations. |
Freq | Frequencies given as a structure with field .data with frequency values and .ID a integer identifier. A .unit field can specify rad/s,Hz,rev/mn,RPM. f=fe_def('DefFreq',model) is used to obtain the frequency vector in Hz. |
NewNodeFrom | integer giving the next NodeId to be used when adding nodes to the model (used by some commands of feutil). |
Omega | rotation vector used for rotating machinery computations (see fe_cyclic) can be specified as a structure for unit selection. For example r1=struct('data',250,'unit','RPM');f_hz=fe_def('deffreq',r1) |
OrigNumbering | original node numbering (associated with feutil Renumber command). Two int32 columns giving original and new node numbers. |
StressCritFcn | string to be evaluated for a specific stress criterion, see fe_stress. |
Rayleigh | defines a Rayleigh damping entry. |
MifDes | defines the list of desired response output (see fe2xf). |
NasJobOpt | structure with options to be used for automated job runs by the NASTRAN job handler. |
NastranJobEdit | cell array giving a list of job editing commands to be used through a naswrite EditBulk call. |
TimeOpt | gives time solver options (see fe_time). |
A case defines finite element boundary conditions, applied loads, physical parameters, ... The associated information is stored in a case data structure with fields
Case.Stack | list of boundary conditions, constraints, parametric design point, and loading cases that need to be considered. A table of accepted entries is given under fe_case. Each row gives {Type,Name,data}. |
Case.T | basis of subspace verifying fixed boundary conditions and constraints. |
Case.DOF | DOF definition vector describing the columns of T, the rows of T are described by the .DOF field of the model. |
The various cases are then stored in the .Stack field of the model data structure (this is done by a call to fe_case). If you use a SDT handle refering to a feplot figure, modification of the case entries is often easier using cf.CStack calls (see feplot).