Phi Derivation From Psi - Stream Function and Velocity Potential Function

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 18

Example-1: ψ=−ln ⁡(x 2 + y 2)

Solution:
∂ψ
For Stream Function, u=
∂y
∂φ
And for Velocity Potential Function, u=
∂x
−∂ψ
Similarly, for Stream Function, v=
∂x
∂φ
And for Velocity Potential Function, v=
∂y
Hence, on comparing v and u, we get;
−∂ ψ ∂ φ
=
∂x ∂ y
∂ψ −∂ φ
or = ---- (1)
∂x ∂y
and,
∂ψ ∂ φ
= ---- (2)
∂ y ∂x
The left hand sides of equ-(1) and equ-(2) can be calculated as;
∂ψ ∂
= (−ln ( x2 + y 2 ) ) ∂ψ −2 x
= 2 2
∂x x +y
---- (3)
∂x ∂x
∂ψ ∂
and = (−ln ( x 2+ y 2) ) ∂ ψ = −2 y
---- (4)
∂y ∂y ∂ y x + y2
2

Now, putting values from equ-(3) and equ-(4) into equ-(1) and equ-(2), we get;
−2 x −∂ φ 2 x ∂φ
= =
2
x +y 2
∂y x +y ∂ y
2 2

2x
∂ φ= ∂y
x + y2
2

Taking integration;
2x
∫ ∂ φ=∫ x2 + y 2 ∂ y

φ=2 tan −1 ( yx )+ f (x ) φ2 =tan ( xy )+f ( x )


−1
1 ---- (5)

Similarly, from equ-(2) on putting the value from equ-(4), we get;


−2 y ∂ φ 2 ∂φ
= =
x +y ∂x x +y ∂ y
2 2 2 2

−2 y
∂ φ= 2 2
∂x
x +y
Taking integration;
2y
∫ ∂ φ=−∫ x 2+ y2 ∂ x

φ=−2 tan −1 ( xy )+ f ( y ) φ2 =−tan ( xy )+ f ( y)


−1
1 ---- (6)

Comparing equ-(5) and equ-(6), we get;

f 1 ( x )=−tan
−1
( xy ) f ( y )=tan ( yx )
1
−1

Hence,

φ=f 1 ( x ) +f 1 ( y ) φ=−tan
−1
( xy )+tan ( xy )
−1

Which is the required solution.

Example-2: ψ=5 x−3 y

Solution:
∂ψ
For Stream Function, u=
∂y
∂φ
And for Velocity Potential Function, u=
∂x
−∂ψ
Similarly, for Stream Function, v=
∂x
∂φ
And for Velocity Potential Function, v=
∂y
Hence, on comparing v and u, we get;
−∂ ψ ∂ φ
=
∂x ∂ y
∂ψ −∂ φ
or = ---- (1)
∂x ∂y
and,
∂ψ ∂ φ
= ---- (2)
∂ y ∂x
The left hand sides of equ-(1) and equ-(2) can be calculated as;
∂ψ ∂ ∂ψ
= ( 5 x−3 y ) =5 ---- (3)
∂x ∂x ∂x
∂ψ ∂ ∂ψ
and = ( 5 x−3 y ) =−3 ---- (4)
∂y ∂y ∂y
Now, putting values from equ-(3) and equ-(4) into equ-(1) and equ-(2), we get;
−∂ φ
5= Type equation here .
∂y
∂ φ=−5 ∂ y
Taking integration;

∫ ∂ φ=∫ 5 ∂ y
φ=−5 y +f ( x) ---- (5)
Similarly, from equ-(2) after putting the value from equ-(4), we get;
∂φ
−3=
∂x
∂ φ=−3 ∂ x
Taking integration;

∫ ∂ φ=−∫ 3 ∂ x
φ=−3 x+ f ( y) ---- (6)
Comparing equ-(5) and equ-(6), we get;
f ( x )=−3 x f ( y ) =−5 y
Hence,
φ=f ( x ) + f ( y ) φ=−3 x−5 y
Which is the required solution.

