8 views (last 30 days)

I have results for velocity and temperature due to a flow when you choose fix theta and phi in spherical polar coordinates and move out in the radial direction at steps of 0.2 at a time, so that the radial coordinate goes from 1 to 10 in steps of 0.2.

Basically the result that you get is a 4 x 46 array, so that's 46 column vectors where the components are thought of as [v1, v2, v3, theta], so you have 46 column vectors giving the velocity vector and temperature at each position on the radial line (the velocity vector is in Cartesian coordinates however).

I need to plot separate graphs where I take the radial component of the velocity, the polar component of the velocity and the temperature and then plot against radius if that makes sense. So there will be a black circle on the plot at r = 1 for the radial component of the velocity in the first vector in the array, then at r = 1.2 another dot for the radial component of the velocity of the second vector in the array, and so on. Please let me know if my intention is not clear.

Sign in to answer this question.

Opportunities for recent engineering grads.

Apply Today
## 3 Comments

## Direct link to this comment

https://es.mathworks.com/matlabcentral/answers/475671-plotting-a-figure-for-velocity-temperature-as-one-moves-along-a-radial-line-in-steps-of-0-2#comment_733870

⋮## Direct link to this comment

https://es.mathworks.com/matlabcentral/answers/475671-plotting-a-figure-for-velocity-temperature-as-one-moves-along-a-radial-line-in-steps-of-0-2#comment_733870

## Direct link to this comment

https://es.mathworks.com/matlabcentral/answers/475671-plotting-a-figure-for-velocity-temperature-as-one-moves-along-a-radial-line-in-steps-of-0-2#comment_733911

⋮## Direct link to this comment

https://es.mathworks.com/matlabcentral/answers/475671-plotting-a-figure-for-velocity-temperature-as-one-moves-along-a-radial-line-in-steps-of-0-2#comment_733911

## Direct link to this comment

https://es.mathworks.com/matlabcentral/answers/475671-plotting-a-figure-for-velocity-temperature-as-one-moves-along-a-radial-line-in-steps-of-0-2#comment_793796

⋮## Direct link to this comment

https://es.mathworks.com/matlabcentral/answers/475671-plotting-a-figure-for-velocity-temperature-as-one-moves-along-a-radial-line-in-steps-of-0-2#comment_793796

Sign in to comment.