• Nie Znaleziono Wyników

Physics for the Computer Science Students

N/A
N/A
Protected

Academic year: 2021

Share "Physics for the Computer Science Students"

Copied!
21
0
0

Pełen tekst

(1)

Physics for the Computer Science Students

Lecture 1: Laws of Physics

Author: R. Kotowski

Polish-Japanese Institute of Information Technology Department of Applied Informatics

1 Introduction 2 Laws of physics 3 Conservation laws

3.1 Mass conservation law

3.2 Momentum conservation law

3.3 Moment of momentum conservation law 3.4 Mechanical energy conservation law

4 Some historical remarks on the physical theories 4.1 Nicolaus Copernicus

4.2 Claudius Ptolemaeus (Ptolemy) 4.3 Gaspard-Gustave de Coriolis 4.4 Jean Bernard Léon Foucault 5 Computer and the physical theory 6 Problems to think about

1 Introduction

The word "physics" (fysike) has the origin in the Greek language and means the knowledge of our environment.

Citation from the encyclopedia: "Physics deals with the most general properties and the structure of the inanimate matter (atoms, particles, crystals, liquids, gases etc.) and with the main forms of its motions and changes (mechanical,

(2)

thermal, electromagnetic, gravitational, nuclear and other processes)."

Method of physics : experiment → theory → verification → experiment

To have a good physical theory one needs mathematics. Mathematics is a language of physics. Mathematics, at its origin, was the experimental science and next it converts into the pure speculative science. One says that

mathematics it is the art of using the notions, which were on purpose to manipulate with them.

Nowadays the spectacular return to the roots of mathematics is observed, because with the development of the computer science the experimental mathematics has appeared again.

The view that mathematics is the set of ideas, abstract and unconnected with the real life, is very naive.

Is the contemporary physics really very difficult and impossible to understand even for the well educated persons?

2 Laws of physics

The very great number of physical phenomena is observed. Everyone can list hundreds of them. Aspiration to introduce the order in the picture of our very complicated world is very natural. One can ask the questions: in what all that phenomena are similar and in what all that phenomena are different? These questions have been asked since the thousands of years. And only during the last four - five hundreds of years they were reasonably formulated and ordered.

This process is still not finished, because the new laws, e.g. in elementary particles physics, are continuously discovered.

The laws of physics are formulated in the following ways:

as conclusions from observations, e.g. the energy conservation law;

1.

as conclusions from the constructed theories (e.g. the energy conservation law resulting from the Emma Noether theorem as applied to the Lagrange approach).

2.

It is very well known that every theory can be falsificated, and we conclude that (probably) the development of the science is the never ended story.

The mathematics used below has an informative meaning only in order to give

(3)

phenomena in the contemporary physics.

3 Conservation laws

The conservation laws (principles) play a very important role in physics. They say that:

No thing can come into existence from nothing, and no thing can vanish without any trace.

This idea is described by the (local) partial differential equation

a(x, t)∂ ρ(x, t)

∂ t + b(x, t)׏ j(x, t) = Q(x, t), (1)

where ρ(x, t) - density, j - flux, Q(x, t) - source.

Let's try to read what is written above: at any point of the physical space and in the arbitrary instant of time, the change in time of the density of the quantity under consideration (e.g. mass, energy, etc.) has to be compensated the influx or outflow of that quantity or can be generated the the source of production or annihilation of that quantity. Now, some special cases can be considered, e.g.

source vanishes, or the density is constant in time, or flux vanishes or is constant, etc.

Equation (1) is written sometimes in the more general and simpler form, in the form of the continuity equation:

the loss of a certain quantity occupying the volume V has to be

compensated by the flux of that quantity through the surface S around that volume.

Using the divergence theorem the surface integral can be transformed into the volume integral, and we have that

∂ t

⌠⌡

V

r(x, t)dV = − ׯ

S

ρ(x, t) v(x, t) dS = −⌠

⌡

V

׏ ρ(x, t) v(x, t) dV. (2)

(4)

The equality has to be fulfilled for any volume V , and it follows that the

functions in integrals have to equal too, and the equation in the local form, i.e.

in the differential equation form, is obtained:

∂ ρ(x, t)

∂ t + ׏ · (ρ(x, t) v(x, t)) = 0, (3)

or in the more compact form

Dρ(x, t)

D t + ρ(x, t) ׏ · v(x, t) = 0, (4)

where

D D t = ∂

∂ t + v · ׏ , (5)

is the so called material time derivative. Let us observe that in the continuity equation the source term is absent.

3.1 Mass conservation law

The certain scalar quantity m, called the mass of the body, can be ascribed to the body. The mass is a nonnegative and an additive quantity. This quantity describes the inertia of the body: the greater the mass is, so the inertia is greater too. And the inertia describes the magnitude of the force which must be applied to the body to give the body a certain needed velocity. The velocity is not the absolute quantity, it has a physical meaning in respect to an arbitrarily chosen, but exactly defined, frame of the reference only.

Notice: observe the difference between the frame of reference and the system of coordinates - in one frame of the reference many different systems of

coordinates can coexist.

(5)

Rysunek 1: Reference configuration B0 in the Lagrange description X1, X2, X3 and the actual configuration in the Euler description x1, x2, x3

In physics two methods of description of the motion of a body are used:

in which the actual state of a body is compared with the starting situation, in which the trace of a material point is observed (Lagrange description), or

in which the point of a physical space is observed (Euler description).

The second one is more frequently used in the hydrodynamics.

The total mass of a body does not depend of the choice of description, of course. The total mass is identical in both configurations: in the reference configuration and in the actual configuration:

m = ⌠⌡

B0

ρ0 dV = ⌠

⌡

Bt

ρ(x, t) dv , 0 ≤ ρ ≤ ∞, (6)

ρ0 - density of the mass in the reference configuration, ρ(x, t) - density of the mass in the actual configuration.

The way of description of the body motion is a way of taste or convenience.

Let us have a look how the actual configuration is seen from the point of view of the reference configuration (material Lagrange description):

⌡

B0

0 − ρ J ) dV = 0, (7)

where

(6)

J = det|

|| ∂ xi

∂ XK

|

||, (8)

is the Jacobian of transformation. The reciprocal transformation exists too.

Integral (7) equals zero, iff

ρ0 = ρ J . (9)

In that way the local law of the mass conservation in the material description was obtained. The global mass conservation law in the actual (Euler)

configuration has the form:

d d t

⌡

Bt

ρ(x, t) dv = 0. (10)

We read that equation that the total mass of the body does not depend on time, it is constant in time.

It follows from Eqn. (10) that the local mass conservation law is fulfilled too: it is true for any instant of time t and for any actual configuration Bt, so

d

d t ρ(x, t) = ∂

∂ t ρ(x, t) + ρ(x, t) div v (x, t) = 0. (11)

If the body is incompressible then its volume does not change, and consequently its mass density as well. In such a case

∂ t ρ(x, t) = 0, (12)

what means that ρ(x, t) = ρ(x) . In such a situation it follows simultaneously from Eqn. (11) that the velocity of the body fulfills the following equation

(7)

div v(x, t) = 0. (13)

The velocity field v(x, t) fulfilling Eqn. (13) is called the sourceless field (not divergent). It follows from the known mathematical identity (div rot( · ) = 0) , that in such a case the velocity v can be represented in the form

v(x, t) = rot u(x, t), (14)

where u - the vector potential of the velocity field v.

The motion of the body is called rotationless, iff

rot v(x, t) = 0, (15)

and in such a case there exists the scalar potential φ for the velocity field, i.e.

v(x, t) = grad φ(x, t), (16)

because rot grad ( · ) = 0.

Remark:

Every vector field, and the velocity field as well, can be unambiguously decomposed into the sum of two fields:

v = v1 + v2 = grad φ + rot u, with the condition that div u = 0,

where φ - scalar potential, u - vector potential. It follows from that decomposition that

rotv1 = rot grad φ, div v2 = div rot u = 0.

The field v1 is called the sourceless field (axial field), and the v2 is called

(8)

the wireless field (solenoidal field).

The equation of continuity for the wireless motion can be now presented in the form

ρ˙ + ρ ∆ φ = 0. (17)

For the incompressible bodies Eqn. (17) reduces to the well known Laplace equation

∆ φ = 0. (18)

It is seen, that looking for the solutions of the differential equation (11) , one can make use of many simplifications making our calculations significantly easier.

3.2 Momentum conservation law

