> restart:

Standard Worksheet SSSPF

Buch3

Physical quatities are defined in the initialization file

> grts();

`GRTensorII Version 1.79 (R4)`

`6 February 2001`

`Developed by Peter Musgrave, Denis Pollney and Kay...

`Copyright 1994-2001 by the authors.`

`Latest version available from: http://grtensor.phy...

Created definition for G(up,dn) 

Created definition for rho

Created definition for Iso

Created definition for p

Created definition for gthetatheta

Created definition for R(dn,dn,up,up) 

Created definition for mass

`D:/Xitami/webpages/GRTensorJ/Metricss`

> qload(buchthree);

`Default spacetime` = buchthree

`For the buchthree spacetime:`

Coordinates

x(up)

`x `^`1` = xi, `x `^`2` = theta, `x `^`3` = phi, `x...

`Line element`

` ds`^2 = R^2*(-Pi*xi+Pi*xi*alpha+sin(Pi*xi))*(-2+a...
` ds`^2 = R^2*(-Pi*xi+Pi*xi*alpha+sin(Pi*xi))*(-2+a...

Constraints = []

`H.Buchdahl,  ApJ. , 147, 3102 (1967), J. Lattimer ...

Physical parameters

> grcalc(Iso,rho,p,mass):

`CPU Time ` = .171

> gralter(_,2,6,7):

Component simplification of a GRTensorII object:

Applying routine `simplify[trig]` to object Iso

Applying routine `simplify[trig]` to object rho

Applying routine `simplify[trig]` to object p

Applying routine `simplify[trig]` to object mass

Applying routine expand to object Iso

Applying routine expand to object rho

Applying routine expand to object p

Applying routine expand to object mass

Applying routine factor to object Iso

Applying routine factor to object rho

Applying routine factor to object p

Applying routine factor to object mass

`CPU Time ` = .150

> grdisplay(_);

`For the buchthree spacetime:`

Iso

Iso = `All components are zero`

rho

rho = 1/8*(2*Pi*xi*alpha*sin(Pi*xi)-2*Pi*xi*sin(Pi*...

p

p = -1/8*Pi*(cos(Pi*xi)-1)*(cos(Pi*xi)+1)*(-1+alpha...

mass

mass = -1/2*(R^2*(-Pi*xi+Pi*xi*alpha+sin(Pi*xi))^2/...
mass = -1/2*(R^2*(-Pi*xi+Pi*xi*alpha+sin(Pi*xi))^2/...
mass = -1/2*(R^2*(-Pi*xi+Pi*xi*alpha+sin(Pi*xi))^2/...
mass = -1/2*(R^2*(-Pi*xi+Pi*xi*alpha+sin(Pi*xi))^2/...

Perssure plots

> pj:=subs(grcomponent(p,[])):

> p1:=subs(R=1,alpha=7,pj):

> p2:=subs(R=1,alpha=6,pj):

> p3:=subs(R=1,alpha=5,pj):

> p4:=subs(R=1,alpha=4,pj):

> plot([p1,p2,p3,p4],xi=0..1,color=[red,green,blue,black],title="Pressure Buch3");

[Maple Plot]

Energy density plots

> rhoj:=subs(grcomponent(rho,[])):

> rho1:=subs(R=1,alpha=7,rhoj):

> rho2:=subs(R=1,alpha=6,rhoj):

> rho3:=subs(R=1,alpha=5,rhoj):

> rho4:=subs(R=1,alpha=4,rhoj):

> plot([rho1,rho2,rho3,rho4],xi=0..1,color=[red,green,blue,black],title="Energy Density Buch3");

[Maple Plot]

Mass plots

> mj:=subs(grcomponent(mass,[])):

> mj1:=subs(R=1,alpha=7,mj):

> mj2:=subs(R=1,alpha=6,mj):

> mj3:=subs(R=1,alpha=5,mj):

> mj4:=subs(R=1,alpha=4,mj):

> plot([mj1,mj2,mj3,mj4],xi=0..1,color=[red,green,blue,black],title="Mass Buch3");

[Maple Plot]

Trapping

Potential impac parameter

> B:=sqrt(grcomponent(g(dn,dn),[theta,theta]))/sqrt(-grcomponent(g(dn,dn),[t,t])):

> Bj:=subs(R=1,B):

> B1:=subs(alpha=7,Bj):

> B2:=subs(alpha=6,Bj):

> B3:=subs(alpha=5,Bj):

> B4:=subs(alpha=4,Bj):

> plot([B1,B2,B3,B4],xi=0.0..1,color=[red,green,blue,black],title="Trapping Buch3");

[Maple Plot]

w - modes

Potential

> V:=1/((Bj^2))*(6+4*Pi*xi^2*R^2*(grcomponent(rho,[])-grcomponent(p,[]))-6*grcomponent(mass,[])/(xi*R)):

> Vj:=subs(R=1,V):

> V1:=subs(alpha=7,Vj):

> V2:=subs(alpha=6,Vj):

> V3:=subs(alpha=5,Vj):

> V4:=subs(alpha=4,Vj):

> plot([V1,V2,V3,V4],xi=0.3..1.0,color=[red,green,blue,black],title="w - modes Buch3");

[Maple Plot]

V:=sqrt(dp/dr/drho/dr)

> vs:=sqrt(diff(grcomponent(p,[]),xi)/(diff(grcomponent(rho,[]),xi))):

> vsj:=subs(R=1,vs):

> vs1:=subs(R=1,alpha=8,vsj):

> vs2:=subs(R=1,alpha=7,vsj):

> vs3:=subs(R=1,alpha=6,vsj):

> vs4:=subs(R=1,alpha=5,vsj):

> plot([vs1,vs2,vs3,vs4],xi=0.1..1,color=[red,green,blue,black],title="V Buch3");

[Maple Plot]

>

>