CALFEM/Pre demo - Escuela Superior Politecnica del Litoral

Download Report

Transcript CALFEM/Pre demo - Escuela Superior Politecnica del Litoral

CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
0.03 MN/m
Thickness = 0.20 m
Young’s modulus = 10500e6
Poisson’s ratio = 0.15
0.5 m
3m
1m
1m
1m
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Start CALFEM/Pre
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Create new model
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Create nodes for the geometry
Nodes are created by clicking
and using the snap functions
in CALFEM/Pre
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Create lines
Lines are created by clicking
on two nodes.
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Create surfaces
Surfaces are created by clicking
on 4 lines.
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Setting element division
To set the element division the surface has to be selected. When the surface is selected the surface properties dialog is used to set
the divisions. Divisions are given as rows and columns.
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Finished mesh and geometry
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Saving the model
The file format used in CALFEM/Pre is the
MATLAB m-file. CALFEM/Pre defines blocks in
the m-file to store the geometry information. The
m-file can be modified and reloaded in the
geometry editor.
When a model is saved for the first time a guide is
used to determine how the m-file should be
created.
In this first step the only option is used to
determine if a skeleton solution code should be
generated. If this option is not checked only the
geometry definition is generated.
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Choosing element type
In this step we choose what element type to use
when generating the solution code.
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
What goes into the model
In the last step options for adding comments in
the code are set. Comments are used to tell the
user what steps has to be done to finish the model.
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Choose m-file
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Starting MATLAB
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Open tutorial.m
>> edit tutorial
The screenshot right shows the
matlab editor with the created
model tutorial.m
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Define a material
To run the model we have to add
variables to define the material
we use.
Add variables
Modify material
definition
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Loads and boundary conditions
The top load is defined and we set
fix the model at the bottom.
Add loads
Add boundary conditions
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Add post processing code
To show the results of the
calculation we add post
processing commands.
Post processing commands
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Executing the calculation
To execute the calculation we
type tutorial at the MATLAB
command prompt.
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY
Results
Geometry
Displacements
Principal
stresses
CALFEM
STRUCTURAL MECHANICS, LUND UNIVERSITY