2 2
x y
Example-3: ψ= −xy −
2 2
Solution:
∂ψ
For Stream Function, u=
∂y
∂φ
And for Velocity Potential Function, u=
∂x
−∂ψ
Similarly, for Stream Function, v=
∂x
∂φ
And for Velocity Potential Function, v=
∂y
Hence, on comparing v and u, we get;
−∂ ψ ∂ φ
=
∂x ∂ y
∂ψ −∂ φ
or = ---- (1)
∂x ∂y
and,
∂ψ ∂ φ
= ---- (2)
∂ y ∂x
The left hand sides of equ-(1) and equ-(2) can be calculated as;

( ) ∂ψ∂x =x − y
2 2
∂ψ ∂ x y
= −xy− ---- (3)
∂x ∂x 2 2

∂y ∂y(2
−xy− )
2 2
∂ψ ∂ x y ∂ψ
and = =−x− y ---- (4)
2 ∂y

Now, putting values from equ-(3) and equ-(4) into equ-(1) and equ-(2), we get;
−∂ φ
x− y =
∂y
∂ φ=( y −x) ∂ y
Taking integration;

∫ ∂ φ=∫ ( y−x)∂ y
− y (2 x − y)
φ= +f ( x)
2

−2 xy − y 2
φ= + f ( x)
2
2
−2 xy y
φ= + +f (x)
2 2
y2
φ=−xy + + f (x) ---- (5)
2
Similarly, from equ-(2) after putting the value from equ-(4), we get;
−∂ φ
−x− y =
∂x
∂ φ=−(x + y ) ∂ x
Taking integration;

∫ ∂ φ=−∫ (x+ y) ∂ x
−x( x+2 y )
φ= + f (x)
2

−x2 +2 xy
φ= +f (x)
2
2
−2 xy x
φ= − + f (x)
2 2
x2
φ=−xy− + f ( x) ---- (6)
2
Comparing equ-(5) and equ-(6), we get;

y2 −x 2
f ( x )= −xy f ( y ) = −xy
2 2
Hence,

y2 x2
φ=f ( x ) + f ( y ) φ= − −xy
2 2

y 2−x 2
φ= −xy
2
Which is the required solution.

Example-4: ψ=xy

Solution:
∂ψ
For Stream Function, u=
∂y
∂φ
And for Velocity Potential Function, u=
∂x
−∂ψ
Similarly, for Stream Function, v=
∂x
∂φ
And for Velocity Potential Function, v=
∂y
Hence, on comparing v and u, we get;
−∂ ψ ∂ φ
=
∂x ∂ y
∂ψ −∂ φ
or = ---- (1)
∂x ∂y
and,
∂ψ ∂ φ
= ---- (2)
∂ y ∂x
The left hand sides of equ-(1) and equ-(2) can be calculated as;
∂ψ ∂ ∂ψ
= ( xy ) =y ---- (3)
∂x ∂x ∂x
∂ψ ∂ ∂ψ
and = ( xy ) =x ---- (4)
∂y ∂y ∂y
Now, putting values from equ-(3) and equ-(4) into equ-(1) and equ-(2), we get;
−∂ φ
y=
∂y
∂ φ=− y ∂ y
Taking integration;

∫ ∂ φ=−∫ y ∂ y
− y2
φ= + f ( x) ---- (5)
2
Similarly, from equ-(2) after putting the value from equ-(4), we get;
∂φ
x=
∂x
∂ φ=x ∂ x
Taking integration;

∫ ∂ φ=∫ x ∂ x
2
x
φ= +f ( y) ---- (6)
2
Comparing equ-(5) and equ-(6), we get;

x2 − y2
f ( x )= f ( y )=
2 2
Hence,
2 2
x y
φ=f ( x ) + f ( y ) φ= −
2 2
2 2
x −y
φ=
2
Which is the required solution.

Example-5: ψ=tan
−1
( yx )
Solution:
∂ψ
For Stream Function, u=
∂y
∂φ
And for Velocity Potential Function, u=
∂x
−∂ψ
Similarly, for Stream Function, v=
∂x
∂φ
And for Velocity Potential Function, v=
∂y
Hence, on comparing v and u, we get;
−∂ ψ ∂ φ
=
∂x ∂ y
∂ψ −∂ φ
or = ---- (1)
∂x ∂y
and,
∂ψ ∂ φ
= ---- (2)
∂ y ∂x
The left hand sides of equ-(1) and equ-(2) can be solved for Stream Function ψ as;
∂ψ −y
( ( ))
∂ψ ∂ y =

