필터 지우기
필터 지우기

how to convert u(r,z) (axisymmetric) data to u(x,y,z)??

조회 수: 1 (최근 30일)
Udit Srivastava
Udit Srivastava 2017년 1월 16일
댓글: Udit Srivastava 2017년 1월 22일
I have an axisymmetric velocity vector field in cylindrical coordinate system (r,z), where r is the radius (sqrt(x^2+y^2)) and z is the axis.
theta is the angle between the radius and x-axis and actually revolves around z-axis.
My question is:
if u(r,z) is the velocity vector in cylindrical coordinate system, then
how to convert u(r,z) (axisymmetric) data to u(x,y,z)??

답변 (1개)

Roger Stafford
Roger Stafford 2017년 1월 16일
Probably I don't understand your question, but it would seem that the following is the obvious answer, where uppercase 'U' is the function of x, y, and z and lowercase 'u' is the function of 'r' and 'z':
U(x,y,z) = u(sqrt(x^2+y^2),z)
  댓글 수: 1
Udit Srivastava
Udit Srivastava 2017년 1월 22일
sqrt(x^2+y^2) may not be an integer and I think fractional indexing is not possible in MATLAB.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by