Group Abstract Group Abstract

Message Boards Message Boards

0
|
257 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

How to transform a general vector using TransformedField

Posted 1 month ago
POSTED BY: Xiangyang Zhou
2 Replies

The cartesian field {x, y, z} is not general, it is radial. No wonder that in spherical coordinates it has zero angular components. The documentation of TransformedField has this example in the plane:

TransformedField[ "Cartesian" -> "Polar", {x, y},
   {x, y} -> {r, \[Theta]}] // Simplify

This is a general vector field:

TransformedField["Cartesian" -> "Spherical",
  {f[x, y, z], g[x, y, z], h[x, y, z]},
  {x, y, z} -> {r, \[Theta], \[CurlyPhi]}] // Simplify
POSTED BY: Gianluca Gorni
Posted 1 month ago

That makes more sense now. Thank you!

POSTED BY: Xiangyang Zhou
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard