Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9084 > unrolled thread

Symbolic tensor analysis in Mathematica 8

Started byMisery Slave <miseryslave@gmail.com>
First post2012-03-16 11:35 +0000
Last post2012-03-29 08:09 +0000
Articles 4 — 4 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Symbolic tensor analysis in Mathematica 8 Misery Slave <miseryslave@gmail.com> - 2012-03-16 11:35 +0000
    Re: Symbolic tensor analysis in Mathematica 8 JUN <noeckel@gmail.com> - 2012-03-17 07:53 +0000
    Is there SphericalListPlot3D? Ted Sariyski <tsariysk@craft-tech.com> - 2012-03-28 09:59 +0000
    Re: Is there SphericalListPlot3D? "djmpark" <djmpark@comcast.net> - 2012-03-29 08:09 +0000

#9084 — Symbolic tensor analysis in Mathematica 8

FromMisery Slave <miseryslave@gmail.com>
Date2012-03-16 11:35 +0000
SubjectSymbolic tensor analysis in Mathematica 8
Message-ID<jjv8hs$pho$1@smc.vnet.net>
Hello,

Recently I begun to use Mathematica. For now I'm trying to learn to
use it properly.
The first tasks I would like to play with, are vector and tensor
analysis.
The question is:
For simplicity I would like to have vector definition:

v={v1,v2,v3} or v={vx,vy,vz}

where 1,2,3 or x,y,z are subscripts or superscripts. How do I achieve
that? When I write something like that I get the recursion which I do
not want. And the other thing is: how do I tell Mathematica that for
example vx is a function of x,y,z to get something like:

vx=f(x,y,z), vy=g(x,y,z), vz=h(x,y,z)

to describe vector field. But during derivations I may not know
formulas for f,g,h. But when counting the derivative I would like to
get

Dv/dx={f'(x,y,z),g'(x,y,z),h'(x,y,z)}
and so on.

Thanks in advance and
Best regards,
Misery

[toc] | [next] | [standalone]


#9099

FromJUN <noeckel@gmail.com>
Date2012-03-17 07:53 +0000
Message-ID<jk1fu5$50u$1@smc.vnet.net>
In reply to#9084
On Friday, March 16, 2012 4:35:24 AM UTC-7, Misery Slave wrote:
> Hello,
> 
> Recently I begun to use Mathematica. For now I'm trying to learn to
> use it properly.
> The first tasks I would like to play with, are vector and tensor
> analysis.
> The question is:
> For simplicity I would like to have vector definition:
> 
> v={v1,v2,v3} or v={vx,vy,vz}
> 
> where 1,2,3 or x,y,z are subscripts or superscripts. How do I achieve
> that? When I write something like that I get the recursion which I do
> not want. And the other thing is: how do I tell Mathematica that for
> example vx is a function of x,y,z to get something like:
> 
> vx=f(x,y,z), vy=g(x,y,z), vz=h(x,y,z)
> 
> to describe vector field. But during derivations I may not know
> formulas for f,g,h. But when counting the derivative I would like to
> get
> 
> Dv/dx={f'(x,y,z),g'(x,y,z),h'(x,y,z)}
> and so on.
> 
> Thanks in advance and
> Best regards,
> Misery

You may find the following posts useful:

(a)
General discussion on how to make subscript notation work:
http://mathematica.stackexchange.com/questions/3020/why-cant-i-define-vector-v-as-having-subscripted-elements-v-1-v-2-v-3

(b)
More specific example of how I would display objects for vector analysis:
https://groups.google.com/d/msg/comp.soft-sys.math.mathematica/VBXq2LPmxD8/YeNpmyOWUYwJ

Jens

[toc] | [prev] | [next] | [standalone]


#9250 — Is there SphericalListPlot3D?

FromTed Sariyski <tsariysk@craft-tech.com>
Date2012-03-28 09:59 +0000
SubjectIs there SphericalListPlot3D?
Message-ID<jkunef$arj$1@smc.vnet.net>
In reply to#9084
Hi,
I have two related questions.

1. I have a discrete set of data, {{n1,rad1},{n2,rad2},...}, where n1,n2 
are unit vectors (directions) and rad1,rad2,... are scalars. How can I  
plot rad on the unit sphere?

2. I would like to triangulate the sphere based on the solution {rad} so 
that the mesh is denser where the rad is higher.

Any suggestions are highly appreciated.
Thanks,
--Ted


[toc] | [prev] | [next] | [standalone]


#9283 — Re: Is there SphericalListPlot3D?

From"djmpark" <djmpark@comcast.net>
Date2012-03-29 08:09 +0000
SubjectRe: Is there SphericalListPlot3D?
Message-ID<jl15bh$lfp$1@smc.vnet.net>
In reply to#9084
Ted,

Why don't you make a 2D contour plot vs. latitude and longitude? You could
possibly map this to the oval shape that is often used, for example to show
the cosmic microwave background. (I'm not certain of the name and
transformation for this off hand, but I'm sure its readily available.)

That kind of plot is easy to view and would be familiar to most viewers. It
does have the advantage that it shows the global picture.

It is also possible to make a 2D contour plot and then map it to a sphere. I
have routines for doing this in the Presentations application, but you could
probably work it out fairly easily. A contour plot on a sphere is nice, but
it does have the problem than one can't see the entire global picture at
once. Maybe a combination of the two types of plots?


David Park
djmpark@comcast.net 
http://home.comcast.net/~djmpark/index.html 




From: Ted Sariyski [mailto:tsariysk@craft-tech.com] 


Hi,
I have two related questions.

1. I have a discrete set of data, {{n1,rad1},{n2,rad2},...}, where n1,n2 are
unit vectors (directions) and rad1,rad2,... are scalars. How can I plot rad
on the unit sphere?

2. I would like to triangulate the sphere based on the solution {rad} so
that the mesh is denser where the rad is higher.

Any suggestions are highly appreciated.
Thanks,
--Ted



[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web