CFAC Solidworks Learning
CFAC Solidworks Learning
CFAC Solidworks Learning
Ferreira
1/10/2018
I don’t claim to have made everything here (but mostly it was me). Because this is for personal use
only and not for sale, and to save time, I didn’t reference any original author, when/if applicable.
Also, this is a random collection of personal notes I take when I learn something FEA/Solidworks-
related, so do not expect to understand what is here. It is written in very colloquial language.
General Tips
Being faster
Watch some Starcraft 1 or 2 pro players and get inspired to be as fast for Solidworks (whenever
speed is the bottleneck).
Quick Go to commands
Put a single key to go to the help bar and switch to commands, like this:
This eliminates the need to memorize where everything is, and mouse movement.
Selection
Select things by left dragging the mouse (just like pro RTS players do to select units/buildings)
instead of clicking.
Action
Suggestion for mouse gestures
Left-side: add “real” things
Right-side: remove things (trim) or add imaginary (centreline) or ideal things (circle)
Quick feature
Click on feature first (even before making the sketch). This reduces the number of clicks (no need to
click to make a sketch).
Quick sketch exiting
-10 mm (y)
centroid origin
Normal to viewing
When you want to the normal view to a surface, but when you do that Solidworks flips the part, use
this trick: First select the face to be normal to, then select a perpendicular face to be like the top
plane. Then do Normal to (use keyboard shortcut, eg. Alt+1).
CAD, Modelling
Sketching
Another Way to Sketch
- It’s easier to change things we understand;
- It’s easier to understand things that we know the reasoning behind
- It may be easier to understand a part if there are fewer sketches for the same features
For these reasons
This information that was not used can be used later for reference to other features.
Clicking inside an area or on the contour has different behaviour.
Dynamic Mirror
Make a centreline then use dynamic mirror. As you sketch in one side of a centreline it
automatically draws on the other side.
Polyline and Line
If you LM click and release you’ll create a polyline (another one will start when you click to finish
one line) (polyline = multiple line segments). If you click, hold and drag the mouse you’ll create a
single line.
Copy sketch geometry
Ctrl + drag copies things in sketches just like in assembly.
Making splines with centerlines
With and without centerlines. By using center lines it allows you to fine-tune certain parameters
(see below).
Merging line
To merge these 2 lines you must give them the relation of collinear then select the point and delete.
Quick create plane
Strange surfaces
Remote Control
To achieve this result make 4 sketches, each with a 1/4 of the solid.
To make sure the sketches agree with each other make the lines at the ends vertical/horizontal like
this:
Using “Freeform”
Helicopter Front
Create plane for face to sweep
How would you create a plane on the top of the helix to make a sweep?
Select the point and select the edge. Remember that a plane can be defined by a line and a point
(external to that line).
In this case the engineer is making a cut to give the bottom appearance of a coca-cola bottle. But to
make the sketch that he will use to make the cut he needs an inclined plane.
You do it the same way. Sketch a line, give it the desired angle and size, and then create a plane at
the end of the line.
Projected Curve
Imagine the road of a mountain. It climbs steadily when viewed from the front.
Front view
What if you wanted to get the 3D version of it? Then use the “project curve” which combines 2
sketches on different planes.
Loft Guiding Curves
There can also be several guiding curves. In the example below the 4 sketches will guide the loft for
this bottle from the top sketch to the bottom.
Split Line
Dimension
To give relationship between plane and a line. First select the two things you want to distance
between themselves. Then dimension.
First we select the plane. Then the line. Then we give an angle between the two.
Assembly
It’s possible to mate planes and axis and points of parts inside assemblies. In this case we’re mating
the top plane with the axis of a feature.
If you have an assembly which contains a sub assembly. Now this sub assembly has moving parts
and you want them to move when inserted in the assembly. By default you won’t be able to because
the sub assembly will be set as a rigid body. To fix this right click on the sub assembly, inside the
assembly, go to “Component Properties” and put “Solve as flexible”.
Isolate
Use “Isolate” if you’re working with just a few parts of the assembly, for example to create a sketch
of mates that only involve them
Creating New Part Inside Assembly
What if you want to create a new part that depends on the assembly? That is you need the assembly
to create that part. In that case
CAE, Simulation
General
Imagine how stuff will deform and where the critical parts will be.
Pre-simulation
Pre-simulations are quick, draft simulations you do to get some results asap. The mesh is coarse and
not much attention is paid to its quality. You do things approximately. The point is to get some
quick results so we know the general direction of where the simulation may be going. This can also
help acknowledge important considerations for further pre-simulations and simulations.
Stress concentrations and singularities
In cases where there are straight corners, there are often singularities. However these don’t
correspond to the reality because no corner in the real world is perfectly straight.
Applying mesh control to the edge in question, and locally reducing the element size, we see the
stress progressively increases.
167.9 MPa
282.9 MPa
91.2 MPa
425.7 MPa
To fix this, add a small realistic fillet/chamfer that the part would have in reality.
Symmetry
My assembly is roughly symmetric.
We create an assembly sketch which we will use to cut the rest of the assembly like this:
We can create the sketch in any of the planes as we will tell the extruded cut to cut both ways
anyway.
The force you put in an area will be also be put in the other invisible symmetric areas, so let’s say
that if the total force is 4N over the whole assembly then you need to put 1N on the cut part.
Mesh
Running mesh convergence tests / mesh sensitivity tests
When possible, start with a draft coarse mesh, to get an idea where main stresses will occur, how it
will deform, to confirm your imagination of what would happen (pre-simulation).
You just refine the mesh and compare the results. The stress will reach an asymptotic value.
Compare the results for difference mesh densities to the asymptotic value to gauge convergence.
For general purposes, this works fine. However, note that stresses do not converge "smooth", but
rather in a sawtooth-like fashion. This is in contrast to displacements, which do converge
"smoothly". Just something to be aware of if the data doesn't show a nice smooth convergence
curve.
If you notice the stress/displacement doesn’t change significantly when you change the mesh quality
then it’s very likely the problem is mesh insensitive, which is awesome, because it means you can
get accurate results with a coarse mesh.
Elements through plate thickness
Typically, it is recommnended to have at least 3 elements through the thickness of a plate.
Plate thickness: 4 mm
Max element size: 4 mm (1 element across thickness), 2 mm (2 elements across thickness), 1.3333
mm (3 elements across thickness).
Elements’ Aspect Ratio
Figure: The Jacobian is a measure of the curvature of the edge and distortion at the mid-side node.
Figure: This is an example of a 2-D representation of an element with a Negative Jacobian ratio.
The curvature of the geometry that the element was trying to map was too great for the size of the
element, causing the edge to collapse in on itself creating a negative jacobain ratio. This will cause
the solver to fail.
As with the first order elements and the aspect ratio, the jacobian ratio of a perfect tetrahedral
element with linear edges is 1.0. The jacobian ratio of an element increases as the curvature of the
edges increase and are calculated at the selected number of Gaussian Points for each tetrahedral
element. In general, elements with a jacobian ratio less than 40 but not negative are acceptable.
You can also create a Mesh Check Plot similar to the Aspect ratio check in SolidWorks.
Figure: The Jacobian check plot shows that the only areas where there are elements with a non-unity
Jacobian value are areas where there is actual curvature of the geometry. Here the maximum value
of the Jacobian is 1.095, and there is no need to further refine the mesh.
The first unknown in linear static FEA that is solved is the displacement of each node. Based on
this, the stresses and strains are calculated. The stress values at nodes in an FEA study are
calculated at Gauss, or Quadrature points in the element, and then averaged with the stress values
from the surrounding elements. While the displacements are solved explicitly at the nodes, the
stresses are an averaged value and if there are insufficient stress values present in an area, the stress
value averaged at the node can be inaccurate. Calculations are first made for the nodes and then for
stresses, which are averaged between themselves. That makes sense within a part or material, but
not between materials or parts.
Standard Mesh vs Curvature vs Blended Meshes
Automatic transition automatically applies mesh controls to small features, details, holes, and fillets.
Uncheck Automatic transition before meshing large models with many small features and details to
avoid generating a very large number of elements unnecessarily.
Blended takes a bit longer, but results in a better mesh (elements are more regular, with lower aspect
ratio) and lower number of elements.
A good mesh will put the elements in the regions of geometry change as they tend to be stress
concentrators, and thus have higher stresses, and so that’s where the part will tend to break first.
Imagine we see that the displacements in the “mouth” are ok and we wanted to focus on the
displacements on the body (green area). We can set limits:
Everything above the maximum will be red.
Pro-tip: Instead of right clicking and then going to “Edit Definition”, we can simply double click on
the result and it takes us directly to the same page.
Other
• Don’t forget to add gravity.
Drawings
Don’t put dimensions for all repeated things.
For holes: 16xR6 (16 holes of radius 6). Their dimensions are generally put from above (why?)
Turning on RealView
1.) Open up the registry editor (Start Button -> Run... -> "regedit")
2.) Navigate to "HKEY_CURRENT_USER\Software\SolidWorks\SOLIDWORKS
2015\Performance\Graphics\Hardware\Current"
3.) On the right side doubleclick on "Renderer"
4.) copy (Strg+C) the Value
Since I have a GeForce Card mine is "GeForce GTX 970/PCIe/SSE2". Yours will be
different, mentioning an AMD card. It is important to copy ALL what's in value.
5.) Navigate to "HKEY_CURRENT_USER\Software\SolidWorks\SOLIDWORKS
2015\Performance\Graphics\Hardware\Gl2Shaders\R420"
6.) On the left side (the treeview) rightclick on "R420" and choose "New / Key"
7.) Rename the new key with the copied value (Strg+V)
8.) Click another Key and back to your newly created to make sure you are editing the right
values. The right side should be empty but an entry (Default) whose data is "value not set"
9.) rightclick in the right side and create "New / DWORD (32-bit) Value"
10.) Rename the DWORD to "Workarounds" and, after that, doublecklick it
11.) Leave the "Base" to "Hexadecimal" and enter 30008 into the field "Value data"
12.) Leave the Registryeditor open and start Solidworks. Create a new part / open an old
one and try to enable RealView.
13.) Close Solidworks and go back to the registry editor. Doubleclick the DWORD "Workarounds"
and change the "Value data" to 30408
14.) Fire up Solidworks and try again to activate Realview (Part or Assembly open)
For anyone looking into doing this, be sure to add the new key (in steps 5 and 6 of Leucetius'
answer) to the correct folder for your graphics card. You will probably need to find the equivalent
workstation card to your graphics card, then find that card's folder under GL2Shaders, then add your
new key to that folder. For example, I have an Nvidia Geforce GTX 560, which uses the Fermi
micro-architecture. So I Google'd the Quadros, and found that the Quadro 600, 5000, and 6000 are
also based on Fermi, and those three Quadros are under the NV40 folder in the registry. So, for
steps 5 and 6, I used "NV40" instead of "R420".
In short, "R420" is specific to the original poster's card, you will need to match your card to the
proper folder.
You may also need to disable Large Assembly Mode
Improving perspective
Observer position means that we’re viewing the thing x times the approximate size of the thing. In
this case this station has about ~6m so we’re viewing it from approx. 0.6m of distance.
Rendering things
Black & White gradient background
Shadows that don’t appear in Photoview
Instant 3D and RealView
With Instant 3D and RealView off and then on. RealView gives the pieces a more realistic
appearance, and that light blue glow. Instant 3D enables dragging and changing dimensions in 3D.
Textured Surface
Other
Making stuff lighter
Start perhaps with the heavier parts.
For each part, for the simulations that you got, remember that material that is “blue” (low stresses)
is working little, and thus dimensions could be reduced to as to increase stress, (but balance that
with the increase in displacements though).