Manual SAMCEF
Manual SAMCEF
Bacon is the pre & post processing module of the Samcef suite.
IGES cad
Name.sam
ANALYSIS
BACON
(ASEF,…)
Name.sdb
FEM data
Nastran Bulk
Neutral file
Name.spy Name_xx.u18
Others …
Keyboard
Name.sdb
Image
Jpeg, ps
FAC BACON
Excel.csv
Name_xx.des
Name_xx.u18 Bank Files Name.spy
Name_xx.fac
*.sdb Database
A point in 3 significant
Parameters Values
column 1 characters
.NOEI 1
&
comment the whole line
• This is a commented line &
• .NOE I 1 X ...
!
comment the end of the line
• .NOE I 1 X ... ! my first point
;
split line
• .NOE I 1 X 1 ; vi ; I 2 X 2
$
continuation line ; to divide a input line greater than 512 characters or to give a better
layout to a bank file
• .NOE I 1 $
X1$
Y1
(..)
expression to evaluate
• .NOE I 1 X (44*32)
Point in column 1
Standard command.
When invoke :
close the previous command,
flush data created/modified/computed
and then....
No point in column 1
Command keyname must start in column 1
....
Cascading INPUT
file.dat file2.dat
INPUT.NOM "file"
…
.NOM (optional) …
…
BACON INPUT "FILE2"
… RETURN
…
INPUT "FILE3" file3.dat
…
… …
…
EXIT …
RETURN CLOSE
Using Abbreviations.
Why ?
We saw that abbreviations are only evaluated when used.
Sometimes it may interesting to evaluate it and to continue the
model with the new value
• ABRE "/myabre" "/a+/b-/c........"
• ABRE "/myabre" " ' '/myabre' "
Single quotes !
' '/myabre'
Sometimes, force evaluation is compulsory
ABRE "/myvalue1" "1.1"
ABRE "/myvalue" "2.2+/myvalue"
.DEL.*
ABRE "/DX" "1.0"
ABRE "/DY" "1.0"
ABRE "/MYABRE" "/DX -3*/DY"
Basic: +, -, *, /, :, **
<problem_name>.spy
Records every action
Driven by MODE M <value>
A model contains
a mesh
a computation strategy
Points
.POI .3PO Surfaces
.PLAN .RULED
.COONS .NURBS
Lines
.DRO .3DR .ARC .3ARC .SPL
.3SPL .ELL .LIM .3LI
Volume Domain .FACE
.VPEAU .DOM .BOX
Line Domain
Surface
.DOM
Domain .DOM
Mesher
.GEN
No blend !
Groups of nodes, elements, faces
There is no way to
select edges of
volumes
<selection>
I - J - K - ! loop on ids
TOUT
ORIENTATION ...
Example
• .SEL GROUP 1 MAILL
BOITE CYLINDER 4 4 RAYON 5
GROUPE 2 NOEUDS
TRANSFORM 1
Group edition
...etc
Keyword
MINDlin 21 22 28 29 8 46 47
VOLUmic 151 22 57 58 8 46 47
<selection>
I-J-K-
ATT -
GROUP –
rod
T28 et T29
.AEL EXCE -
Exce>0
<behaviour>: example
BEHAV "Elastic"
YT - ! Young modulus
NT - ! Poisson ratio
......
Attached to elements
<elements_selection>
• I - J - K - explicit list
• TOUT
• GROUP group_id or GROUP "group_name"
• ATT cells attributes
• ...
<thickness_value>
• one average thickness on the element
or
Exemple
(A) Volume:
default axes =structural axes
(B) Shell
Default axes:
1st axis = edge 1->2 of the element
3rd axis = the normal to the element
2nd axis = cross product of the two above
.CLM/.CLT
.CLM <what> <where> <values>
Values:
Type of loads: VAL - NC -
- pressure (PRESS) VAL - TIME -
- nodal loads (CHA) Support: VAL NF - TIME
- ... NOEUDS
ELEMENTS
FACES
GROUP
Type of boundary conditions: ....
- clamps (FIX)
- prescribed displ. (DEP) Check in the online help
- ... which load an type of
element is able to undergo:
CLM/CLT commands do
Check: VI, LIST, ... not check it !
.AXL I - FRAME -
a simple Elastic material (Young and Poisson's ratio) using the given
abbreviations; attached this material to all the elements
.HYP MINDLIN
.MAT I 1
BEHAV "Elastic"
Yt (/Young)
Nt (/nu)
.SEL GROUP "E_All" MAILLE TOUT
.PHP GROUP "E_All" THICK VAL (/T)
.AEL GROUP "E_All" MAT 1
Use the completed exercice 3 bank file to define the boundary condition:
Define the load: a uniform pressure (see abbreviation) pushing on all the elements
Pay attention to the normal to the shells - toward which a positive pressure
will act- to setup the correct sign of the pressure
.SEL
GROUP "Left" NOEUD boite stru xi 0 yi 0 xs 0 ys /Ly
GROUP "Right" NOEUD boite stru xi /Lx yi 0 xs /Lx ys /Ly
GROUP "Bottom" NOEUD boite stru xi 0 yi 0 xs /Lx ys 0
GROUP "Up" NOEUD boite stru xi 0 yi /Ly xs /Lx ys /Ly
GROUP "Boundary" UNION "Left" "Right" "Bottom" "Up"
Keyboard
Name.sdb
Image
Jpeg, ps
FAC BACON
Excel.csv
Name_xx.des
Name_xx.u18 Bank Files Name.spy
Name_xx.fac
After the computation, the FAC program is launched to create two results files
.DOC DB "<problem_name.sdb>
.DES
• classical structural results
.VIF
• time/frequency results curves
1st loadcase
code 163 reference 4 1
code 163 reference 4 2 2nd loadcase
4 means loadcase
163 means displacements
163 Displacements
By nodes
scalar: temperature, ..
vector: speed, ..
displacements Depending on the run
analysis, a set of default
results code is generated
By elements
scalar: Vonmises, composite criteria, ..
vector: thermal flux, ..
tensor: mean stress/strain tensor, ..
At nodes by elements
scalar: extrapolated Vonmises, ..
tensor: extrapolated stresses/strains, ..
Rough stresses computed at Gauss points),
then a mean value computed at the center of
Rough VonMises computed at Gauss points),
the element, then VonMises criteria
then a mean value computed at the center of
the element
show that mean stress in the middle of the
structure is computed as nearly zero
4 loadcase
8 timestep
Transient analyses
11 Fourier analysis use 'timestep'
instead of
'time' for accessing results
6 vibration
eigenmode
...
For each reloaded code, there is a set of parameters to extract derivated results,
like module of the displacements, amplitude of a vector, criteria on a stress tensor,
...
but it is quite impossible here to describe all of them
ISO 0
ISO 1
DISC 1
DISC 0
MOYENNE
ISO 0
DISC ISO
DISC 0
SCALAR / NODE
SECTION
L3
L4 L2
L1
SECTION
Nearest nodes
SECTION LIGNE 1 2 3 4
(from cad)
LSECTION …
LSECTION …
Projection on shell or
interpolation in the
volume for n points
Operations on codes
a * code_1 + b * code_2
In a model in which several types of elements are mixed (for instance shells &
volumes),
results codes are attached to a reduced list (set) of elements.
<result_code>
example
• .SAI ARCHIVE STRUCTURE STYPE 1411
Model:
square 400mm X 400mm Mindlin shells plate (16 elements on each side)
thickness of 2 mm
ASEF computation
LMS Samtech Division Copyright LMS International - 2013
(Exe7) Post-processing
moyenne
LMS Samtech Division Copyright LMS International - 2013
(Exe7) Post-processing
iso
discont 0; vi
liste desc
11-01-2013
<author> LMS Samtech