Hello everyone,
I have a long abstract expression (which is actually a Lagrangian density involving a scalar field Phi coupled to gravity in various ways) that involves terms like
Sqrt[-Detg[]]EinsteinCD[-a,-b]RicciScalarCD[]CD[a][Phi[]]CD[b][Phi[]]
where Phi[] is a scalar that I have defined on my manifold. What I want to do is, I want to evaluate this expression for a specific metric ansatz in (2+1) dimensions. My metric is given by
ds^2 = -a(r)b(r)^2 dt^2 + 1/a(r) dr^2 + r^2 dtheta^2
where a(r) and b(r) functions that depend only on the radial coordinate r. They are not given explicitly, I want to work with them symbolically.
Another important point is that my scalar field Phi[] should only be a function of the radial coordinate r.
How can I evaluate my expression by plugging in my metric ansatz and demanding that the scalar field Phi[] is only a function of the radial coordinate r?
Thanks in advance.