Subscribe in a reader

Enter your email address:

Delivered by FeedBurner

September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930  
Disclosure:

DS SolidWorks provides me with a non-commercial license of SolidWorks Premium. They have also invited me to press events and conferences, such as SolidWorks World, free of charge and, at times, they have also provided for accomodations, some meals and transportation. I don't, however, receive any payment for blogging or instructions on what I should write about. Everything that I post in this blog is my own opinion and does not reflect or represent in any way the ideas of DS SolidWorks.

Posts Tagged ‘Simulation’

Hi everyone! I hope you had a really nice weekend! It was a four day weekend for us here and it sure felt good to get a break, plus a little Valentine’s Day candy. Now it’s back to the routine… and the diet.  Anyway… I shall now resume my chronicles of SolidWorks World 2010.

As I mentioned before, this year I was really fortunate to be able to pre-register for hands-on sessions, and this particular session, The Connectors Workshop, is one of them.  This session was presented by Joe Galliera, who works for DS SolidWorks as a Simulation Technical Manager. 

During his presentation, Joe guided us through different scenarios where we used  connectors - bolts, pins, bearings, edge welds,  springs, dampers and many others - to simplify the analysis model. In all these cases, we were able to use connectors instead of modeling the parts because there was no penetration between the connectors and other parts of the assembly, and we didn’t need to investigate the stress or deformations in the connectors themselves.  If, however, we had the need to find out such information, we’d be better off modeling the connectors as real parts in the assembly and including them in the analysis.

 Joe Galiera was very kind to make the presentation and all the files needed to complete the tutorials available for download. Simply go to: http://bit.ly/aLd6mW 

Thanks to Joe Galliera for such a great presentation!

A few days ago, my friend Chris Thompson, founder and owner of Appian Way Technologies, took a look at my model of the safety latch and suggested the following changes in order to improve the simulation study.

First of all, he added small fillets to the areas of the latch where stress concentrations are expected, at the “root” of the latch. He also “cut” the model in half, in order to take advantage of its symmetry through the use of symmetry constraints, which can be found among the Advanced Fixtures available in SolidWorks Simulation.

The symmetry fixtures will simulate the half of the latch that was cut from the model. Having this fixture in place will prevent any displacements across the plane of symmetry, but allow displacements on the plane of symmetry. The idea behind this is to reduce the number of equations necessary, as well as the solving time. In order to use this constraint, right click on Fixtures, and select Advanced Fixtures, Symmetry. He selected the left planar face of the latch to define the plane of symmetry, as you can see in the following image.

latch21

Chris also talked to me about the possibility of improving results by any of two options: manually refining the mesh and using mesh controls, or making use of the h-adaptive solution method, which is available only for static analysis and solid elements. Why is this going to improve results? Well, simply because any solution obtained through FEA will depend on our choices for discretization (a.k.a. meshing). Different choices for meshes will also cause different discretization errors, and we can estimate these errors by making systematic (planned and gradual) changes to the mesh and analyzing the impact of such changes in the results of our study. This is often called a convergence process. The way we can do this is by simply starting with a study that uses an average element size mesh, and then, in subsequent studies, gradually refine the global mesh (reduce the size of the elements), while keeping an eye on any changes in stress and strain in the whole model or in areas of interest (in this case the fillets). We’ll know the process is converging when any further refinement of the mesh produces insignificant changes in the magnitude of the results. This can be a long and tedious process.

Further manual refinement consists of applying mesh controls to the areas of interest in the model. Basically, mesh controls allow us to refine the mesh locally, only in those areas of interest where we expect high concentration of stress, while the rest of the model is meshed using a much larger element size, thus reducing the number of equations and time needed to solve the study, at least when compared to global mesh refining. Mesh controls can be applied to edges, vertices, faces or entire components of assemblies, and they need to be applied before meshing the entire model.  The way to apply mesh controls is by right clicking on the mesh icon in the Simulation Study tree and select Apply Mesh Control.

Here in this image you can appreciate the way Chris applied a mesh control to that couple of fillets. He selected the two faces and used an element size of 0.029 in and a Ratio of 1.5.  This Ratio parameter simply specifies the ratio between element sizes in consecutive transitional layers when going from the global mesh element size to the local mesh element size. A Ratio of 1.5 is usually default.

latch22

