Contents  
Functions  
Index
 
 PDF |
Purpose
Interface function with Samcef FEM code.
Syntax
Up=samcef('read model.u18')
Up=samcef('read model.u18','buildup')
Up=samcef('read model.bdf','buildup')
a=samcef('lectmat','FileRoot')
samcef('write FileName',model)
Description
Warning this function requires MATLAB 7.1 or later.
By itself the read commands imports the model (not the properties since those are not stored explicitly in the .u18 file. With the buildup argument, the .u11 and .u12 files are also read to import element matrices into a superelement. Additional DOFs linked to reduced shear formulations are properly condensed.
Since the properties are not read, there are some difficulties knowning DOFs actually used in the model. You should then start by declaring those properties in format before calling the read command.
model=samcef('read test_dy.u18'); % read model
% define properties
model.pl=m_elastic('dbval 1 steel','dbval 5 steel');
model.il=p_shell('dbval 100 kirchhoff .1 -f5','dbval 1 kirchhoff .1 -f5');
% check that properties are valid
[Case,model.DOF]=fe_mknl('initnocon',model);
% Now read the element matrices (from .u11 and .u12 files)
model=samcef('read test_dy.u18',model,'buildup')
Basic writting is supported with samcef('write FileName',model). Please send requests to extend these capabilities.
This command lists conversion tables for elements, topologies, facetopologies. You can redefine (enhance) these tables by setting preferences of the form setpref( 'FEMLink', 'samcef.list', value), but please also request enhancements so that the quality of our translators is improved.
See also
©1991-2008 by SDTools