Mark Stockmyer October 5, 2007

67
Development and Analysis of a Gravity-Simulated Particle- Packing Algorithm for Modeling Optimized Rocket Propellants Mark Stockmyer October 5, 2007 Approved for public release; distribution is unlimited.

description

Development and Analysis of a Gravity-Simulated Particle-Packing Algorithm for Modeling Optimized Rocket Propellants. Mark Stockmyer October 5, 2007. Approved for public release; distribution is unlimited. Acknowledgments. Dr. Hossein Saiedian Dr. Arvin Agah Dr. Xue-Wen Chen - PowerPoint PPT Presentation

Transcript of Mark Stockmyer October 5, 2007

Page 1: Mark Stockmyer October 5, 2007

Development and Analysis of aGravity-Simulated Particle-Packing Algorithm for Modeling Optimized Rocket Propellants

Mark Stockmyer

October 5, 2007

Approved for public release; distribution is unlimited.

Page 2: Mark Stockmyer October 5, 2007

2

Acknowledgments

• Dr. Hossein Saiedian• Dr. Arvin Agah• Dr. Xue-Wen Chen• Dr. Travis Laker• Kristina Stockmyer• ONR – Office of Naval Research

Page 3: Mark Stockmyer October 5, 2007

3

Outline

• Problem• Significance• Methodology/Solution• Results/Evaluation• Conclusion• Further Research

Page 4: Mark Stockmyer October 5, 2007

4

Outline

Problem• Significance• Methodology/Solution• Results/Evaluation• Conclusion• Further Research

Page 5: Mark Stockmyer October 5, 2007

5

China Lake – Naval Air Warfare Center: Weapons Division*• RDT&E: Research, Develop, Test, and

Evaluate

*http://www.nawcwpns.navy.mil

Page 6: Mark Stockmyer October 5, 2007

6

Energetics Development

• Energetics– Explosives– Rocket propellant– Fuzes– Igniters

Page 7: Mark Stockmyer October 5, 2007

7

Rocket Propellant

• Properties (Miller 1982)– Thrust– Smoke– Exhaust signature– Heat– Burn rate

• Various rocket applications• How to optimize these properties?

Page 8: Mark Stockmyer October 5, 2007

8

Rocket Propellant (continued)

• Currently– Research chemist– Think up new formulations– Test out best candidates

• Problems– Very expensive– Research community is limited

Page 9: Mark Stockmyer October 5, 2007

9

Combinatorial Chemistry

• Computer simulation– Input millions of random combinations– See what the results are

• Used in drug synthesis (Furka 1995)• Very difficult• Not currently feasible for energetic

materials– More complex than drugs

Page 10: Mark Stockmyer October 5, 2007

10

Steps to Combinatorial Chemistry• PEP (Propellant Equilibrium Program)

– Optimizing version written last year at C/L

• Determine internal structure of propellant (Knott, Jackson, & Buckmaster 2001)– Done, but slow

• Simulate burning of the propellant– Still in progress; very slow

Page 11: Mark Stockmyer October 5, 2007

11

Outline

• Problem

Significance• Methodology/Solution• Results/Evaluation• Conclusion• Further Research

Page 12: Mark Stockmyer October 5, 2007

12

Packing: State of the Art

• Physical simulation is difficult (Agarwal 2002)– Requires “plausible” motion– Momentum– Parallelization– In a word: Slow

• CSAR (Center for Simulation of Advanced Rockets) (Knott et al. 2001)– Kinematic model

• 100,000 particles• 64 processors• 100 hours

Page 13: Mark Stockmyer October 5, 2007

13

Kinematic Modeling Is Too Slow• Assembly algorithms are faster

– Place particles in best location– Final location is fixed (sticky)

• Get close to modeling reality– Without all the slowness

• Problem: Can be algorithm specific– Too specific to be of use

Page 14: Mark Stockmyer October 5, 2007

14

What Is a Good Simulation?*

• DOD method/modeling and simulation– Subject matter experts– Hierarchy of indicators– Weighting of indicators– Rule-based knowledge base

*(Balci 2001)

Page 15: Mark Stockmyer October 5, 2007

15

How Do You Measure Quality of Packing?• Speed• Packing fraction• Randomness• Scalability

Page 16: Mark Stockmyer October 5, 2007

16

Speed

• How long does it take?– 100 hours is too long– Faster the better– Target: 100,000 particles in a minute

• 86,000 runs/processor/day• 1 Million runs in 12 days

Page 17: Mark Stockmyer October 5, 2007

17

Packing Fraction

• How “dense” is the pack?• Relationship between

– Volume of the particles– Volume of the empty container

Page 18: Mark Stockmyer October 5, 2007

18

High Density Packing Example

Page 19: Mark Stockmyer October 5, 2007

19

Medium Density Packing Example

Page 20: Mark Stockmyer October 5, 2007

20

Low Density Packing Example