Momentum it is a vector quantity defined for the body B at the instant t by the formula:

P = ⌠

⌡

Bt

ρ v dv. (19)

The momentum conservation law it is in fact nothing else but the Newton second law of dynamics that says that any change of the momentum can be triggered only by the acting forces on the body

P˙ = F, (20)

where

(9)

F = ⌠

⌡

Bt

ρ f dv + ⌠

⌡

∂ Bt

tn ds, (21)

f - density of the mass forces acting in the all volume of a body (gravitation force is a good example), and tn - forces acting on the border ∂ Bn of a body.

Remark

fn = σ n,

σ - stress tensor, n - vector normal to the surface of the border of a body.

Gauss-Ostrogradzki Theorem

⌠⌡

V

ai , j dv = ׯ

S

ai nj ds,

allows to transform the volume integral into a surface integral and vice versa.

Equation (20) can be written in the form

⌡

Bt

(ρ v˙ − ρ f − div σ) dv = 0 . (22)

This equation is valid for any body B and for any of its configuration Bt, so the integral function have to vanish too. From these consideration follows the local momentum conservation law in the form of the differential equation

div σ + ρ f = ρ v˙, (23)

The above description it is in the absolute form. In the Cartesian coordinate system one has

(10)

σi j, i + ρ f j = ρ v˙ j. (24)

3.3 Moment of momentum conservation law

The vector product of (the shortest) vector r starting from the rotation axis and connecting the beginning of the another vector F (e.g. force, momentum...) is called the moment of the vector F and is denoted as m:

m = r×F. (25)

Rysunek 2: Moment of a force

Remark

The result of the vector product of two not collinear vectors a and b is the third vector c perpendicular to a and b:

c = a×b = det



i j k

a1 a2 a3 b1 b2 b3



,

i, j, k - unit vectors (versors) of the Cartesian coordinate system,

(11)

||a×b|| = ||a|| ||b|| sin(a, b),

or in the coordinates

(a×b)i = εijk aj bk ,

where εijk - Levi-Civita permutation symbol

εijk =

−1 1 0

odd permutation of i, j, k even permutation of i, j, k

repeated indices

Let us make some remarks about the volume and surface quantities in the body B in configuration Bt. The following notation is introduced: ∂ Bt - surface of the body B, tn - density of the surface stresses, mn- density of the surface momentum, n - unit vector normal to the surface. We have:

1. Total surface force:

Fs = ⌠

⌡

∂ Bt

tn ds, (26)

2. Total surface momentum:

Ms = ⌠

⌡

∂ Bs

mn ds + ⌠

⌡

∂ Bt

r ×tn ds. (27)

In the classical theory of elasticity the surface moments mn are absent. It means that there exists the non classical elasticity theory of the continuous media in which the points of a body have the internal structure and posses the three additional rotational degrees of freedom. The theory was developed by

(12)

Cosserat brothers more than one hundred years ago.

3. Resultant moment acting on a body:

M = ⌠

⌡

Bt

(ρ r× f + ρ m)dv + ⌠

⌡

∂ Bt

(r×tn + mn)ds, (28)

ρ - mass density, r - radius vector from the chosen point, f - force density vector, m - mass (volume) moments density vector.

4. Moment of momentum W of the body B at instant t:

W = ⌠

⌡

Bt

ρ ×v dv, (29)

v(x, t) - velocity of a point P(r) of a body.

The moment of momentum conservation law says that the rate of change of the total moment of momentum of a body B with respect to the arbitrary chosen point equals to the resultant momentum counted with respect of the same point at the same instant of time t, i.e.

W˙ = M, (30)

what means that

⌡

Bt

ρ r×v˙ dv = ⌠

⌡

Bt

(ρ r× f + ρ m)dv + ⌠

⌡

∂ Bt

(r×tn + mn)ds. (31)

After transformation to the volume integrals one obtains the local moment of momentum conservation law

ρ m + div M + e · σ = 0, (32)

(13)

coordinates it looks like:

ρ mi + Mj i, j + ei j k σj k = 0. (33)

3.4 Mechanical energy conservation law

The equation E = m c2 gives the maximal value of the energy accumulated by the body with mass m. This energy is a sum of a considerable partial energies like:

intrinsic energy, free energy,

interaction energy, kinetic energy, thermal energy, potential energy,

