Differential Vector Calculus, Exams of Vector Analysis

The divergence of a vector field is a scalar measure of ... the field everywhere to this level, so we must use some form of approximation.

Typology: Exams

2022/2023

Uploaded on 05/11/2023

sumaira
sumaira ๐Ÿ‡บ๐Ÿ‡ธ

4.8

(60)

263 documents

1 / 53

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Differential Vector Calculus
Steve Rotenberg
CSE291: Physics Simulation
UCSD
Spring 2019
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35

Partial preview of the text

Download Differential Vector Calculus and more Exams Vector Analysis in PDF only on Docsity!

Differential Vector Calculus

Steve Rotenberg CSE291: Physics Simulation UCSD Spring 2019

Fields

  • A field is a function of position x and

may vary over time t

  • A scalar field such as s ( x , t ) assigns a

scalar value to every point in space.

An example of a scalar field would be

the temperature throughout a room

  • A vector field such as v ( x , t ) assigns a

vector to every point in space. An

example of a vector field would be the

velocity of the air

Gradient

  • The gradient is a generalization of the concept of a derivative ๐›ป๐‘  = ๐œ•๐‘  ๐œ•๐‘ฅ ๐œ•๐‘  ๐œ•๐‘ฆ ๐œ•๐‘  ๐œ•๐‘ง ๐‘‡
  • When applied to a scalar field, the result is a vector pointing in the direction the field is increasing and the magnitude indicates the rate of increase
  • In 1D, this reduces to the standard derivative (slope)

Gradient

  • The gradient ๐›ป๐‘  is a vector that points โ€œuphillโ€ in the

direction that scalar field s is increasing

  • The magnitude of ๐›ป๐‘  is equal to the rate that s is

increasing per unit of distance

Divergence

  • The divergence is positive where the field is expanding: ๐›ป โˆ™ ๐ฏ > 0
  • The divergence is negative where the field is contracting: ๐›ป โˆ™ ๐ฏ < 0
  • A constant field has zero divergence, as can many others: ๐›ป โˆ™ ๐ฏ = 0

Curl

  • The curl operator produces a new vector field that measures the rotation of the original vector field ๐›ป ร— ๐ฏ =

๐‘ง ๐œ•๐‘ฆ

๐‘ฆ ๐œ•๐‘ง

๐‘ฅ ๐œ•๐‘ง

๐‘ง ๐œ•๐‘ฅ

๐‘ฆ ๐œ•๐‘ฅ

๐‘ฅ ๐œ•๐‘ฆ ๐‘‡

  • For example, if the air is circulating in a particular region, then the curl in that region will represent the axis of rotation
  • The magnitude of the curl is twice the angular velocity of the vector field

Laplacian

  • The Laplacian operator is one type of second derivative of a scalar or vector field ๐›ป 2 = ๐›ป โˆ™ ๐›ป = ๐œ• 2 ๐œ•๐‘ฅ^2

๐œ• 2 ๐œ•๐‘ฆ^2

๐œ• 2 ๐œ•๐‘ง^2

  • Just as in 1D where the second derivative relates to the curvature of a function, the Laplacian relates to the curvature of a field
  • The Laplacian of a scalar field is another scalar field: ๐›ป 2 ๐‘  = ๐œ• 2 ๐‘  ๐œ•๐‘ฅ 2 + ๐œ• 2 ๐‘  ๐œ•๐‘ฆ 2

๐œ• 2 ๐‘  ๐œ•๐‘ง 2

  • And the Laplacian of a vector field is another vector field ๐›ป 2 ๐ฏ = ๐œ• 2 ๐ฏ ๐œ•๐‘ฅ 2 + ๐œ• 2 ๐ฏ ๐œ•๐‘ฆ 2 + ๐œ• 2 ๐ฏ ๐œ•๐‘ง 2

Laplacian

  • The Laplacian is positive in an area of the field that is surrounded by higher values
  • The Laplacian is negative where the field is surrounded by lower values
  • The Laplacian is zero where the field is either flat, linear sloped, or the positive and negative curvatures cancel out (saddle points)

Numerical Representation of

Fields

Computational Vector Calculus

โ€ข Now that weโ€™ve seen the basic operations of

differential vector calculus, we turn to the

issue of computer implementation

โ€ข The Del operations are defined in terms of

general fields

โ€ข We must address the issue of how we

represent fields on the computer and how we

perform calculus operations on them

Uniform Grids

  • Uniform grids are easy to deal with and tend to be computationally efficient due to their simplicity
  • It is very straightforward to compute derivatives on uniform grids
  • However, they require large amounts of memory to represent large domains
  • They donโ€™t adapt well to varying levels of detail, as they represent the field to an even level of detail everywhere

Uniform Grids

Hierarchical Grids

Hierarchical Grids