Contents     Functions         Previous Next     PDF Index

fe_caseg

Purpose

Gateway functions for advanced FEM utilities in SDT, regarding assembly, integrated case definition and post-treatments.

Description

This function is only used for internal SDT operation and actual implementation will vary over time. The following commands are documented to allow user calls and SDT source code understanding.

Assemble

Optimized strategies for assembly are provided in SDT through the fe_caseg Assemble command. More details are given in section 4.8.8.

StressCut

The StressCut command is the gateway for dynamic stress observation commands. Typical steps of this command are

For the selection generation, accepted options are

The sel data structure is a standard selection (see feplot sel) with additional field .StressObs a structure with the following fields

Par[Mat,Pro,SE,Init,Set,2Case]

Advanced parameter declaration in models. Lower level declaration can be found in fe_case par. Model parametrization framework can be found in XXX.

The following commands are available to declare SDT parameters

The following commands are available to declare and handle broader parameter definitions, to be used in dedicated routines

StressObserve

The StressCut command typically returns all stress components (x, y, and z), for a relevant plot, it is useful to define a further post-treatment, using the sel.StressObs.CritFcn callback. This callback is called once the stress observation have been performed. The current result is stored in variable r1, and follows the dimensions declared in field .X of the observation. For example to extract stresses in the x direction, the callback is

 sel.StressObs.CritFcn='r1=r1(1,:,:);';

The StressObserve command outputs the stress observation in an curve structure. You can provide a callback -crit "my_callback". The command option -trans allows observation of translations for selections that have this observation. If empty, all components are kept.

data=fe_caseg('StressObserve -crit""',cf.sel(2),def);
iiplot(data); % plot results

ZoomClip

The command accessible through the axes context menu Clip, can now also be called from the command line fe_caseg('ZoomClip',cf.ga,[xyz_left;xyz_right]).


©1991-2019 by SDTools
Previous Up Next