Contents     Functions         Previous Next     PDF Index

fe_def

Purpose

Utilities for FEM related data structures.

Syntax

 ... = fe_def(def,'command', ... )
 ... = fe_def('command', ... )

Description

Accepted commands are

SubDef, SubDof, SubCh

def=fe_def('SubDef',def,ind); keeps deformations associated with ind, which a vector of indices or a logical vector (for example ind=def.data(:,1)<500 can be used to select frequencies below 500). Other fields of the def structure are truncated consistently.

def=fe_def('SubDof',def,DOF) is extracts a subset of DOFs based on defined DOF or with def=fe_def('subdofind',def,ind) indices (again either values or logicals). This command is partially redundant with feutilb PlaceInDof called with def2 = feutilb('PlaceInDof',DOF,def). The main difference is the ability to add zeros (use DOF larger than def.DOF) and support sens structures.

fe_def('SubDofInd-Cell',def,ind_dof,ind_def) returns a clean cell array listing selected DOFs and responses. This is typically used to generate clean tables.

fe_def('SubCh',def,ind) is similar to SubDof but allows but supports more advanced selection for multi-dimensional curves. This command is not fully documented.

DefFreq

w=fe_def('DefFreq',DISK) returns frequencies defined in the info,Freq entries using Hz units.


©1991-2014 by SDTools
Previous Up Next