Chris also applied mesh controls to the curved face of the cutout you see on the bottom of the latch, where stresses also concentrate, and to that edge on the tip of the latch, that he created by means of a split line, and used to define the Use Reference Geometry Advanced Fixture that I applied in the original study to make sure the latch had that 5 mm displacement, remember?

latch23

 

latch24

He then meshed the rest of the model using the default mesh element size. Notice in this image the transition between mesh element sizes in different areas of the model.

latch25

So that’s the manual way to do it, but this refinement process can also be automated, by using the h-adaptive Solution Method. By the way, the “h” refers to the size of the element, so the convergence process through mesh refinement is actually called “h convergence process”, since the size of the elements is gradually reduced.

To make use of the h-adaptive solution method right click on the name of the study in the Simulation Study tree and select Properties, then select the Adaptive tab, and under Adaptive method option select h-adaptive.  You have a few options to choose from here.  From the help document, “Target Accuracy sets the accuracy level for the strain energy norm in the model, which is not the same as stress accuracy level.” A default value of 98% means that the convergence process will stop if the difference in the strain energy norm between two loops drops below 2%. Accuracy Bias instructs the solver how to concentrate on getting stress results: Local (all the way to the left) will cause the solver to concentrate on getting accurate peak stress results for those very localized areas with high strain energy errors (the fillets) by highly refining the mesh in those areas, while Global (all the way to the right) will cause the solver to ignore high, localized strain energy errors and concentrate on getting accurate overall stress results for the whole model.  The maximum number of loops will tell the solver how many times to repeat the process of mesh refinement. Looping will end when Target Accuracy is achieved or when the maximum number of loops is reached. If Mesh Coarsening is selected, it simply means that during the mesh refining process our original mesh can actually be made coarser in some areas of the model, as the solver sees fit. This way the mesh will be refined only where needed.

latch26

This is the mesh that my friend Chris achieved for the latch by using the h-adaptive solution method with default values and a maximum number of loops of 3.

latch27

As my friend pointed out to me, the h-adaptive method is useful not only to save us from the tedious process of manual mesh refinement, but also for those times when we’re not exactly sure where the areas of high concentration of stresses will be.

Thanks, Chris!

Most of you have no idea and perhaps don’t even care about the fact that I adopted a little kitten about a month ago. What can I say? If you are a smart person, unlike moi, you’ll avoid visiting the pet store while the local cat rescue is showing off their adoptable cats. But I admit I would’ve probably ended up adopting the kitten anyway, eventually…

I named him Troubles because it suits his personality. He’s always in the mood for mischief and looking for ways to get into all sorts of places.  Unfortunately for me, one of his favorite places to explore is inside my kitchen cupboards, where I keep the aluminum foil, the sugary cereal, and other goodies. Up until a couple of days ago, I used to think I had the situation under control thanks to the leftovers of the childproof latches I had installed on those cupboard doors to keep my own kids out of them. That’s when I contemplated in horror how the cat managed to push the latch down and swing the cupboard door open.  Wait a minute?  I thought those things were supposed to be hard to open even for a small child! Not that it requires a lot of effort, but, I mean, how strong is a cat, anyway?

Motivated by this question, I decided to make a simple model of a childproof latch and use SolidWorks Simulation to estimate the force that is required in order to push the latch down and open the cupboard door.  First of all, the kind of latch I’m talking about is a simple vinyl one, such as the one in this picture.

p1868115dt

The long narrow piece goes attached to the inside top corner of the cupboard door and there’s a small piece that goes secured to the frame of the cupboard, and that will serve as a stop for the latch. When the child attempts to open the door, the latch will get trapped by the other piece, allowing the door to open only partially, unless the latch is pushed down enough for its tip to pass underneath the other piece.  I’m not so good at explaining this, but I’m sure most everyone has seen one of these before.

So this is what I did… I made a very simple model of the latch, as you see here. My model included some filleted edges, but they are not really necessary or useful for this analysis, as you will see in a bit, so I decided to suppress the fillets and run an analysis without them.  Doing this usually makes the calculations easier and faster, and the results aren’t affected, unless, of course, there’s a concentration of stress in the corners and you are interested in knowing   the stresses precisely in the filleted areas.

latch1

Next thing I needed to do was create a new Simulation study using this configuration without fillets, and establish some boundary conditions.  I applied a fixed geometry fixture to the back of the rectangular plate, to simulate how it would be securely attached to the cupboard door, unable to rotate, slide or move in any direction. This is done simply by right clicking on Fixtures and selecting Fixed Geometry from the menu.

