If v denotes the flow velocity, then for a velocity potential function Φ, v can be represented as the gradient of a scalar function Φ :
v=∇Φ =∂x∂Φi+∂y∂Φj+∂z∂Φk.
In our case, ∂x∂Φ=u=aysinxy, ∂y∂Φ=v=axsinxy.
Then Φ(x,y)=∫aysinxydx=−acosxy+C(y), and therefore,
∂y∂Φ=axsinxy+C′(y).
It follows that axsinxy+C′(y)=axsinxy, and consequently, C′(y)=0. Then C(y)=C, and we conclude that
Φ(x,y)=−acosxy+C.
Comments