Page 21: Mark Stockmyer October 5, 2007

21

How Dense Is Dense?

• Ball bearing experiments (McGeary 1961) – Drop a few ball bearings in graduated cylinders– Shake and vibrate– Repeat until the cylinder is full– Final packing fraction: 0.625

• Kilgore and Scott (1969)– 0.6366

• Our target: 0.63

Page 22: Mark Stockmyer October 5, 2007

22

Randomness

• Difficult to measure• Looking for patterns• How far are particles from one specific

particle?• RDF (Radial Distribution Function)

– Statistical tool– Can be used to measure particle relationships– Direct RDF example later

Page 23: Mark Stockmyer October 5, 2007

23

High Density – Patterns Evident

Page 24: Mark Stockmyer October 5, 2007

24

Scalability

• How do the properties change as the number of particles change?– Speed– Packing fraction

Page 25: Mark Stockmyer October 5, 2007

25

Relation to Computer Science

• Modeling– Abstraction of reality

• Data structures• Algorithm development• Algorithm analysis• Complexity analysis

• Solving a real complex problem

Page 26: Mark Stockmyer October 5, 2007

26

Outline

• Problem• Significance

Methodology/Solution• Results/Evaluation• Conclusion• Further Research

Page 27: Mark Stockmyer October 5, 2007

27

How Do You Make a Rocket Motor? (Simplified)• Get a rocket

case• Pour in

propellant• Attach exhaust

nozzle

Image from http://www.aerospaceweb.org/

Page 28: Mark Stockmyer October 5, 2007

28

What Does Propellant Look Like?• Molecules of

propellant• Essentially

spheres

Image from http://www.aerospaceweb.org/

Page 29: Mark Stockmyer October 5, 2007

29

How Do Things Fall?

• Gravity• Falling• Collision• How does a falling particle know where to

go?– Simple to the human eye– How do I create an algorithm to do the same

thing?

Page 30: Mark Stockmyer October 5, 2007

30

SGMP: Spin Gap Move Protocol

• Move a particle downward until there’s a collision– Spin - Move the particle in a circle– Gap - Find out where there’s no collision– Move - Move the particle in the direction of

non- collision

Page 31: Mark Stockmyer October 5, 2007

31

SGMP – Visualization

• Custom tool– Particle/Primitive system (Ebert 1996)

• Demonstration

Page 32: Mark Stockmyer October 5, 2007

32

SGMP – Collision Calculations

• Calculated many, many times• Computationally expensive• Use neighbor lists to reduce number of

checks

Page 33: Mark Stockmyer October 5, 2007

33

SGMP– Neighbor Lists*

• Find a small number of particles– The neighbors– Near the object particle

• List will always contain fixed (or less) number of particles – Around 10-20

• A computationally expensive process

*(Torquato 2002)

Page 34: Mark Stockmyer October 5, 2007

34

SGMP – Complexity

• Specify all possible computations (Hartmanis and Hopcroft 1971)

• Repeated steps– Generate neighbor list– Downward drop– Circular sweep– Find largest gap– Move particle into gap

Sweep, Gap, and Move can be grouped

Page 35: Mark Stockmyer October 5, 2007

35

Generate Neighbor List

• One-time complexity– O(n)– Compare one to all the rest

• Total complexity (entire pack)– O(n2)

Page 36: Mark Stockmyer October 5, 2007

36

Downward Drop

• One-time complexity– O(1)– Constant drop distance

• Total complexity (entire pack)– O(n)

Page 37: Mark Stockmyer October 5, 2007

37

Spin, Gap, and Move

• One-time complexity– O(1)

• Remember, fixed # of particles in the neighbor list

• Total complexity (entire pack)– O(n log(n))

• n – all particles• log(n) – cross section of pack

Example

Page 38: Mark Stockmyer October 5, 2007

38

Why log(n)?

Page 39: Mark Stockmyer October 5, 2007

39

Outline

• Problem• Significance• Methodology/Solution

Results• Evaluation• Conclusion• Further Research

Page 40: Mark Stockmyer October 5, 2007

40

SGMP Starting Arrangements

• Single Column• Small Dense• Large Dense• Loose Random• Number of particles tested

– 150, 300, 750, 1002, 2001, 3000, 6000, 9000

Page 41: Mark Stockmyer October 5, 2007

41

SGMP – Single Column

• Single column of particles above control volume

• Demonstration

Page 42: Mark Stockmyer October 5, 2007

42

Results – Single Column

• Packing fraction– 300 particles - 0.62– 9000 particles - 0.60

• Speed– 9000 particles

• 41424 seconds (~12 hours)

Page 43: Mark Stockmyer October 5, 2007

43

Results – Single Column

Page 44: Mark Stockmyer October 5, 2007

44

Results – Single Column

Page 45: Mark Stockmyer October 5, 2007

45

SGMP – Small Dense

• Densely packed starting grid• Only within the control volume• Demonstration

