How to simulate gunshot with FEMLAB

  • Context: Graduate 
  • Thread starter Thread starter lkjt
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around simulating the dynamics of a gunshot using FEMLAB, focusing on the challenges of accurately modeling the bullet's behavior upon leaving the barrel and the trajectory thereafter. Participants explore various aspects of finite element modeling in this context, including transient dynamics and the limitations of the software.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants question why the bullet (E1) does not travel far, suggesting that the simulation may be limited to small displacements.
  • One participant proposes that in other software like ANSYS, enabling large displacements is necessary for simulating gunshot dynamics effectively.
  • Another viewpoint suggests that finite element software may not be ideal for simulating a bullet's trajectory, advocating instead for calculating the bullet's final speed and using kinematic equations in MATLAB or MATHCAD.
  • A participant expresses uncertainty about the physical aspects of the gunshot simulation and requests clarification on what specifically is being modeled.
  • Concerns are raised about the convergence issues in the model, with suggestions to control time incrementation based on mesh displacements to improve accuracy.
  • Discussion includes the complexity of accurately simulating fluid-structure interactions and acoustics associated with a gunshot, indicating that it is a challenging task.
  • One participant mentions the potential benefits of using arbitrary Lagrangian-Eulerian techniques for mesh movement in FEMLAB to address some of the modeling challenges.

Areas of Agreement / Disagreement

Participants express differing opinions on the effectiveness of FEMLAB for simulating gunshot dynamics, with no consensus reached on the best approach or the limitations of the software. Some participants agree on the complexity of the task, while others propose alternative methods.

Contextual Notes

Limitations include unresolved issues related to convergence, the need for large displacement modeling, and the challenges of accurately simulating fluid-structure interactions and acoustics in the context of a gunshot.

lkjt
Messages
1
Reaction score
0
I attached femlab document.

Why doesn't the ball(E1) go far away?
 

Attachments

Physics news on Phys.org
lkjt said:
I attached femlab document.

Why doesn't the ball(E1) go far away?

I don't have FEMLAB, but it could be that the problem is only solving for "small displacements." In ANSYS for example, you need to turn on large displacements for a problem like a gunshot. Are you trying to solve the trajectory of the bullet as well, or just the bullet leaving the barrel?

I would say that FE software is not a very good way to simulate the trajectory of a bullet, instead I would solve for its final speed after just leaving the barrel, and then use that velocity in MATHCAD or MATLAB to show its trajectory using the kinematic equations, taking air drag into account of course...
 
The attachment is still pending approval so still a bit hazy :biggrin: (anyone ?).

What physical aspect of a gunshot are you attempting to simulate, could you elaborate a bit.
 
I am reluctant to approve any attachment that I cannot view. I do not have femlab, so cannot verify the content. Guess I will aprove it without the verification. Open at your own risk.
 
It's a valid Femlab model file ... will return to the topic later if no one beats me to it :-p .
 
Hi lkjt,

I looked at your model, your application mode & analysis type should be able to reproduce the type of result you're aiming at (transient dynamic one). Naturally there are lots of simplifications you've had to do and a thorough simulation of a gunshot is a really difficult task (like if would open the 'can' of accurate fluid-structure interaction modeling for a gunshot and add the acoustics problem to the mix), but looks like a good example to me. However, there are a couple of things which see potentially causing trouble.

1st you probably noticed the convergence issue - a believe it'll rectify itself pretty easily by controlling the time incrementation and specifying it according to the displacements the mesh experiences, so that the features of the solution can be traced accurately time-wise. Then there is the issue mech_engineer already touched, i.e. FEM is basically usually very lousy what comes to large trajectories, finite displacements combined with rigid body movement and so on (your analysis focuses on the early stages granted, but still compared to say, to a stress analysis or so, the displacements are really large). This isn't a theoretical limitation, rather how the numerical solution process plays itself out. But, since you're working with comsol/femlab, you're lucky (or you probably knew that already). If you've already gotten your model to work with your current settings ... great ... but I wouldn't be somewhat surprised if you could do so without using the adaptive and deformed mesh features of Femlab (meaning you'd get the bullet out of the barrel). It may be that h-adaptivity for example is in order in your analysis, but more likely using the arbitrary Lagrangian - Eulerian technique for mesh movement. Comsol (especially the latest update) has a really nice implementation of this technique which has as of late been introduced to a number of FE programs, and I believe it could be used nicely to solve your problem. Had you had any further luck with your model and in your mind does what I'm thinking make any sense (can help you with the buildup if needed) :biggrin: ?
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
5K
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
1
Views
1K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
35
Views
3K