Metric perturbation in xAct

342 views
Skip to first unread message

Safinaz Salem

unread,
Oct 12, 2023, 2:27:19 PM10/12/23
to xAct Tensor Computer Algebra
88108A1C-70DE-42A1-874F-13FEB4FD50E2.jpeg
Hello,

I start to learn xAct. I noticed that xAct set a default perturbation to the metric by the above code, then for instance for first order perturbation:Ā 

It gives:Ā 

17A8F574-0DBC-42DB-AFDC-927545792816.jpeg

And Ā I understand thatĀ g[-a, -b]Ā is a diagonal metric :Ā (-1,1,1,1). However, I want to make another perturbation for a new metric:Ā met= a(t)^2 Exp[y] (-1,1,1,1)

And the perturbation is given by:


0A2D6D17-0B3F-4207-A681-98CE85C591C4.jpeg

Can this be fulfilled by xAct? Ā Here the perturbation for each metric componentĀ 
, andĀ Ā is different. And I don’t get how this can be done in xAct. Ā the final expression I want to perturb is:

E2A7DE1F-C26A-4D92-9BEE-2B6619B4FE96.jpeg

Thanks!Ā 




Obinna Umeh

unread,
Oct 13, 2023, 12:43:54 AM10/13/23
to Safinaz Salem, xAct Tensor Computer Algebra
HiĀ Safinaz

Ā xPand which is built on the xAct framework can do it.Ā 
Download and install xPandĀ https://github.com/Obinna/xPand/tree/master and then check out this exampleĀ https://github.com/Obinna/xPand/tree/master/Examples

Cheers

Obinna

--
You received this message because you are subscribed to the Google Groups "xAct Tensor Computer Algebra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xact+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xact/d3b1347c-a560-467d-a8fe-6befbdbc878bn%40googlegroups.com.

Safinaz Salem

unread,
Oct 14, 2023, 10:03:27 PM10/14/23
to xAct Tensor Computer Algebra
HelloĀ Obinna

Thanks for your answer

I downloded xPand with xAct, there are many examples in the package, but it sill not clear for me how to define a new metric pertirbation.

I tried to use a Mathematica code with no exra packages and define the pertubered metric, then substite by in Ā the ( G\alpha\beta) eqution, but the code’s output Ā is too large and non linearized.Ā 

Cheers

SafinazĀ 

Obinna Umeh

unread,
Oct 16, 2023, 2:34:17 AM10/16/23
to Safinaz Salem, xAct Tensor Computer Algebra
Hi Safinaz

You should have a look at the xPand documentation, there are examples there on how to choose a gauge if that is your problem. It would help to read this paperĀ https://arxiv.org/abs/1302.6174 on how xPand works.Ā  Note that it is xPert that does metric perturbations.

xPand does an N+1 decomposition of perturbed metric variables on a homogenous background. If you do not like this approach, xCoba will be another option you can try.

If there is a specific issue you encounter, you should send a tiny notebook example of it.

All the best.Ā 

Obinna



Reply all
Reply to author
Forward
0 new messages