Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3695
| From | Peter Pein <petsie@dordos.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Help Plotting director fields |
| Date | 2011-07-13 07:10 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ivjgds$29o$1@smc.vnet.net> (permalink) |
| References | <ivh9lc$lq7$1@smc.vnet.net> |
Am 12.07.2011 13:03, schrieb Liquid Crystal:
> Hello,
>
> I am trying to plot a director field for nematic liquid crystals.
> The form of the director is, in pseudo-mathematica
>
> n = {Cos[theta],Sin[theta]}
>
> Where:
>
> theta = s ArcTan[y/x] + theta_0
>
> If you reference the following links, you will see the various
> disinclinations induced in the director field by choosing various s
> and theta_0
>
> http://learnliquid.blogspot.com/2011/07/test.html
>
> However, using the following code I am not able to produce these images.
> Any suggestions?
>
> AAA = {Cos[-1/2 ArcTan[y/x] + 0/2], Sin[-1/2 ArcTan[y/x] + 0/2]}
>
> StreamPlot[AAA, {x, -1, 1}, {y, -1, 1}, StreamPoints -> 12,
> AspectRatio -> 1, StreamScale -> None]
>
> Thank you,
>
> LL
>
Hi,
it works here with ArcTan[x,y] in place of ArcTan[y/x] :-)
Peter
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Help Plotting director fields Liquid Crystal <liqlearner@gmail.com> - 2011-07-12 11:03 +0000
Re: Help Plotting director fields Peter Pein <petsie@dordos.net> - 2011-07-13 07:10 +0000
Re: Help Plotting director fields JUN <noeckel@gmail.com> - 2011-07-14 09:22 +0000
Re: Help Plotting director fields Liquid Crystal <liqlearner@gmail.com> - 2011-07-15 08:11 +0000
csiph-web