0% found this document useful (0 votes)
177 views

Cufsm Advanced Matlab

The Matlab version of CUFSM allows greater flexibility than the standalone version by enabling users to utilize Matlab commands and perform parametric studies, optimization, and more directly from m-files. Key CUFSM Matlab functions include those for plotting, post-processing, model building, and analysis. An example m-file demonstrates setting up a parametric study of a Cee section where the lip length is varied, all results are saved, and buckling curves and mode shapes are plotted directly from the m-file.

Uploaded by

Memebetula Pokle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
177 views

Cufsm Advanced Matlab

The Matlab version of CUFSM allows greater flexibility than the standalone version by enabling users to utilize Matlab commands and perform parametric studies, optimization, and more directly from m-files. Key CUFSM Matlab functions include those for plotting, post-processing, model building, and analysis. An example m-file demonstrates setting up a parametric study of a Cee section where the lip length is varied, all results are saved, and buckling curves and mode shapes are plotted directly from the m-file.

Uploaded by

Memebetula Pokle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 13

CUFSM2.

CUFSM and Matlab


The Matlab version of CUFSM allows much greater
flexibility than the standalone version.
Within the Graphical User Interface you can use
mathematics, anything you could enter on the command
line in Matlab you can use in the GUI examples:
entering 1:1:10 in the Lengths section will be interpreted as
1 2 3 4 5 6 7 8 9 10
to evenly space 30 points in log space between 100 and 103
enter logspace(0,3,30) in the Lengths section
to shift a member over 2 in. just add +2 to x the nodal
coordinates of all nodes
etc.
CUFSM and Matlab
The real power of the Matlab version is the
ability to access all the features of the program
from within your own programs (m-files.)
In your m-files you can call the CUFSM routines
to do your pre- and post-processing as well as
perform the analysis directly and perform
parametric studies, optimization, etc..
Useful CUFSM Matlab functions
Plotting and Post-Processing
crossect.m: plot the cross-section, node numbers, springs, etc.
strespic.m: show the stress distribution
thecurve.m: single model, buckling curve plot
thecurve2.m: multiple model, buckling curve plot
dispshap.m: plot a 2D buckling mode shape
dispshap3d.m: plot a 3D buckling mode shape
Model Building
templatecalc.m: Generate finite strip model from centerline dimensions of a C or Z
doubler.m: double the number of elements in a model
grosprop.m: calculate the properties (A, I, etc.) for a model
yieldMP: given fy calculate the yield loads and moments for a model
stresgen.m: given a load and/or moment calculate nodal stresses for a model
Analysis
strip.m: Perform finite strip calculations for a model
Matlab Example
An example of performing a parametric study in Matlab
using your own files is presented in the following slides.
The example m-file is: example_parameter_study.m
The example
sets up the CUFSM inputs for a Cee section in compression
performs analyses while varying the lip length
saves all results
plots the initial cross-sections used in the parametric study
plots the buckling curves from the study
plots the local and distortional buckling modes from the study
Parameter Study Example

The dimensions of the model are defined to the left.


Setup and perform analysis

The nodes and elements are defined just as they would be in the
graphical version of CUFSM, but now we use variables instead
of numbers. Most importantly, since d is an array we can perform
a loop and systematically vary the lip length d.
Analysis and saved data

this one line performs the analysis.


Plot sections and buckling curves
this plot is generated directly from the m-file!
this plot is generated directly from the m-file!
Plot mode shapes
this plot is generated directly from the m-file!
CUFSM2.5

this plot is generated directly from the m-file!

You might also like