How do I derive the formula for divergence using a prism-shaped volume?

Click For Summary

Homework Help Overview

The discussion revolves around deriving the formula for divergence using a prism-shaped volume, as opposed to the standard rectangular solid. The original poster attempts to understand how to apply the definition of divergence in this context, particularly focusing on the integral over a closed surface surrounding the volume element.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the approximation of the integral and the implications of using a prism-shaped volume. The original poster expresses uncertainty regarding the calculations for the top face of the prism and how to correctly apply the divergence definition. Others raise questions about approximating values at specific points within the volume.

Discussion Status

Some guidance has been offered regarding the approximation methods for the velocity components, and one participant confirms the correctness of a calculation related to the derivative. The discussion is ongoing, with participants exploring different aspects of the derivation and clarifying points of confusion.

Contextual Notes

The original poster notes potential difficulties in calculations due to the shape of the volume and the need for careful consideration of the surface normals. There is also mention of the challenges posed by the slanted sides of the prism in the context of the divergence formula.

thatguy14
Messages
45
Reaction score
0

Homework Statement


In deriving the formula
div v = \frac{∂v_{x}}{∂x} + \frac{∂v_{y}}{∂y} + \frac{∂v_{z}}{∂z}
we used a rectangular solid infinitesimal volume; however, any shape will do (although the calculation gets harder). To see an example, derive the same formula using the prism-shaped volume shown (figure attached). This could be a volume element next to an irregular surface.


Homework Equations


Definition of divergence

div v = lim Δτ→0 \frac{\int v \cdot da}{Δτ} where Δτ = small volume and the integral is a over a closed surface bound Δτ


The Attempt at a Solution


So I am having some issue with this question. A thing to note is that we are approximating the integral as just v\circda where v is at some point on the surface. This is due to it being an infinitesimal volume.

The main problem I am having is I think I am making a mistake on the top face somehow. If you look at figure 2 which is my crude drawing to represent n it is then

n = (cos\theta jhat + sin\theta khat)

So then for the top face if h = the slanted side
da = hΔx(cos\theta jhat + sin\theta khat)
=Δx(Δz jhat + Δy khat) because h can be expressed in terms of sin and cos of the other sides.

so then v dot da = v_{y}(x, y, z)ΔxΔz + v_{z}(x,y,z)ΔxΔy

hopefully so far so good. Now for the other faces

bottom

da = ΔxΔy (-khat direction)

v dot da = -v_{z}(x, y, z-\frac{1}{2}Δz)ΔxΔy

back(zx plane)

da = ΔxΔz

v dot da = -v_{y}(x, y-\frac{1}{2}Δy, z)ΔxΔz

so then when I put it all together and divide by Δτ = \frac{1}{2}ΔxΔyΔz

it almost looks like the definition of a derivative except I am left with a 1/2. What did I miss? Any help would be greatly appreciated and if you need me to clarify let me know.
 

Attachments

  • Figure.png
    Figure.png
    1.8 KB · Views: 499
  • figure2.png
    figure2.png
    2 KB · Views: 506
Physics news on Phys.org
Hey guys, I would really appreciate some help so if there is something I was unclear about let me know and I will try and clarify further thanks.
 
Note ##f(x+a) \approx f(x) + f'(x)\:a## for small ##a##.

Likewise ##f(x-a) \approx f(x) - f'(x)\:a##

Thus, how would you approximate ##V_y(x, y-\frac{\Delta y}{2}, z)##?
 
So

=\frac{[V_{y}(x,y,z)-V_{y}(x, y-\frac{1}{2}Δy,z)]}{\frac{1}{2}Δy}
=V_{y}(x,y,z) - V_{y}(x,y,z) + \frac{∂v_{y}}{∂y}(\frac{1}{2}Δy) / (\frac{1}{2}Δy)
=\frac{∂v_{y}}{∂y}

correct?

Sorry for the poor formatting I am still getting used to this latex stuff
 
Yes, that's correct.
 
  • Like
Likes   Reactions: 1 person
Okay thank you again!
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 9 ·
Replies
9
Views
7K
  • · Replies 7 ·
Replies
7
Views
1K
Replies
8
Views
3K