( )
= tan −1 ∂x 2y
2
∂x ∂x x x 2
+1
x
∂ψ −y
=

( )
∂x y +x
2 2
x2 2
x
∂ψ −y
= ---- (3)
∂ x x 2+ y 2

∂ψ
=

tan −1
y
( ( )) ∂ψ
=
1

( )
and ∂y ∂y x ∂y y
2
x 2 +1
x
∂ψ 1
=

( )
∂y y +x
2 2
x 2
x
∂ψ x
= ---- (4)
∂ y x 2+ y 2

Putting values from equ-(3) and equ-(4) into equ-(1) and equ-(2), we get;
−y −∂ φ
=
2
x +y 2
∂y

y ∂φ
=
x +y ∂ y
2 2

y
∂ φ= ∂y
x + y2
2

Taking integration;
y
∫ ∂ φ=∫ x2 + y 2 ∂ y
2 2
ln ⁡(x + y )
φ= + f (x) ---- (5)
2
Similarly, from equ-(2) after putting the value from equ-(4), we get;
x ∂φ
=
x +y ∂x
2 2

x
∂ φ= ∂x
x + y2
2

Taking integration;
x
∫ ∂ φ=∫ x2 + y 2 ∂ x
ln ⁡(x 2 + y 2)
φ= + f ( y) ---- (6)
2
Comparing equ-(5) and equ-(6), we get;
2 2
ln ⁡( x + y )
f ( x )=f ( y )=
2
Hence,

ln ⁡(x 2 + y 2)
φ=
2
Which is the required solution.

Example-6: ψ=cos ⁡(xy )

Solution:
∂ψ
For Stream Function, u=
∂y
∂φ
And for Velocity Potential Function, u=
∂x
−∂ψ
Similarly, for Stream Function, v=
∂x
∂φ
And for Velocity Potential Function, v=
∂y
Hence, on comparing v and u, we get;
−∂ ψ ∂ φ
=
∂x ∂ y
∂ψ −∂ φ
or = ---- (1)
∂x ∂y
and,
∂ψ ∂ φ
= ---- (2)
∂ y ∂x
The left hand sides of equ-(1) and equ-(2) can be solved for Stream Function ψ as;
∂ψ ∂ ∂ψ
= ( cos ⁡(xy ) ) =− ysin( xy) ---- (3)
∂x ∂x ∂x
∂ψ ∂ ∂ψ
and = ( cos ⁡( xy ) ) =−xsin(xy ) ---- (4)
∂y ∂y ∂y
Putting values from equ-(3) and equ-(4) into equ-(1) and equ-(2), we get;
−∂ φ
− ysin(xy )=
∂y
∂φ
ysin(xy )=
∂y
∂ φ= ysin( xy )∂ y
Taking integration;

∫ ∂ φ=∫ ysin(xy )∂ y
sin ( xy )−xycos( xy)
φ= 2
+f ( x) ---- (5)
x
Similarly, from equ-(2) after putting the value from equ-(4), we get;
∂φ
−xsin(xy )=
∂x
∂ φ=−xsin( xy )∂ x
Taking integration;

∫ ∂ φ=−∫ xsin( xy ) ∂ x
φ=− ( sin ( xy )− xycos ( xy )
y
2 )−f ( y ) ---- (6)

Comparing equ-(5) and equ-(6), we get;

f ( x )=− ( sin ( xy )−xycos ( xy )


y
2 )
sin ( xy )− xycos( xy )
−f ( y ) =
x2

f ( y ) =−
( sin ( xy )−xycos ( xy )
x2 )

Hence,
φ=f ( x ) + f ( y)

