Cellular Automata. CA Components Transition Rule: State of Neighbors/Self Last Time Step New State Wolfram, S. 2002. A new kind of science. Wolfram Media,

Slides:



Advertisements
Similar presentations
Linear Momentum For an individual mass we define the linear momentum to be: From the 2 nd law we have: This is actually how Newton originally formulated.
Advertisements

CHAPTER 8 Momentum & Impulse.  Momentum is a product of mass and velocity  Momentum is a vector (magnitude and direction)  p = m v  Measured in kg.
Net Force.
Physics 11 Mr. Jean November 28 th, The plan: Video clip of the day 2d Momentum Momentum practice questions Physics Video.
Physics 1D03 - Lecture 25 Momentum and Impulse Newton’s original “quantity of motion” a conserved quantity a vector Serway & Jewett 9.1 – 9.3 -Newton’s.
Center of Mass and Linear Momentum
Momentum Impulse, Linear Momentum, Collisions Linear Momentum Product of mass and linear velocity Symbol is p; units are kgm/s p = mv Vector whose direction.
Rotational Dynamics and Static Equilibrium. Torque From experience, we know that the same force will be much more effective at rotating an object such.
Physics 218: Mechanics Instructor: Dr. Tatiana Erukhimova Lecture 18.
Department of Physics and Applied Physics , F2010, Lecture 20 Physics I LECTURE 20 11/21/10.
Linear Momentum and Collisions
Lecture of Norm Margolus. Physical Worlds Some regular spatial systems: –1. Programmable gate arrays at the atomic scale –2. Fundamental finite-state.
Digital to Analog (D/A) Converter Discussion D2.2.
Lectures on Cellular Automata Continued Modified and upgraded slides of Martijn Schut Vrij Universiteit Amsterdam Lubomir Ivanov Department.
College and Engineering Physics Momentum 1 TOC Momentum Conservation.
Impulse Momentum 1 Conservation. Impulse Momentum 2 The simplicity of momentum The astronaut has greater mass and slower velocity The wrench has less.
Chapter 9 Systems of Particles. Section 9.2: Center of Mass in a Two Particle System Center of Mass is the point at which all forces are assumed to act.
Period 2 Question 1. Particle 1 collides elastically with particle 2 of equal mass that is originally at rest. Which of the following is true after the.
Linear momentum and Collisions
Chapter 11 Angular Momentum. The Vector Product There are instances where the product of two vectors is another vector Earlier we saw where the product.
Chapter 7 Linear Momentum. Chapter Momentum Linear Momentum- product of mass times velocity p=mvp=momentum units=kg.m/sec Restate Newton’s second.
_ Linear momentum and its conservation _ Impulse and momentum _ Collisions _ Two-dimensional collisions _ Center of mass _ Systems of particles. Momentum.
Results from kinetic theory, 1 1. Pressure is associated with collisions of gas particles with the walls. Dividing the total average force from all the.
Collisions and Momentum
M OMENTUM IN 2 D IMENSIONS. 4.1 N EWTON ' S SECOND LAW AND MOMENTUM Newton's second law states that the acceleration produced by a force on an object.
Chapter 9: Rotational Dynamics
Copyright © 2010 Pearson Education, Inc. Lecture Outline Chapter 11 Physics, 4 th Edition James S. Walker.
Today: Momentum – chapter 9 11/03 Finish momentum & review for exam 11/8 Exam 2 (5 – 8) 11/10 Rotation 11/15 Gravity 11/17 Waves & Sound 11/22 Temperature.
Splash Screen. Example 1 Identify Possible Zeros A. List all of the possible rational zeros of f(x) = 3x 4 – x Answer:
Two small spheres of putty, A and B, of equal mass m, hang from the ceiling on massless strings of equal length. Sphere A is raised to a height h 0 as.
Linear Momentum The linear momentum p of an object of mass m with a velocity of v is It is a vector and points in the same direction as the velocity.
Kinetic Molecular Theory & Gas Laws It’s all about the particles.
Physics 1501: Lecture 22, Pg 1 Physics 1501: Lecture 22 Today’s Agenda l Announcements çHW#8: due Oct. 28 l Honors’ students çsee me Wednesday at 2:30.
Copyright © 2008 Pearson Education, Inc., publishing as Pearson Addison-Wesley. Chapter 9. Impulse and Momentum Chapter Goal: To introduce the ideas of.
9-4 Linear Momentum Newton’s second law of motion:
Chapter 11 Angular Momentum. Angular momentum plays a key role in rotational dynamics. There is a principle of conservation of angular momentum.  In.
Momentum and Impulse. March 24, 2009 Momentum and Momentum Conservation  Momentum  Impulse  Conservation of Momentum  Collision in 1-D  Collision.
Copyright © 2010 Pearson Education, Inc. Lecture Outline Chapter 9 Physics, 4 th Edition James S. Walker.
Linear Momentum The linear momentum p of an object of mass m with a velocity of v is It is a vector and points in the same direction as the velocity.
Ch 8 : Conservation of Linear Momentum 1.Linear momentum and conservation 2.Kinetic Energy 3.Collision 1 dim inelastic and elastic nut for 2 dim only inellastic.
Recoil and Collisions 8.01 W07D1 Associated Reading Assignment: Young and Freedman:
Recoil and Collisions 8.01 W07D1
Work Booklet 2.4 page 17 Additional Review Exercise 1. A ball, A, of mass 2.0 kg and moving at 5.0 m/s strikes a glancing blow on a second ball, B, which.
Pool Billiard can be viewed as elastic collision in 1D if balls are hit head on. Professional tables have balls of equal mass. What happens if the white.
Phys211C8 p1 Momentum everyday connotations? physical meaning the “true” measure of motion (what changes in response to applied forces) Momentum (specifically.
Physics 1D03 - Lecture 26 Collisions Conservation of Momentum Elastic and inelastic collisions.
Conservation of Momentum. For a collision occurring between two objects in an isolated system, the total momentum of the two objects before the collision.
Chapter 7: Momentum I. Momentum (7.1) A. momentum– “inertia in motion” 1.Mass of an object multiplied by its velocity Momentum = mass x velocity.
MOMENTUM Chapter 7. Definitions - 1 ■Momentum means inertia in movement or in other words So an object can have large momentum because it has large mass.
Midterm-Review GLY Basic Fluid Dynamics Momentum p = mv F = dp/dt = m dv/dt.
© 2010 Pearson Education, Inc. Lecture Outline Chapter 6 College Physics, 7 th Edition Wilson / Buffa / Lou.
1 Angular Momentum Chapter 11 © 2012, 2016 A. Dzyubenko © 2004, 2012 Brooks/Cole © 2004, 2012 Brooks/Cole Phys 221
8 Momentum The law of conservation of momentum states that, in the absence of an external force, the momentum of a system remains unchanged. 8.4 Conservation.
LINEAR MOMENTUM The rate of change of the linear momentum of a particle is equal to the net force acting on the particle.
Chapter 8 Conservation of Linear Momentum Linear momentum; Momentum conservation Impulse Total kinetic energy of a system March 8, /11/2018 Phys.
Gaining Momentum: Chapter 9 New Vocabulary: Linear Momentum
Representing Motion.
Day Topic: Conservation of Momentum
Lecture Outline Chapter 9 Physics, 4th Edition James S. Walker
Find the velocity of a particle with the given position function
Lecture Outline Chapter 11 Physics, 4th Edition James S. Walker
Lecture Outline Chapter 11 Physics, 4th Edition James S. Walker
Momentum.
Derivation of the Exchange of Velocities
11.7   Angular Momentum Figure shows a particle of mass m with linear momentum as it passes through point A in an xy plane. The angular.
Lecture Outline Chapter 9 Physics, 4th Edition James S. Walker
Lecture Outline Chapter 9 Physics, 4th Edition James S. Walker
Net Force.
Momentum and Its Conservation
Collisions and Momentum
Presentation transcript:

Cellular Automata

CA Components Transition Rule: State of Neighbors/Self Last Time Step New State Wolfram, S A new kind of science. Wolfram Media, Inc. Champaign, IL pp.

Base 2 Binary Numbers Digit position Base Value Example Value81

Wolfram’s Binary Rule Numbers 3 neighbor, 2 state CAs General: Specific: Rule = 30 Block diagram from

Rule 18 Spreadsheet 18 = =IF(OR(AND((A1=1),(B1=0),(C1=0)), AND((A1=0),(B1=0),(C1=1))),1,0) If or Then 1 Else 0

Rule 30 Spreadsheet 30 = =IF(OR( AND((A1=1),(B1=0),(C1=0)), AND((A1=0),(B1=1),(C1=1)), AND((A1=0),(B1=1),(C1=0)), AND((A1=0),(B1=0),(C1=1))),1,0) If or or or Then 1 Else 0

Lattice Gas Cellular Automata

FHP Lattice Gas Cellular Automaton Bit Value A B C D E F S R Fundamental basis is mass and momentum conservation All particles have the same mass and speed so that momentum conservation reduces to conservation of the vector sum of the velocities Maximum of 1 particle per direction S = Solid, R = Random Boolean variables n = (n1, n2, …, n8) 8 bits  256 possibilities

Zero net momentum, head-on, 2- and 3-particle collisions Pre-collision Possible post-collision configurations Pre-collision Post-collision (Choose based on random bit R)

Unchangeable configurations Pre-collisionPost-collision All 5 and 6 particle collisions are similar; no configurations other than the original conserve momentum No configurations other than the original conserve mass and momentum

Collision ‘Look up’ Table 256 Entries Start with all unchanged –‘new configuration’ = ‘old configuration’ Bit Value 128 R 64 S 32 F 16 E 8D8D 4C4C 2B2B 1A1A …

Collision ‘Look up’ Table First 64 configurations ( through ) seventh bit (S) is 0 Same is true for configurations 128 through 191 ( through ) Leave unchanged for the moment Bit Value 128 R 64 S 32 F 16 E 8D8D 4C4C 2B2B 1A1A …

Collision ‘Look up’ Table Configurations 64 through 127 and 192 through 255 ( through and through ) are on solids Bounce back In-State Bit Value 128 R 64 S 32 F 16 E 8D8D 4C4C 2B2B 1A1A … Out-State Bit Value 128 R 64 S 32 F 16 E 8D8D 4C4C 2B2B 1A1A …

Collision ‘Look up’ Table Two-particle head-on collisions In-State Bit Value 128 R 64 S 32 F 16 E 8D8D 4C4C 2B2B 1A1A 9 (AD) (AD) Out-State Bit Value 128 R 64 S 32 F 16 E 8D8D 4C4C 2B2B 1A1A 18 (BE) (CF)

Collision ‘Look up’ Table Three-particle head-on collisions In-State Bit Value 128 R 64 S 32 F 16 E 8D8D 4C4C 2B2B 1A1A 21 (ACE) (BDF) (ACE) (BDF) Out-State Bit Value 128 R 64 S 32 F 16 E 8D8D 4C4C 2B2B 1A1A 42 (BDF) (ACE) (BDF) (ACE)

Remappings

Code /* Put collisions */ table[A + D] = B + E; table[A + D + EPS] = C + F; table[B + E) = C + F; table[B + E + EPS] = A + D; table[C + F] = A + D; table[C + F + EPS] = B + E; table[A + C + E] = B + F + D; table[B + D + F] = A + C + E; table[A + C + E + EPS] = B + F + D; table[B + D + F + EPS] = A + C + E; Lgapack Version for the simulation of flow with lattice-gas automata. Copyright (C) 1997 D.H. Rothman and S. Zaleski. In Unix/Linux: Gunzip the.gz file tar -xf the.tar file In Windows: Open archive or Extract files

Matlab Script for Lgapack clear('all') load x_mom load y_mom load mass x_vel=x_mom./(2*mass) y_vel=sqrt(3)*y_mom./(2*mass) quiver(x_vel',y_vel') axis equal

Exercise Theoretical viscosity (2 and 3-particle collisions only) Rearrange to solve for from u max or u mean Compare

Noise Need a lot of averaging Real thermodynamics?