latch2

I applied a second fixture to this study. This fixture makes the study slightly unusual, because what I was used to do was to apply some boundary conditions (usually some fixed geometry) and then a force and that’s it, let SolidWorks calculate stresses, displacements, etc. due to that force. In this case, however, I’m trying to find the magnitude of a force that will generate a certain known displacement, and this second fixture is going to help me in that task.

I knew I needed the very tip of the latch to displace some 5 mm down, so I used an advanced fixture to specify this translation.  If you right click on Fixtures and select Advanced Fixture, you’ll open a property manager where you’ll be able to choose from several different advanced fixtures available. In this case, I used Use Reference Geometry.  At first, I made the mistake of thinking that what I wanted was for the that small rectangular face on the tip of the latch (shown in pink) to displace down 5 mm along the vertical face adjacent to it (shown in green), and so I used those two faces to define the fixture, as you can see in the image. 

latch3

This, however, was a mistake because, after meshing the model and running the simulation, it produced the following result.  Notice something funny about this image? Look closely. If you were paying attention, you probably noticed that both faces remain parallel to their original positions throughout the deformation process, which is not the way you expect the latch would deform when pushed down. You can see it clearly in the image, as the original model has been superimposed on the deformed one.

latch4

So, I tried again, only this time I used different entities to define the fixture. Instead of a face, I used an edge on the tip of the latch.  I specified that I needed that edge to translate 5 mm down in a direction normal to the Top plane, as you can see in the following image. 

latch5

Well, that seemed to do the trick! After meshing the model and running the simulation, I obtained results that were more like what I was expecting.

latch6

By the way, in case I haven’t mentioned it before, I don’t have Simulation Premium, I was running this analysis in SolidWorks Simulation, but even though SolidWorks Simulation is usually limited to the small displacement kind of analysis (linear analysis), where the deformation of the model is so small it really can’t be noticed by the naked eye, it is also possible to solve some large displacement, non-linear problems, as well,  and obtain some accurate results, provided that there is no permanent deformation.  This one is a large displacement kind of problem, since 5 mm is an extremely noticeable deformation, however, this deformation doesn’t appear to be permanent, since the maximum stress is way below the yield point for this material.  To run an analysis making use of the large displacements option, simply right click the analysis name on the tree, select Properties, Options, and check the option Large Displacement, as you see in this image.  However, if you don’t select this option yourself and, while running the simulation, SolidWorks Simulation detects that this is a problem where large displacements are involved, it will give you a warning about it and ask you about running the simulation using this option. Don’t ignore the warning, since it can lead to incorrect results.

latch7

Once the stress distribution was calculated, I was able to estimate the force necessary to push the latch down 5 mm by right clicking on the Results folder and selecting List Result Force from the menu. I selected the rectangular face of the tip (in green), clicked Update, and found that the magnitude of the force should be approximately 5.5 lbs, applied normal to this face. 

latch8

I checked these findings by running an analysis the “typical” way, applying a force of 6 lbs normal to that same face, and the displacements plot showed the kind of large displacements I was expecting, once again with a maximum stress way below the yield point.  One thing to notice here is that if you look at the stress distribution plot for this problem I just talked to you about, you’ll see that the magnitude of the stress appears to be higher on the particular edge that was used to define the second fixture, when compared to the stress on rest of the latch’s tip, that is. This, I think is a consequence of applying the fixture using the edge, and not necessarily relevant, but I could be wrong.

latch9

Just as promised, here is the video of the second part of what was going to be my presentation at the local SWUG.  This one deals with Free Motion, changing component properties and changing the orientation and camera views during the animation.  By the way, I added a new option to the controls of the video. If you notice, there’s a button in the video control bar that will allow you to select from a floating table of contents and choose exactly what part of the video you want to watch. I hope someone out there finds this video useful. There’s a third and last part coming soon. Enjoy!

animationwizard

Just as I promised, I got one of the videos about Animation ready. This one is about the easiest part: using the Animation Wizard to create animations of exploded/collapsed assemblies and rotations. I apologize if the video is not the best, more in particular the audio of the video (I kind of don’t like my voice), but I still hope someone out there finds it useful.  Enjoy!

 

 

animationwizard