φ=−
(
sin ( xy )− xycos ( xy )
y 2

)(
sin ( xy )−xycos ( xy )
x2 )
φ=−( sin ( xy )−xycos ( xy ))
( )
1 1
+
y 2 x2

))( )
x2 + y2
φ=(−sin ( xy ) + xycos ( xy
x2 y2

Which is the required solution.

Example-7: ψ=sin ⁡(xy )

Solution:
∂ψ
For Stream Function, u=
∂y
∂φ
And for Velocity Potential Function, u=
∂x
−∂ψ
Similarly, for Stream Function, v=
∂x
∂φ
And for Velocity Potential Function, v=
∂y
Hence, on comparing v and u, we get;
−∂ ψ ∂ φ
=
∂x ∂ y
∂ψ −∂ φ
or = ---- (1)
∂x ∂y
and,
∂ψ ∂ φ
= ---- (2)
∂ y ∂x
The left hand sides of equ-(1) and equ-(2) can be solved for Stream Function ψ as;
∂ψ ∂ ∂ψ
= ( sin ⁡(xy) ) = ycos(xy ) ---- (3)
∂x ∂x ∂x
∂ψ ∂ ∂ψ
and = ( sin ⁡(xy ) ) =xcos(xy ) ---- (4)
∂y ∂y ∂y
Putting values from equ-(3) and equ-(4) into equ-(1) and equ-(2), we get;
−∂ φ
ycos ( xy )=
∂y
∂ φ=− ycos( xy )∂ y
Taking integration;

∫ ∂ φ=−∫ ycos ( xy ) ∂ y
φ=−
( cos ( xy )+ xysin ( xy )
x
2 )−f (x ) ---- (5)

Similarly, from equ-(2) after putting the value from equ-(4), we get;
∂φ
xcos ( xy)=
∂x
∂ φ=xcos ( xy) ∂ x
Taking integration;

∫ ∂ φ=∫ xcos (xy )∂ x


φ=
( cos ( xy ) + xysin ( xy )
y2 ) + f ( y) ---- (6)

Comparing equ-(5) and equ-(6), we get;

f ( x )=−
( cos ( xy ) + xysin ( xy )
y2 )
f ( y ) =−
( cos ( xy ) + xysin ( xy
x2
)
)

Hence,
φ=f ( x ) + f ( y)

φ=¿− (
cos ( xy ) + xysin ( xy )
y 2

x2)(
cos ( xy )+ xysin ( xy )
)
φ=−( cos ( xy )+ xysin ( xy ) )
( 1 1
2
y x
+ 2
)
( )
2 2
x +y
φ=−( cos ( xy )+ xysin ( xy ) ) 2 2
x y

Which is the required solution.

Example-8: ψ=(x 2+ y 2)

Solution:
∂ψ
For Stream Function, u=
∂y
∂φ
And for Velocity Potential Function, u=
∂x
−∂ψ
Similarly, for Stream Function, v=
∂x
∂φ
And for Velocity Potential Function, v=
∂y
Hence, on comparing v and u, we get;
−∂ ψ ∂ φ
=
∂x ∂ y
∂ψ −∂ φ
or = ---- (1)
∂x ∂y
and,
∂ψ ∂ φ
= ---- (2)
∂ y ∂x
The left hand sides of equ-(1) and equ-(2) can be solved for Stream Function ψ as;
∂ψ ∂ 2 2 ∂ψ
= ( x + y ) =2 x ---- (3)
∂x ∂x ∂x
∂ψ ∂ 2 2
and = (x + y )
∂y ∂y
∂ψ
=2 y ---- (4)
∂y
Putting values from equ-(3) and equ-(4) into equ-(1) and equ-(2), we get;
−∂ φ
2 x=
∂y
∂ φ=−2 x ∂ y
Taking integration;

∫ ∂ φ=−∫ 2 x ∂ y
φ=−2 xy−f ( x) ---- (5)
Similarly, from equ-(2) after putting the value from equ-(4), we get;
∂φ
2 y=
∂x
∂ φ=2 y ∂ x
Taking integration;

∫ ∂ φ=∫ 2 y ∂ x
φ=2 xy+ f ( y ) ---- (6)
Comparing equ-(5) and equ-(6), we get;
−f ( x )=2 xy

or f ( x )=−2 xy
f ( y ) =−2 xy

Which means that f ( x )=f ( y )=−2 xy


Hence,
φ=−2 xy
Which is the required solution.

1
Example-9: ψ=x 2 + y 2 + ( x 2+ y 2) 2

Solution:
∂ψ
For Stream Function, u=
∂y
∂φ
And for Velocity Potential Function, u=
∂x
−∂ψ
Similarly, for Stream Function, v=
∂x
∂φ
And for Velocity Potential Function, v=
∂y
Hence, on comparing v and u, we get;
−∂ ψ ∂ φ
=
∂x ∂ y
∂ψ −∂ φ
or = ---- (1)
∂x ∂y
and,
∂ψ ∂ φ
= ---- (2)
∂ y ∂x
The left hand sides of equ-(1) and equ-(2) can be solved for Stream Function ψ as;

(
∂ψ ∂ 2 2 ( 2 2 ) 2 ∂ψ =2 x + x )
1

= x +y + x +y ---- (3)
∂x ∂x ∂x √ x2 + y2
( )
1
and ∂ψ ∂ 2 2 ( 2 2 )2
= x +y + x + y
∂y ∂y
∂ψ y
=2 y + 2 2 ---- (4)
∂y √x + y
Putting values from equ-(3) and equ-(4) into equ-(1) and equ-(2), we get;
x −∂ φ
2 x+ =
√x +y 2 2 ∂y

∂ φ=− 2 x +
( √x 2
x
+y
2 ) ∂y

Taking integration;
x
∫ ∂ φ=−∫ (2 x + )∂ y
√x 2
+y
2

φ=−2 xy−xlog ( y + √ x2 + y 2 ) −f ( x ) ---- (5)

Similarly, from equ-(2) after putting the value from equ-(4), we get;
y ∂φ
2 y+ =
√x + y 2 2 ∂x

(
∂ φ= 2 y +
√x
y
2
+ y2 ) ∂x
Taking integration;
y
∫ ∂ φ=∫ (2 y + )∂ x
√ x + y2
2

φ=2 xy+ ylog ( x + √ x + y ) + f ( y )


2 2
---- (6)

Comparing equ-(5) and equ-(6), we get;

−f ( x )=2 xy + ylog ( x+ √ x 2 + y 2 )

or f ( x )=−2 xy− ylog ( x + √ x 2+ y2 )

f ( y ) =−2 xy −xlog ( y+ √ x 2 + y 2 )
Hence,

φ=−2 xy−xlog ( y + √ x + y ) − ylog ( x + √ x + y )


2 2 2 2

Which is the required solution.

1
Example-10: ψ=x 2 + y 2 + ( x 2+ y 2) 2

Solution:
∂ψ
For Stream Function, u=
∂y
∂φ
And for Velocity Potential Function, u=
∂x
−∂ψ
Similarly, for Stream Function, v=
∂x
∂φ
And for Velocity Potential Function, v=
∂y
Hence, on comparing v and u, we get;
−∂ ψ ∂ φ
=
∂x ∂ y
∂ψ −∂ φ
or = ---- (1)
∂x ∂y
and,
∂ψ ∂ φ
= ---- (2)
∂ y ∂x
The left hand sides of equ-(1) and equ-(2) can be solved for Stream Function ψ as;

( ∂ψ x
)
1
∂ψ ∂ 2 2
x + y −( x + y ) ∂ x =2 x− 2 2 ---- (3)
2 2 2
=
∂x ∂x √x +y
( )
1
and ∂ψ ∂ 2 2 ( 2 2 )2
= x +y − x +y
∂y ∂y
∂ψ y
=2 y− 2 2 ---- (4)
∂y √x + y
Putting values from equ-(3) and equ-(4) into equ-(1) and equ-(2), we get;
x −∂ φ
2 x− =
√x 2
+y
2 ∂y

∂ φ=− 2 x−
( x
√ x + y2
2 ) ∂y

Taking integration;
x
∫ ∂ φ=−∫ (2 x− )∂ y
√ x + y2
2

φ=−2 xy+ xlog ( y + √ x + y )−f ( x )


2 2
---- (5)

Similarly, from equ-(2) after putting the value from equ-(4), we get;
y ∂φ
2 y− =
√x 2
+y
2 ∂x

(
∂ φ= 2 y −
y
√ x + y2
2 ) ∂x

Taking integration;
y
∫ ∂ φ=∫ (2 y − )∂ x
√ x + y2
2

φ=2 xy− ylog ( x+ √ x 2 + y 2 ) + f ( y ) ---- (6)

Comparing equ-(5) and equ-(6), we get;

−f ( x )=2 xy− ylog ( x + √ x 2+ y 2 )

or f ( x )=−2 xy + ylog ( x+ √ x 2 + y 2 )

f ( y ) =−2 xy + xlog ( y + √ x 2+ y 2)

Hence,

φ=−2 xy+ xlog ( y + √ x + y )− ylog ( x + √ x + y )


2 2 2 2
Which is the required solution.

You might also like