electromagnetic energy and many others.

We consider here the mechanical energy conservation law only, what means that other kinds of energy are excluded.

Let us multiply Eqn. (23) by the velocity and integrate the result over the all volume occupied by the body Bt. We obtain

⌡

Bt

div σ · v dv +⌠

⌡

Bt

ρ f · v dv = ⌠

⌡

Bt

ρ v · v˙ dv. (34)

Applying Gauss - Ostrogradzki theorem gives

(14)

⌡

Bt

div σ · v dv = ⌠

⌡

Bt

(div(σ v) − σ · grad v dv = ⌠⌡

∂ Bt

nσv ds −⌠

⌡

Bt

σ · D dv, (35)

where the second order tensor grad v = D + W , and D - rate of the deformation tensor

D = 1

2 (L + LT),

and dv = (grad v ) d x = L d x.

Another tensor constructed from the gradient of the velocity L, it is the

antisymmetric tensor W - tensor of the momentary rotational velocity (material spin tensor)

W = 1

2 (L − LT). (36)

Kinetic energy of a body

The kinetic energy of a body Bt is given by the volume integral

K = ⌠

⌡

Bt

1

2ρ v · v dv. (37)

It follows that

K˙ =⌠

⌡

Bt

ρ v˙ · v dv. (38)

Making use of equations (32) and (37), Eqn. (34) obtains the form

(15)

K˙ = L −⌠

⌡

Bt

σ · D dv. (39)

where L is the power of the work of the external forces acting on the body Bt

L = ⌠

⌡

Bt

ρ f · v dv + ⌠

⌡

∂ Bt

tn· v ds. (40)

This is the mechanical energy conservation law:

the material derivative of the kinetic energy equals to the work of

external forces reduced by the power of internal forces, i.e. the power of the work done by stresses on the rate of deformation.

In the case when the deformation is absent, e.g. in the case of a rigid body, Eqn. (39) takes a form

K˙ = L. (41)

4 Some historical remarks on the physical theories

Nicolaus Copernicus (19.02.1473 - 24.05.1543)

Claudius Ptolemaeus (Ptolemy) (about AD 90 - after AD 161)

Gaspard-Gustave de Coriolis (21.05.1792 in Nancy - 19.09.1843 in Paris) Jean Bernard Léon Foucault (18.09.1819 - 11.02.1868)

4.1 Nicolaus Copernicus

Nicolaus Copernicus (19.02.1473 - 24.05.1543) studied at the Cracow

(16)

University in years 1491-1495 and next moved to Italy to study at the

Universities in Bologna, Padova and Ferrara. He got his doctor title in 1503 in Canon Law. He studied in Poland from 18 to 22 year of his life, but without any diploma. And it was not the reason that he was not enough clever. He confided to his uncle and protector Luke Watzenrode about his ideas on the astronomy, and the uncle waiting for the bishopric did not want to have troubles and send the nephew abroad.

After he came back to Poland he lived in Lidzbark Warmiński, Frombork (1510) and Olsztyn (1520-1521, during the war Poland - the Order of the Teutonic Knights). He started to work on his Opus Magna entitled "De

revolutionibus" about 1515 . Actually he worked on it till the end of his life and constantly introduced the corrections. Joachim von Lauchen, called Retyk, the young German scientist, came to Frombork in 1539. He took the Copernicus' manuscript to Nürnberg, where it was printed in 1543 under the title "De

revolutionibus orbium coelestium libri VI", and was dedicated to the Pope Paul III. The first edition of 1000 copies, consisted of six books and 203 cards. The title was changed without the permission of Copernicus, because the shorter title was considered as too revolutionary.

4.2 Claudius Ptolemaeus (Ptolemy)

Ptolemy (about AD 90 - after AD 161), the eminent Greek-Egyptian astronomer, astrologer, mathematician, geographer and optics specialist,

probably born in Promemaid (Tebaid), lived and worked in the northern Egypt.

He conducted his astronomical research in years AD 125-141. The works of Ptolemy had the huge impact on the astronomy and astrology in the next several hundreds of years. He summarized the earlier works of Greek

astronomer in the work of 13 books and entitled them "Megale syntaxis" (or

"Megiste syntaxis" or "Mathematiké sýntaksis"). This work, has survived to our days, and is known as "Almagest" (the title was distorted in Middle Ages). It has been a canon of the astronomical knowledge for over 15 hundreds of years until the work of Copernicus became recognized.

Ptolemy believed that the Sun, Moon, planets, and stars were attached to crystalline spheres, centred on Earth, which turned to create the cycles of day and night, the lunar month, and so on. In order to explain retrograde motion of the planets, he refined a complex geometric model of cycles within cycles that was highly successful at predicting the planets' positions in the sky. His

Geography contained an estimate of the size of Earth, a description of its surface, and a list of places located by latitude and longitude. Ptolemy also dabbled in mechanics, optics, and music theory.

(17)

4.3 Gaspard-Gustave de Coriolis

The arguments of Copernicus that Earth really rotates, although supported by calculations, have to wait more then three hundreds years to be confirmed by the experiment. These works began Gaspard-Gustave de Coriolis, (borned 21.05.1792 in Nancy, and died 19.09.1843 in Paris), the French physicist and mathematician. All the story began, when he was a small boy. He was a very dynamic child, and when his mother was very tired of him, she let him to ride on a merry-go-round. After half an hour small Gaspard-Gustave was a very polite boy. After he became older, in years 1816-1838, he was a deputy professor of mathematics at the Écolé Polytéchnique, the most prominent French technical college. He was a member of the French Academy of Sciences. He studied the laws of motions, especially on the surface of the Earth, to make clear why the merry-go-round made him so calm. He introduces the term "work", and gave the formula for the change of rate as a result of the performance of the work (today it is called the kinetic energy). The physical phenomenon, today called the Coriolis effect, occurs in the rotating reference systems, and consists on the perturbation of the trajectory of bodies moving in such systems. This perturbation looks like it was caused by any force, and that is why this effect is sometimes called the Coriolis force, but in fact it is caused by the movement of the reference system. The value if this ostensible force equals

FC = 2 m v ×ω, (42)

where m - mass of a body, v - its velocity, ω - angular velocity of a system.

Let the reference system rotates with the angular velocity ω. According to Eqn.

(42), if the body moves away from rotation axis along a certain radius with the velocity v, then it experiences the force acting perpendicular to the radius and in the opposite direction to the rotation. If it moves in the direction of the rotation axis, then the force acts in the direction of the rotation.

Accordingly, if the body will be thrown away along the radius it will turn opposite to the direction of rotation. If it will be thrown to the center of rotation, it will turn in the direction of rotation.

If the Earth rotates, then the Coriolis effect should appear quite frequently.

(Question: do the Earth rotates from the West to the East of from the East to the West?)

(18)

It is observed that to the North from the equator the Coriolis force drives the moving objects to the right, and to South from the equator the Coriolis force drives the moving objects to the left (from the point of view of the observer looking in the direction of the equator). Usually this effect is rather weak, but there are some cases when it is very important. Here some examples:

On the north hemisphere the wind tends to turn to the right, and on the south hemisphere - to the left.

1.

On the north hemisphere rivers washes over the right banks usually stronger than left banks (on the south hemisphere the left banks accordingly).

2.

On the north hemisphere water whirlpools and anticyclones moves clockwise (on the south hemisphere anticlockwise).

3.

Rysunek 3: Hurricane Rita (24.09.2005)

Some other examples:

If from the determined point on the north hemisphere the mass of air starts to move in the direction of the North Pole, then coming to areas with the smaller linear velocity it will be flowing on not from the South, but from the South-East. From the point of view of the observer on the Earth it seems like the result of the force acting from the East to the West. Exactly this force is called the Coriolis force.

1.

(19)

moved to the East about 6,505103512 cm.

The Coriolis effect have to be taken into account by the artillerist and by the navigators of airplanes, rockets, etc., too. E.g. the Coriolis effect made an unpleasant surprise to the war ships of Great Britain during the

Falkland armed conflict with Argentine. The English artillerists did not take into account the fact that they are on the south hemisphere (the Coriolis alterations have different signs on the north and the south hemispheres) and they lost two ships.

3.

4.4 Jean Bernard Léon Foucault

The first experimental confirmation of the Coriolis effect on the Earth was done by Jean Bernard Léon Foucault (18.09.1819 - 11.02.1868) - French physisist, the discoverer of the eddy currents (called also Foucalt currents). He was one of the first who measured the velocity of the light in the air and in the water; he constructed the polarizing prism, the photometer and the gyroscope.

And what is of our interest, he proofed in 1851 that the Earth really rotates, using the suspended in the Paris Pantheon pendulum of 67 meter long, having the possibility to oscillate in an arbitrary vertical plane.

After the certain time of observation one can notice that the pendulum has changed its plane of oscillations.

The pendulum placed on the geographic pole of the Earth does not change its plane of oscillations, after 24 hours it makes a rotation of 360ל.

On the equator, where the latitude φ = 0ל, the Foucault pendulum does not rotate at all.

For the latitudes between φ = 0לand φ = 360ל, the velocity of the rotation of the oscillation plane depends on the sinus of the latitude and equals 15ל· sin φ /hour.

The Foucault pendulum demonstrates its interesting properties in many places:

in Pantheon in Paris, in USA, in many places important for the science, culture and politics, like universities, museums, congress centers,... and also in Poland, e.g. in Cracow and Frombork.

5 Computer and the physical theory

(20)

Physics is a part of science. The goal of the science is to explain the world, i.e.

to describe and try to understand the phenomena and to undertake the attempts to predict the future events. As far all the attempts to describe the world in details fails: there are too many details. One have to simplify, i.e. to select the most important elements. Such a simplified description is the model of the phenomenon only. One has to be very careful not to confuse the model with the reality. Unfortunately it happens too often. Our mind also "thinks using

models".

The main goal of a researcher is to isolate the most important (decisive) factors influencing the observed phenomenon. One can observe the most rapid

progress of science occurred when the researchers succeeded in making proper models. The methodology "from very simple to more complicated" may be very useful.

If we are going to ask the computer to help us in studying the real world, we have to start with the construction of the mathematical model (usually it is a set off integro-differential equations with well posed initial-boundary conditions), and next to look for numerical solutions.The obtained solutions can be

visualized in the form of plots or (what sometimes is much better) beautiful animations. The most important however is the interpretation of the obtained results. Let us remember that computer helps and not substitute the human being thought.

The End of the Lecture 1

6 Problems to think about

1. Make a choice of your answers to the following problems and justify them in short essays:

i. Conservation laws deal with the invariance of the values of the all physical quantities independently of the processes in the all phenomena:

a. always, b. sometimes,

c. from time to time and from the phenomenon to the phenomenon.

(21)

a. always, b. sometimes,

c. from time to time and from the phenomenon to phenomenon, d. not the case

iii. The most important conservation law is:

a. the mass conservation law, b. the energy conservation law, c. the momentum conservation law,

d. the moment of momentum conservation law, e. the moment of force conservation law,

f. the energy-momentum conservation law.

iv. The scalar potential ϕ of the velocity field exists, if:

a. the medium is incompressible,

b. the motion of the medium is rotationlless, c. exists always.

2. Order with respect to the date of birth the following scientists: Gaspard- Gustave de Coriolis, Jean Bernard Léon Foucault, Nicolaus Copernicus, Ptolemy.

Cytaty

Powiązane dokumenty

Dzieło w intencji redaktora przeznaczone jest przede wszystkim dla stu- dentów specjalizujących się w zakresie kultury materialnej, przedstawia ono jednak wielką wartość również

To study the effect of adding anionic PAM on the sedimentation of flocs in the impurity removal process, the RE leachate was treated under the optimal conditions, that is, the NH 4

Physical models are mainly formulated in the form of the systems of differential equations, so at the end of the lecture some simple methods of numerical solving of

The free vector defined by Eqn (3) (mathematics!), becomes the leading vector of the point (physics!), if its begin will be attached to the begin of the co-ordinate system and

Internal energy - the rest energy of a mechanical system: it consists of the kinetic energy of the relative motion of the particles of a body and the potential energy of

Huygens stated that an expanding sphere of light behaves as if each point on the wave front were a new source of radiation of the same frequency and phase.. However his health

Het simulatieprogramma ASPEN PLUS gebruikt de volgende kosten- modellen voor de verschillende apparaten.. voor

Parliamentary elections have brought success to 8 political parties, which managed to pass the 5% threshold at the Election Day (SMER- SD, SaS, oľano-novA, SnS, ĽSnS,