Tutorial Mecway
Tutorial Mecway
Contents
Chapter 1
Getting Started 3
1.1 Quick Start, 3
1.2 Basic Operations in the Graphics Area, 4
1.3 Solution, 8
1.4 Manual Meshing, 10
Chapter 2
Analysis Types 16
2.1 Static Analysis of a Pressurized Cylinder, 17
2.2 Thermal Analysis of a Plate being Cooled, 22
2.3 Heat Flow Through a Solid Part, 26
2.4 Thermal Stress, 28
2.5 Free Vibration of a Cantilever Beam, 30
2.6 Dynamic Response of a Crane Frame, 34
2.7 Dynamic Response of a Solid Part, 37
2.8 DC Circuit, 39
2.9 Electrostatic Analysis of a Capacitor, 42
2.10 Acoustic Analysis of an Organ Pipe, 45
2.11 Buckling of a Column, 50
Chapter 3
Operations 54
3.1 Extrude, 54
3.2 Loft, 55
3.3 Refine Local 2D, 56
3.4 Mirror Symmetry, 57
1
3.5 Cyclic Symmetry, 58
3.6 CAD Work-flow, 59
3.7 Local Refinement with CAD Models, 61
3.8 Mixed Materials, 62
3.9 Mixed Materials with CAD Assemblies, 63
3.10 Constraint Equations, 65
3.11 Advanced Manual Meshing, 66
3.12 Assembly with Contact, 77
2
Chapter 1
1
Getting Started
These tutorials assume that you are new to Mecway and indeed may be new to finite element
analysis. Here you will find step by step instructions to get you started using the program. Once you
have learned the basic concepts and operations, you can find more comprehensive information in the
companion ‘Manual’.
Step 2
Click the Quick cube button to create a hexahedron element.
Step 3
Right click the right-most face and click
Loads & constraints then New fixed
support. Click OK in the box that
appears.
Step 4
Drag with the middle mouse button to rotate the model so the opposite face is towards you. If you
don't have a middle mouse button, use the Rotate tool button and the left mouse button.
3
Step 5
Right click the opposite face and click Loads &
constraints then New pressure. Enter the value 5
and press OK.
Step 6
Right click the Default component in the outline tree and click Assign new
material. Choose Isotropic and enter a Young's modulus of 50000.
Press OK.
Step 7
Press solve.
Step 8
Click the von Mises stress field variable in the outline tree.
The color key shows a 5 Pa uniform stress due to the
pressure load.
4
There are three parts to the screen
the toolbars at the top, arranged into model-building tools and the graphics display options.
the model structure and solution displayed in an outline tree in the left panel
a graphics area which displays the mesh
This sample is a beam with a T-shaped end and has already been solved. One end is totally fixed, as
if built into a wall. At the free end, a downwards force is applied at 4 faces. The self-weight of the beam
has been neglected.
Step 2
5
Toggle element edge display.
Step 3
Select nodes
6
Select elements . Drag to see that only elements have been selected.
The Ctrl key has the same effect while selecting faces or elements as it does with selecting nodes.
Step 4
The display of loads and constraints can be
toggled off or on.
Step 5
Click the Z arrowhead of the triad at the bottom right corner of the graphics area to view
the model parallel to the screen.
Step 6
To rotate the view, drag with the middle mouse button (or wheel).
7
To see a small feature more clearly, zoom into that area by placing the mouse over that area (no
clicking required) and rotating the mouse wheel for a larger display of the small feature. Rotating the
mouse wheel the other way will make the model's display become smaller.
If the model's display seems to be half out of the graphics area, you need to pan the model back into
view. Drag it using the right mouse button.
If the model does not fully appear in the graphics area after you have used the zoom, rotate or pan,
use the fit to window tool-button
Step 7
Use the tape measure tool-button to check the lengths. Click a node but continue keeping the
mouse button pressed and move the cursor across to another node. Mecway will give a readout
of that distance.
Step 8
Tools → Volume will give volume of the entire mesh. This tool can be used to obtain the volume of a
selected part of the mesh. The selection can be element nodes, faces or elements.
Similarly the Tool → Surface area will give the area of the selected faces. The selections can only be
element faces.
1.3 Solution
Step 1
This tutorial uses the same file as the previous tutorial. So if it is not already open in Mecway, use the
File → Open, Basic_graphics_tutorial.liml in the tutorials folder where Mecway has been installed.
In the solution section of the outline tree click on displacement → magnitude. The graphics display
will update to show the results of the solved model. The units used in the legend on the display scale
can be changed by clicking on them.
Step 2
Click the Deformed view tool-button to visualize an exaggerated displacement of the structure.
Click the Undeformed shape to superimpose an outline of the undeformed shape onto the
deformed mesh.
8
Step 3
Right click Solution in the outline tree and choose new stress and strain → stress to add the 6
stress components to the solution.
Step 4
Click the table tool-button to display the displacements, rotations and stresses at each node in
spreadsheet-style cells which you can then copy and paste into your own spreadsheet.
Step 5
Use the animation tool-button to animate the deflection. Smooth deformation between the two
extremes of movement is simulated. You can choose the scale factor. This tool is especially useful for
visualizing solutions in vibration analysis.
Step 6
This slider can be used to cut-away the model to look inside it. You will need to
rotate the model suitably so that the cut occurs where you want it. Don't forget to
return to its leftmost position before doing any editing of the mesh.
To return to the model that does not display the results, click any of the items in the outline tree that is
not below Solution.
Now that you have some experience in manipulating the graphics of the model, it’s time to learn how
to create them from scratch. The next section will walk you through the case we have just studied.
9
1.4 Manual Meshing
Always begin a manual mesh by creating a coarse mesh; it can always be refined later. A coarse mesh
simply means larger and fewer elements, and a refined mesh means smaller and more elements.
Creating a coarse mesh requires less labor and, if things go wrong, it will be less frustrating.
Just as in the real world where everything has three dimensions (length, width, height), the
geometrical properties of finite elements are also three dimensional in nature. Some elements will
appear on the screen as being clearly three dimensional elements, while others will appear on the
screen as flat and two dimensional. Nevertheless, the elements that appear flat and two dimensional
do actually have the third dimension, of thickness.
Elements that appear three dimensional on the screen will usually be created from a two dimensional
flat shape, so modeling typically starts with what appears on the screen as a flat two dimensional
mesh. This initial 2D mesh can be created either by a combination of nodes and elements or by using
ready-made template patterns. Editing tools are available for modifying the two dimensional mesh as
you create and form it. Once the coarse mesh is complete, whether it be two dimensional or three
dimensional in appearance, it will need to be refined before running the solver.
Here is a tutorial to illustrate how the manual meshing tools work together to create the model used in
the introductory chapter. We will recreate the T-shaped thick beam used in section 1.2 to illustrate
Mecway's graphics tools. At the end you may wish to use some of the skills you have learned to
modify the length and thickness of the beam to make it more realistic.
Step 1
The analysis type should be Static 3D. If it's not, right click the item, then select
Analysis settings to change the analysis type.
Use the Mesh tools → Create → Node... or and enter the following coordinates.
X 0
Y 0
Z 0
Leave the units as meters (m).
Click the Add button. Repeat for the following coordinates, then click Close.
11,0,0
11,1,0
0,1,0
10
Step 2
Mesh tools → Create → Element... Select and click the four nodes then click
Close. The order of the clicked nodes will affect the orientation of the mesh refinement that will be
done in the next step. In this tutorial, the element is formed using the node order 1-2-3-4.
Step 3
Step 4
11
Click in the open space of the graphics area to deselect the elements.
Step 5
To improve clarity use the show element surfaces tool-button to hide the internal elements.
Select these two faces by clicking one face then holding the Ctrl key while
clicking the second face.
The Ctrl key can be used while selecting items. It works by adding the new items to the currently
selected items, and if the clicked item is already selected it will become deselected.
12
Thickness 3, unit ft
Number of subdivisions 1
Step 6
Step 7
Mechanical tab
Isotropic select
Young's modulus 200, unit GPa
Poisson's ratio 0.3
Step 8
In order for a part to develop stresses, all rigid body motion must be resisted. The left face of this
model will be constrained.
13
Select these faces. Hold the Ctrl key down while clicking to add the faces so that the faces already
selected don't become deselected.
Right click, select New fixed support accept the defaults and click OK
Step 9
14
Step 10
Before you run the solver, check down the outline tree to make sure there are no warnings in red.
You may now wish to explore Mecway's mesh-modifying tools, for instance by scaling the length, width
and thickness of the beam using Mesh tools → Scale... or changing the applied load and/or elastic
constants by right clicking to edit the appropriate item in the outline tree.
The next chapter is a step-by-step walk through for some of the various analysis types that can be
modeled in Mecway.
15
Chapter 2
2
Analysis Types
While the typical user does not need an in-depth study of the mathematics behind finite element
analysis, you do need to understand the behavior of elements in order to represent a given physical
problem correctly.
Finite element analysis is not like CAD (computer aided design) software where you simply create a
geometry and take a print-out. Instead, it follows the law of 'Garbage in, Garbage out'. Your choice of
element type, mesh layout and constraints will strongly affect the accuracy of the solution.
We recommend to beginners that you confine your models to text-book problems with known solutions
rather than attempting real world problems with unverifiable solutions. When you get to the point
where you're solving real world problems, never accept the results at face value. Rather, validate them
by comparing the results to hand calculations, experimental observations or knowledge from past
experience.
This chapter contains tutorials to initiate you into using Mecway's basic analysis capabilities. Some of
the more specific features like cyclic symmetry and constraint equations are described in Chapter 3 -
Operations.
Not all types of elements can be used for all types of analysis. The Manual lists
the elements that are available for use in each type of analysis. When creating
elements, if you see an N/A ('not applicable') next to the type of element, it
means it can't be used to solve that type of analysis. However, you can use non-
applicable elements as construction tools provided you change them using Mesh
tools → Change element shape... , or delete them before solving.
The outline tree presents all the information you need about your model and
allows you to perform various actions on the model itself. You will always
begin at the top, changing the analysis type if you do not want the default,
3D static analysis.
Items that appear in red indicate missing or erroneous information, so right
click them for a What's wrong? clue.
The constraints and loads that you apply will be listed in the Loads & Constraints section. After
solving the model the field values will be listed below Solution.
16
2.1 Static Analysis of a Pressurized Cylinder
A cylinder of 2m radius, 10m length, 0.2m thickness, Young's modulus 200 GPa and Poisson ratio
0.285 will be analyzed to determine its hoop stress caused by an internal pressure of 100N/m2.
From shell theory, the circumferential or hoop stress for a thin cylinder of constant radius and uniform
internal pressure is given by :
σ = (pressure × radius) / thickness
σ = (100 × 2) / 0.2
σ = 1000 N/m2
Step 1
Step 2
Step 3
17
modeled.
Step 4
Mechanical tab
select Isotropic
Young's modulus 200E9 Pa
Poisson's ratio 0.285
Step 5
Right click the X arrowhead to view the YZ plane parallel to the screen.
Activate select faces, activate show element surfaces, and activate show shell thickness
Because of the mirror symmetry only one quadrant of the cylinder has been modeled. At the planes of
mirror symmetry, the nodes must be constrained so that they do not move out of the plane. Also, no
bending must occur in that plane of symmetry.
18
Right click, New displacement and select the X option.
Right click the Y arrowhead to view the ZX plane parallel to the screen.
To enforce mirror symmetry at the edge in the ZX plane, drag to select the thickness
of the shell.
Right click the Z arrowhead to view the XY plane parallel to the screen.
To eliminate rigid body translation motion along the Z axis drag to select the
shell thickness in the XY plane.
19
Step 6
Step 7
The results are listed in the outline tree below Solution. Click von Mises stress. to view the hoop
stress.
The first thing to check is the deformation. Errors in the applied constraints or loads can show up in
the deformation shape.
Click the Undeformed shape tool-button to superimpose the undeformed geometry onto the
deformed geometry.
20
pressure has been correctly applied.
21
2.2 Thermal Analysis of a Plate being Cooled
A plate of cross-section thickness 0.1m at an initial temperature of 250°C is suddenly immersed in an
oil bath of temperature 50°C. The material has a thermal conductivity of 204W/m/°C, heat transfer
coefficient of 80W/m2/°C, density 2707 kg/m3 and a specific heat of 896 J/kg/°C. It is required to
determine the time taken for the slab to cool to a temperature of 200*C.
For Biot numbers less than 0.1, the temperature anywhere in the cross-section will be the same with
time. A quick calculation shows that this is true.
Bi = hL/k = (80)(0.1)/(204) = 0.0392
The 4 node quadrilateral element interpolates temperature linearly, and is able to represent unsteady
states of heat transfer so this element will be selected for the model.
We need to have a rough estimate of the time required to reach a temperature of 200*C. In this case,
from classical heat transfer theory the following lumped analysis heat transfer formula can be used.
(T(t)-Ta)/(To-Ta) = e-(mt)
Ta = temperature of oil bath
To = initial temperature
where m = h/ ρ Cp(L/2)
h = heat transfer coefficient
ρ = density
Cp = specific heat
L = thickness
m = 80/[(2707)(896)(0.1/2)]
m = 1/1515.92 s-1
(200 - 50) / (250 - 50) = e(-t/1515.92)
t = ln (4) X 1515.92
t = 436 s
Step 1
A slider is displayed to show the duration of the analysis, which in this case is 450 seconds. It will be
utilized when viewing the results.
22
Step 2
X 0
Y 0
Z 0
If you don't see the node make sure you've activated the node select mode
Step 3
Mesh tools → Create → Element... Select and click the four nodes.
The order of nodes will affect the way the element gets subdivided in a following step.
So, to keep the order the same, start at the lower left corner and go counter-
clockwise.
23
Step 4
Right click, select Assign new material
Geometric tab
Shell/membrane select
Thickness 1m
Density tab
Density 2707 kg/m3
Thermal tab
Isotropic select
Thermal conductivity 204 W/m/K
Specific heat 896 J/kg/K
Step 5
Step 6
Convective heat transfer takes place along the surface of the entire plate. For the FE
model, this will be the left and right edges. Click and drag the mouse over the left edge so
that the edge faces become selected. Hold the Ctrl key down and repeat it for the right
edge.
24
Right click then select New convection
Step 7
Right click and select New temperature. Ensure °C is selected then type 250 in the
text-box.
Step 8
Click to solve the model. The results are listed in the outline tree below Solution.
Click
25
If you click a node the temperature profile of that node will be displayed in the timeline.
For transient thermal models if your results show a strange oscillation of temperatures every other
time-step, use a smaller time-step value and refine the mesh further.
2.3 Heat Flow Through a Solid Part
Step 1
Open TransientThermalTutorial.liml from the tutorials folder where
Mecway has been installed.
Step 2
26
Step 3
Thermal tab
Isotropic
Thermal conductivity 200 W/m/K
Specific heat 890 J/kg/K
Step 4
Right click the arrowhead of the Y-axis to display the model parallel
to the screen.
27
Step 5
We will now fix the temperature at the internal diameter to 120 for the entire analysis.
Step 6
Step 7
Solve
Select any of the results listed below solution.
Drag the slider on the timeline to display the results at the various time steps. Select a node to display
a graph of its temperature.
2.4 Thermal Stress
Step 1
Start a new model. File → New
Double click Analysis in the outline tree and select Thermal Steady State then press OK.
Step 2
28
constraints → New temperature
Enter the value 100. This constrains the temperature of that face to 100°C.
Step 4
Right click another face and select Loads & constraints → New
convection
Ambient temperature 20
Heat transfer coefficient 400
Step 5
Right click the component Default <1 elements> in the outline tree and choose Assign new
material.
Select Isotropic and enter a Thermal conductivity of 40. This is 40W/(m.K).
Step 6
Solve.
Click Temperature under the Solution branch of the outline tree.
Notice that some nodes have an unrealistic temperature lower than
the 20°C ambient. This is because of the extremely coarse mesh.
In a practical problem, you would refine the mesh to improve
accuracy.
Step 7
Step 8
Right click Loads & constraints and select Transfer temperatures from
solution
Step 9
Right click Loads & constraints and select New thermal stress
Reference temperature 20
29
The reference temperature is the initial temperature of the nodes that are now at the temperatures
which were transferred from the thermal analysis solution.
Step 10
Mechanical tab
Isotropic
Young's modulus 200E09
Thermal expansion coefficient 11E-06
Density tab
Density 7800
Step 11
Right click any face and choose Loads & constraints → New fixed
support
Step 12
Solve
The solution now shows the cube deformed by thermal expansion.
A cantilever beam of length 1.2m, cross-section 0.2m × 0.05m, Young's modulus 200×109 Pa, Poisson
ratio 0.3 and density 7860 kg/m3. The lowest natural frequency of this beam is required to be
determined.
For thin beams, the following analytical equation is used to calculate the first natural frequency :
f = (3.52/2π)[(k / 3 × M)]1/2
f = frequency
M = mass
M = density × volume
M = 7860 × 1.2 × 0.05 × 0.2
M = 94.32 kg
k = spring stiffness
k = 3×E×I / L3
30
I = moment of inertia of the cross-section.
E = Young's modulus
L = beam length
I = (1/12)(bh3)
I = (1/12) (0.2 × 0.053)
I = 2.083×10-6 m4
k = (3 × 200×109 × 2.083×10-6) / 1.23
k = 723.379×103 N/m
Step 1
Step 2
Mesh tools → Create → Node...
X 0
Y 0
Z 0
If you don't see the node make sure you've in the node select mode
31
Add more nodes using the following coordinates, all with units of m.
(1.2,0,0)
(1.2,0.05,0)
(0,0.05,0)
Step 3
Mesh tools → Create → Element... Select and click the four nodes. The order of
the clicked nodes will affect the orientation of the mesh refinement that will be done in the next step. In
this tutorial the element is formed using the node order 1,2,3,4.
Step 4
Mechanical tab
Isotropic select
Young's modulus 200 GPa
Poisson's ratio 0.3
Density tab
Density 7860 kg/m3
Step 5
32
Step 6
Elements with mid-side nodes (quadratic) are more accurate in bending problems. The four node
quadrilaterals will be changed into eight node quadrilaterals using Mesh tools → Change element
shape..., select quad8
Step 7
Step 8
The results are listed in the outline tree below Solution. Click
Click the animation tool-button to view the mode shape. For this problem, the lowest mode shape
is expected to vibrate back and forth in bending.
33
modeled by modal vibration analysis.
The frequency for the lowest mode matches the hand calculation result of 28.32 Hz
A dynamic response analysis is difficult to estimate values for by simple hand calculations. This tutorial
will simply illustrate the dynamic response analysis work-flow of a crane's truss framework.
Step 1
Step 2
Click OK twice then click the Z arrowhead to view the XY plane parallel to the screen.
34
Activate select elements
Step 3
Step 4
Mesh tools → Create → Element... Select line2 and click the
nodes to form the pattern shown.
Step 5
Mechanical tab
Isotropic select
Young's modulus 20E09, unit Pa
Poisson's ratio 0.3
Density tab
Density 7860, unit kg/m3
Click OK.
Step 6
Select these two nodes. Hold the Ctrl key down while selecting the
second node so as not to deselect the first node.
35
Right click then select New displacement, select Y and click OK.
Right click then select New displacement, select X and click OK.
Step 7
Step 10
The results are listed in the outline tree below Solution. Click one of them to display it.
Click the play/pause button in the timeline to view the dynamic response of the structure. Click
Solution → Deformed view to deform the structure while it's animated.
36
2.7 Dynamic Response of a Solid Part
Step 1
Open DynamicResponseTutorial.liml from the tutorials folder where Mecway
has been installed.
Step 2
Step 3
An applied force will ramp up linearly from 0 to a maximum 500 N then down to 0. At each time step
Mecway will determine the force by interpolating between the specified values.
37
Step 4
Step 5
Solve
Select any of the results below the Solution group in the outline tree.
38
2.8 DC Circuit
The following circuit will be solved for the voltage drop across the resistances, and the currents.
Step 1
Step 2
Click the New element tool and click in the graphics area to form
the following three line elements. For the 2nd and 3rd elements, be
careful to click on existing nodes so they are linked together.
Step 3
As each element has a different resistance, they need to be separate components.
39
Right click on the selected element and select Add elements to new
component
Right click on the new component and
select Assign new material.
Electric tab
Resistor select
Resistance 40 Ω
Electric tab
Resistor select
Resistance 50 Ω
As there is only one element left in the Default under Components & Materials, right click to Assign
a new material.
Electric tab
Resistor select
Resistance 60
Step 4
40
Right click on this selected node then select Loads &
constraints → New electric potential. Select units V then type
12 in the text-box.
Step 5
Electric potential results are listed in the outline tree. To add current, right click Solution and choose
New electric → current.
For the currents, read the element values instead of the node averaged value. Nodal averaging can be
misleading, for example the -0.2A in the 60Ω resistor averaged with the 0.1333A in the 40ohm resistor
gives a non-existent 0.03333A.
41
2.9 Electrostatic Analysis of a Capacitor
The electric field in a simple two plate capacitor will be modeled. The plates are 0.005 m apart with air
in between, and a potential difference of 1.5V.
Step 1
Step 2
42
Step 3
In this tutorial the area between the two plates of the capacitor will be defined using two node line
elements, and then the 2D automesher will then be used to fill the region with quadrilateral or triangle
elements.
Mesh tools → Create → Element... Select and click the four nodes to form the area
between the two plates.
Step 4
Step 5
Electric tab
Isotropic select
Relative permittivity 1
43
Step 6
Step 7
Some results are listed in the outline tree. Right click Solution and choose New electric → electric
field. Then click the new electric field branch of the outline tree to display the field. It matches the
expected value of 300 V/m.
44
2.10 Acoustic Analysis of an Organ Pipe
We will predict the musical note produced by an 8 ft long 'open wood' organ pipe. An actual pipe would
be rectangular in section, but here we make only a 2D model. The pipe will be 120 mm wide with a 30
mm mouth at one end where air is blown in, and an opening at the other end for the air to exit. The
wood is 10 mm thick.
In acoustic analysis the air within the pipe needs to be meshed and not the pipe itself. The mesh
needs to include a large volume of the air in the room outside the pipe which is connected to the
mouth and the open end. This scheme allows Mecway to model leakages and openings. We are
interested only in the resonant modes of the organ pipe, but Mecway will also predict resonances in
the air outside. An important part of this case study, therefore, is to show how some understanding of
the physics is required in order to interpret the results and identify the appropriate modes.
A rough calculation will be made for the expected frequency.
An end correction factor must be added to the length of the pipe. This correction factor is equal to the
width of the pipe. So the effective length of the pipe is 2.4384 m + 0.12 m = 2.5584 m
When 1/2 a wavelength fits into the pipe it will be of wavelength λ = 2 × 2.5584 m = 5.1168 m
The speed of sound in air at 15°C is 340 m/s, so the expected frequency will be f=v/λ = 340/5.1168 =
66.45 Hz.
Step 1
To ascertain the fundamental pitch we need to examine the results for a number of pitches. We will
also look at harmonics.
Step 2
Click Quick square to create a quad4 element.
45
Click the Z arrowhead to orient the XY plane parallel to the screen.
Step 3
Drag to select the two right-most nodes then use Mesh tools → Node coordinates and change their
X coordinates:
X 10 m
Y (blank)
Z0
Use Edit → Select nodes by formula and enter
0 < y
then click Apply and Close to select the two top-most nodes. Use Mesh tools → Node coordinates
again to change their Y coordinates:
X (blank)
Y2m
Z0
Press Fit to window so you can still see the whole mesh.
Step 4
Click a blank place in the graphics area to clear the selection.
Click Refine x2 three times.
Step 5
Change to Select elements mode and select the elements shown then delete them by pressing the
del key. To select the large regions, drag the mouse. Hold the ctrl key to add elements to the
selection.
46
Step 6
Use Mesh tools → Move/copy... and enter an X displacement of -2.5 m.
Press Fit to window so you can still see the whole mesh.
Step 7
Here we'll set the length of the pipe and width of the mouth.
Change to Select nodes mode
Select the 4 nodes shown then right click one of them
and choose Node coordinates. Specify X as 8 ft and
press OK.
Step 8
Here we'll set the pipe's width and wall thickness.
Select the 4 nodes shown then right click one of them
and choose Node coordinates. Specify Y as 620 mm
and press OK.
47
Select the 4 nodes shown then right click one of them
and choose Node coordinates. Specify Y as 490 mm
and press OK.
Step 9
Select these 8 room air nodes to the left of the pipe and
use Mesh tools → Scale... with an X factor of 0.5. Then
click a blank space in the graphics area to clear the
selection.
Step 10
Generate a finer mesh using Mesh tools → Automesh 2D...
Max. element size: 200 mm
Quad dominant: checked
Step 11
Right click the Default component and select Assign new material
Mechanical tab
Isotropic select
Speed of sound 340
Step 12
48
Similarly Mode 8 at 131 Hz has an almost constant pressure in the room and high, variable pressure
in the pipe. This is the first harmonic at twice the frequency of mode 4, sounding one octave higher. A
full wavelength fits inside the pipe.
49
2.11 Buckling of a Column
The eigenvalue buckling of a column with a fixed end will be solved. The column has a length of
100mm, a square cross-section of 10mm and Young's modulus 200000 N/mm2 .
The critical load for a fixed end Euler column is π2EI/(4L2)
E = Young's modulus
I = moment of inertia
I = 104/12 = 833.33mm4
L = length
Step 1
Step 2
Mesh tools → Create → Node...
X 0
Y 0
Z 0
If you don't see the node, make sure you've activated the node select mode
50
Step 3
Step 4
Right click, select Assign new material
Geometric tab
General section select
2nd moment of area about W 833.33 mm4
Cross sectional area 100 mm2
Mechanical tab
Isotropic select
Young's modulus 200000 MPa
Step 5
Mesh tools → Refine → x2 or four times.
Step 6
Select this node then right click and select New force. In
the Y box, select unit N and type -1.
51
Step 7
Select the node at the bottom then change to face selection mode
Now the bottom end face is selected.
Right click and select New fixed support
Step 8
As the load used for the model was 1N, the load
at failure is 1 × 41123.27 = 41123.27 N, which
approximately matches the hand calculated
value of 41123.19.
That concludes our overview of the types of analysis which Mecway can carry out. Bear in mind that
mechanical analysis can generally be done using orthotropic materials such as wood or carbon fiber
composites, as well as the more familiar isotropic materials.
52
53
Chapter 3
3
Operations
3.1 Extrude
Step 1
Open ExtrudeTutorial.liml from the tutorials folder where
Mecway has been installed.
Step 2
Step 3
Mesh tools → Extrude...
Thickness 5m
Number of subdivisions 3
Direction +Z
54
Step 4
The extrusion step turned off Select faces so
reactivate it again.
Select the faces at the bottom.
3.2 Loft
Step 1
Open LoftTutorial.liml from the tutorials folder where Mecway has
been installed.
Step 2
Display node and element numbers.
Note down the node numbers of any two corresponding nodes on
each profile. In this example the bottom corner node numbers are 12
and 135.
55
Step 3
Step 4
Mesh tools → Loft...
Number of subdivisions 4
A node in selected faces 135
The corresponding node 12
Step 1
Open RefineLocal2dTutorial.liml from the tutorials folder where Mecway has been installed.
Step 2
Drag the mouse to select the nodes shown below. Don't worry if you selected a few extra nodes, this is
only an illustration.
56
Step 3
57
Step 2
The quarter segment's vertical plane of symmetry is the XY plane and its
horizontal plane of symmetry is the ZX plane. Its axis of revolution is the X-axis.
While still in Select nodes mode, select the nodes lying in the horizontal
plane of symmetry. Constraints need to be applied to keep these nodes from
moving out of the ZX plane or rotating about any axis lying in that plane.
Right click on the selected nodes
Loads & constraints → New displacement and select the Y option.
58
Step 1
Open CyclicSymmetryTutorial.liml from the tutorials folder where Mecway has
been installed.
Step 2
Hold the Ctrl key down and select these 12 nodes with the
mouse.
Right click on one of the selected nodes and select Add nodes to new named selection.
Hold the Ctrl key down and select these nodes with the
mouse.
Right click on one of the selected nodes and select Add nodes to new named selection.
Step 3
Right click Loads & Constraints and select New cyclic symmetry.
Step 4
Click Solve then click on some of the modes to see that the solution has expanded the model to a
complete ring and that it includes mode shapes which are not cyclically symmetric as well as those
that are.
3.6 CAD Work-flow
Step 1
Use File → Open or right click and select Import STEP file
Open the file CadWorkflowTutorial.stp from the tutorials folder where Mecway has been installed.
Drag anywhere in the graphics area using the middle mouse button to rotate it so the faces are
distinct.
59
Step 2
Right click the file name and select Generate Mesh
Step 3
Right click the component and select Assign new
material. In the Mechanical tab select Isotropic then
type 200E09 in the text box for Young's modulus
Step 4
Click the file name to return to the geometry view then right click a surface and select Loads &
constraints then New fixed support.
Step 5
Use the middle mouse button to rotate the
model, then right click the inclined surface and
select Loads & constraints, then select
Pressure. Type 1000 to apply a pressure to the
selected surface.
60
Step 6
Click Components & Materials in the outline tree to switch to the
mesh view. Click Show element surfaces to give a clearer view.
Step 7
Step 2
Right click the filename and select Generate mesh
Step 3
Right click a node and choose New point refinement then press OK to accept the default values.
61
Step 4
Right click the filename and select Generate mesh
Click Refine
Step 4
Right click the Default component in the outline tree and
select Assign new material. Choose Isotropic and
enter:
Young's modulus 200e9
Poisson's ratio 0.3
Click OK
Step 5
62
Step 6
Right click one of the selected elements and choose
Add elements to new component. The newly created
Material(2) is a duplicate of the first material but you can
change its properties independently.
Step 7
Click on an empty space in the graphics area to clear the
selection then click Show element surfaces . Notice
that each material's component has a different color so
you can easily distinguish them.
63
Step 3
Use the middle mouse button to rotate the geometry and find the thin surface of the plate adjacent to
the cylinder. Click this surface to select it. Right click bonded contact in the outline tree and click
Edit. Set Slave faces to <1 selected geometry surface> and click OK.
Step 4
Right click Geometry in the outline tree and click Generate all meshes.
Step 5
Click the Geometry branch of the outline
tree to return to the geometry view. Right
click the circular end of the cylinder and click
Loads & constraints → New fixed
support. Click OK.
Step 6
Right click the large surface of the plate and click
Loads & constraints → New force. Specify a Y
component of -100 lbf. Click OK.
Step 7
Right click the plate <### elements linked>
component in the outline tree, click Assign new
material and specify the following data:
Isotropic
Young's modulus: 70 GPa
Poisson's ratio: 0.35
Press OK and repeat for the cylinder <### elements linked> component and the following material
data:
Isotropic
Young's modulus: 210 GPa
Poisson's ratio: 0.3
Step 8
64
Click solve .
Step 9
Click the Displacement Magnitude field variable then the Animate button to show the deformation
caused by the load.
Step 2
Step 3
Right click Loads & Constraints and select New constraint equation
65
Coefficient -1
DOF Displacement in X
Node 36
Click OK
1 ux201 - 1 ux36 = 0
Click OK to save it, then create two more constraint equations in the same way – one with
Displacement in Y and one with Displacement in Z.
Step 4
Right click this node and select Loads & constraints → New force
Apply to <Selected nodes>
X 100
Step 5
The two nodes have the same displacement as if they are connected by a rigid, non-rotating bar.
66
Step 2
Mesh tools → Create → Node...
Next node's coordinates:
X 12
Y 0
Z 0
Click the Add button
Change Y to 100 click Add
change X to -12 click Add
change Y to 0 click Add
click Close
Step 3
Mesh tools → Create → Curve generator...
D1 16
D2 16
Click OK to exit the ellipse dialog but don't exit the curve generator dialog just yet.
Change the Y = 8*sin(p) into Y= 25 +8*sin(p). This will move the circle up by 25 where
we would like it to be positioned. Change the Number of elements to 12. Click OK to
exit the curve generator dialog.
67
Step 4
D1 16
D2 16
Click OK to exit the ellipse dialog but don't exit the curve generator dialog.
Change the Y = 8*sin(p) into Y= 75 +8*sin(p), this will move the circle up by 75 where
we would like it to be positioned. Change the Number of elements to 12. Click OK to
exit the curve generator dialog.
Step 5
You will be meshing this with the 2D automesher. But before doing so, you have to delete duplicate
nodes created during the meshing operations using Mesh tools → Merge nearby nodes with a
Distance tolerance of 0.001. Note the change in node numbers in the status bar after this command
has been run.
68
Step 6
Select these nodes. Right click on the selected nodes and choose Node coordinates and
enter 25 for the X coordinate.
Select these nodes. Right click on the selected nodes and choose Node coordinates and
enter -25 for the X coordinate.
The hexagon edge length has now been restored to 50. It had to be
widened because those two faces will be rotated by 30 degrees later.
Step 7
Activate select nodes
Select the following nodes and press the delete key. This is to prepare for
the slot that will be done at a later step.
69
Select these nodes then right click on one of the selected nodes and choose Node coordinates and
enter 93 for the Y coordinate.
Likewise, select these nodes then right click on one of the selected nodes and choose
Node coordinates and enter 7 for the Y coordinate.
Select these nodes. Hold the Ctrl key while selecting them. Right click on one of the
selected nodes and choose Node coordinates and enter -5 for the X coordinate.
Select these nodes. Hold the Ctrl key while selecting them. Right click
on one of the selected nodes and choose Node coordinates and enter
5 for the X coordinate.
Step 8
70
Mesh tools → Create → Element...
quad4 shell
Step 9
Activate select faces
Step 10
71
Select the entire mesh, Mesh tools → Move/copy...
Z 20
Step 11
We will be using this co-ordinate information to rotate the right hand face.
Step 12
72
We will be using this co-ordinate information to rotate the left hand face.
Step 13
Cylinder select
Center
X 0
Y 0
Z 0
Radius 20
Axis
Y select
73
Step 14
With the newly created elements selected, repeat the Mesh tools →
Rotate/copy... with the same parameters and just click Apply.
Once again with the newly created elements that are selected, repeat the
Mesh tools → Rotate/copy...
74
Do it again with the newly created elements that are selected. Repeat the Mesh tools →
Rotate/copy...
That completes the hexagonal shape. Now use the Mesh tools → Merge nearby nodes with a
Distance tolerance of 0.01 to eliminate duplicate nodes created during the meshing operations. Note
the change in node numbers in the status bar.
Step 15
75
Click the Z arrowhead to view the model parallel to the screen.
Step 16
Select the elements where the slots are to be and press the delete
key.
76
Step 17
Similarly, rotate the model and select the elements where the slots are
to be and press the delete key.
Step 18
As this is a coarse mesh use the Mesh tools → Refine → x2 to refine the mesh further.
77
not reliable as an initial constraint and can leave some parts unconstrained or otherwise prevent the
first time step from converging.
We will look at a model of a three-point bending test that fails and try various adjustments until it
solves.
Step 1
Open AssemblyWithContact.liml from the tutorials folder where Mecway has been installed.
Step 2
Solving the Naive configuration. The solver fails with the message
*ERROR: too many cutbacks best solution and residuals are in the frd file
Step 3
Make sure the problem is caused by rigid body motion and that the contact is otherwise working
correctly. We do this by adding a Fixed support to each free part. Try this by solving the
Fixed_support configuration.
78
It solves quickly and the sample bends into the expected shape. The deformed shape looks strange at
first because it’s exaggerated due to the high deformation scale factor and low displacement
magnitude. This is not the correct solution because of the artificial fixed support but it shows that the
failure was likely due to lack of constraints.
Step 4
A failure at the first step is physically reasonable because the contacting surfaces are frictionless so
the sample is free to slide out of place. We correct this by adding friction to constrain it. Try this by
solving the Friction configuration.
Unfortunately, friction is not sufficient because the sample and/or loading pin are not being properly
constrained by the contacts. You can to see this in the non-converged solution. If displacements are
too high, set a suitable deformation scale factor in Solution → Deformed view settings.
79
Step 5
We next add Elastic support to the sample and loading pin to weakly constrain them. The elastic
support's stiffness should be low enough that it won't significantly interfere with the model but high
enough to prevent extreme displacements. Try this by solving the Elastic_support configuration. It still
fails.
Step 6
A final way to help it converge is by starting with a smaller initial force. This is easy to accomplish
without affecting the final force by ramping it quadratically (Fy = -1000 × t2) instead of linearly (Fy = -
1000 × t). Try this by solving the Quadratic_ramp configuration.
Now it solves successfully. Notice that the displacement is symmetric despite the unsymmetrical
locations of the elastic supports. That indicates they are weak enough not to have an obvious effect on
80
the solution. To measure this more accurately we should check that the external forces at the elastic
supports are negligible. Unfortunately, external force is not available with elastic support so you would
need to replace it with fixed support connected to the model through elements with a low stiffness
material.
That concludes this Tutorials guide. Hopefully you will now be quite familiar with Mecway, and have
confidence to modify the examples above and build your own models from scratch. For more detailed
information and samples, see the companion Manual.
81