Page 46: Mark Stockmyer October 5, 2007

46

Small Dense – Results

• Packing fraction– 750 particles - 0.61– 9000 particles - 0.60

• Speed– 9000 particles

• 56337 seconds (~15 hours)

Page 47: Mark Stockmyer October 5, 2007

47

Small Dense -- Results

Page 48: Mark Stockmyer October 5, 2007

48

SGMP – Large Dense

• Densely packed starting grid• Within the expanded volume• Demonstration

Page 49: Mark Stockmyer October 5, 2007

49

Large Dense – Results

• Packing fraction– 9000 particles - 0.59

• Other packs were very similar

• Speed– 9000 particles

• 19699 seconds (~5.4 hours)

Page 50: Mark Stockmyer October 5, 2007

50

Large Dense -- Results

Page 51: Mark Stockmyer October 5, 2007

51

SGMP – Loose Random

• Loosely packed random starting grid• Only within the control volume• Demonstration

Page 52: Mark Stockmyer October 5, 2007

52

Loose Random – Results

• Packing fraction– 9000 Particles - 0.59

• Other packs were very similar

• Speed– 9000 particles

• 456715 seconds (~5.2 days)

Page 53: Mark Stockmyer October 5, 2007

53

Loose Random – Results

Page 54: Mark Stockmyer October 5, 2007

54

Outline

• Problem• Significance• Methodology/Solution• Results

Evaluation• Conclusion• Further Research

Page 55: Mark Stockmyer October 5, 2007

55

Evaluation – Packing Fraction

• Packing fractions were similar

Model Packing Fraction

Single Column 0.62

Small Dense 0.61

Large Dense 0.59

Loose Random

0.59

Page 56: Mark Stockmyer October 5, 2007

56

Evaluation - Speed

• Wildly different completion times for the various models. Why?

• Most steps “basically” the same– Number of Spin, Gap, and Move cycles

• Falling height very different from model to model

Page 57: Mark Stockmyer October 5, 2007

57

Falling Height

• Demonstration

Model Highest distance

Time (seconds)

Large Dense 2.1 19699

Small Dense 3.4 56337

Loose Random

21.6 456715 (5 days!)

Page 58: Mark Stockmyer October 5, 2007

58

Outline

• Problem• Significance• Methodology/Solution• Results• Evaluation

Conclusion• Further Research

Page 59: Mark Stockmyer October 5, 2007

59

Packing Fraction – All

Page 60: Mark Stockmyer October 5, 2007

60

Speed – All

Page 61: Mark Stockmyer October 5, 2007

61

Conclusions – The Bad

• Packing fraction– Target -- 0.63– Result -- < 0.59

• Speed– Target -- 100,00 particles in 1 minute– Result – 9,000 particles in 5 hours

Page 62: Mark Stockmyer October 5, 2007

62

Conclusions – The Good

• Randomness– All RDF graphs looked normal

Page 63: Mark Stockmyer October 5, 2007

63

Outline

• Problem• Significance• Methodology/Solution• Results• Evaluation• Conclusion

Further Research

Page 64: Mark Stockmyer October 5, 2007

64

Future Work

• Improve speed– Better downward fall algorithm– Variable spin granularity

• Improve packing fraction– Higher spin granularity– Contact model (non-zero coordination number)

• Algorithm additions– Multi-modal pack (various sphere sizes)

• Requires random ‘fall’ vectors

Page 65: Mark Stockmyer October 5, 2007

65

Presentation References

• Balci, O. (2001), ‘A methodology for certification of modeling and simulation applications’, ACM Trans. Model. Comput. Simul. 11(4), 352–377.

• Ebert, D. S. (1996), ‘Advanced modeling techniques for computer graphics’, ACM Comput. Surv. 28(1), 153–156.

• Furka, A. (1995), ‘History of combinatorial chemistry’, Drug Development Research 36(1), 1–12.

• Hartmanis, J. & Hopcroft, J. E. (1971), ‘An overview of the theory of computational complexity’, J. ACM 18(3), 444–475.

• Knott, G. M., Jackson, T. L. & Buckmaster, J. (2001), ‘The random packing of heterogeneous propellants’, AIAA Journal 39(4), 678–686.

Page 66: Mark Stockmyer October 5, 2007

66

Presentation References (continued)

• McGeary, R. K. (1961), ‘Mechanical packing of spherical particles’, Journal of the American Ceramic Society 44(10), 513–522.

• Miller, R. B. (1982), Effects of particle size on reduced smoke propellant ballistics, in ‘AIAA/SAE/ASME 18th Joint Propulsion Conference and Exhibit’, number AIAA-82-1096.

• Torquato, S. (2002), Random heterogeneous materials: Microstructure and macroscopic properties, 1st edn, Springer-Verlag, New York.

Page 67: Mark Stockmyer October 5, 2007

67

End of Presentation

• Thank you• Questions are welcome