>
|
|
Set the global environment variable _EnvExplicit to true to insure that the principal null directions are free of expressions.
>
|
|
Example 1. Type I
We calculate the principal null directions for a type spacetime. First define the coordinates to be used and then define the metric.
>
|
|
| (2.1) |
M >
|
|
| (2.2) |
Use the command DGGramSchmidt to form an orthonormal tetrad and the command NullTetrad to obtain a null tetrad for the metric .
>
|
|
| (2.3) |
>
|
|
| (2.4) |
Check that the metric is of Petrov type .
>
|
|
| (2.5) |
For type metrics, there are 4 principal null directions.
>
|
|
| (2.6) |
We can use the GRQuery command to verify that these are principal null directions. For this the WeylTensor of the metric is needed.
M >
|
|
M >
|
|
| (2.7) |
Example 2. Type II
We calculate the principal null directions for a type spacetime. First define the coordinates to be used and then define the metric.
>
|
|
| (2.8) |
M >
|
|
| (2.9) |
Use the command DGGramSchmidt to form an orthonormal tetrad and the command NullTetrad to obtain a null tetrad for the metric .
>
|
|
| (2.10) |
>
|
|
| (2.11) |
A simpler choice of null tetrad can be obtained by a re-ordering of the vectors in the orthonormal tetrad -- this is always the case when one of the coordinate vectors is a null vector. See NullTetrad for the formulas used to calculate a null tetrad from an orthonormal tetrad. This simpler choice leads to a quicker calculation of the principal null directions.
M >
|
|
| (2.12) |
Check that the metric is of Petrov type .
M >
|
|
| (2.13) |
For this example, it is also helpful to calculate the Weyl tensor and use the second calling sequence for PrincipalNullDirections. With this calling sequence all computations are strictly algebraic and assumptions on the ranges of the variables and the parameters can be made to simplify intermediate computations. The Weyl tensor is rather complicated and need not be displayed.
>
|
|
For type metrics, there are 3 principal null directions.
>
|
|
| (2.14) |
We can use the GRQuery command to verify that these are principal null directions.
M >
|
|
| (2.15) |
M >
|
|
| (2.16) |
M >
|
|
| (2.17) |
Example 3. Type III
We calculate the principal null directions for a type spacetime. First define the coordinates to be used and then define the metric.
>
|
|
| (2.18) |
M >
|
|
| (2.19) |
Use the command DGGramSchmidt to form an orthonormal tetrad and the command NullTetrad to obtain a null tetrad for the metric .
>
|
|
| (2.20) |
>
|
|
| (2.21) |
Check that the metric is of Petrov type .
>
|
|
| (2.22) |
For type metrics, there are 2 principal null directions.
>
|
|
| (2.23) |
M >
|
|
| (2.24) |
Of course, we can scale the principal null vectors:
M >
|
|
| (2.25) |
We can use the GRQuery command to verify that these are principal null directions. For this the WeylTensor of the metric is needed.
M >
|
|
M >
|
|
| (2.26) |
M >
|
|
| (2.27) |
Example 4. Type D
We calculate the principal null directions for a type spacetime. First define the coordinates to be used and then define the metric.
>
|
|
| (2.28) |
M >
|
|
| (2.29) |
Use the command DGGramSchmidt to form an orthonormal tetrad and the command NullTetrad to obtain a null tetrad for the metric .
>
|
|
| (2.30) |
>
|
|
| (2.31) |
Check that the metric is of Petrov type D.
>
|
|
| (2.32) |
For type D metrics, there are 2 principal null directions.
>
|
|
| (2.33) |
We can use the GRQuery command to verify that these are principal null directions. For this the WeylTensor of the metric is needed.
M >
|
|
M >
|
|
| (2.34) |
M >
|
|
| (2.35) |
Example 5. Type N
We calculate the principal null directions for a type spacetime. First define the coordinates to be used and then define the metric. The metric is taken from the book ExactSolutions , equation 12.34.
This metric and its adapted null tetrad are stored in the DifferentialGeometry database. See Library and Retrieve.
>
|
|
| (2.36) |
M >
|
|
M >
|
|
| (2.37) |
M >
|
|
| (2.38) |
Check that the metric is of Petrov type .
>
|
|
| (2.39) |
For type N metrics, there is just 1 principal null direction.
>
|
|
| (2.40) |
We can use the GRQuery command to verify that this is a principal null direction. For this the WeylTensor of the metric is needed.
M >
|
|
M >
|
|
| (2.41) |