Calculating curvature of spacetime when energy is present

I am only about half-way of studying SR and GR and I am not yet familiar with a formula to calculate the curvature of spacetime when energy is present. To be more specific, I want to calculate curvature when electrical energy is present.

Also, I would like to know how energy influences curvature of an object of certain mass charged with electrical energy (e.g. an iron object).

• You need to work out the energy momentum tensor $T^{\mu\nu}$ that goes on the RHS of Einstein's eq. May 28 '15 at 9:37
• @physicsphile Alright. Once I have done that, how do I use it in a formula calculating curvature? May 28 '15 at 9:44
• as noted above, you include it on the rhs in the einstein equation, then think of all the physical constraints that could reduce the number of coordinate variables and give you the greatest chance of solving the lhs, i.e the curvature tensor. Look at the assumptions made to simplify the standard schwartzchild solution, except you will have a set of inhomogeneous P.D.Es, best of luck....
– user81619
May 28 '15 at 22:53

$$R_{\mu\nu} - \frac12 R g_{\mu\nu} = \frac{8\pi G}{c^4} T_{\mu\nu}$$
Your energy goes into the energy-momentum tensor $T_{\mu\nu}$; in particular, there is a formula which you can use to find the energy-momentum tensor of an electromagnetic field. The left hand side contains $R_{\mu\nu}$ and $R$, which are very complicated functions of the metric tensor $g_{\mu\nu}$ and its derivatives. Since all the tensors here are symmetric, this is a system of 10 coupled nonlinear partial differential equations which you can solve in principle to find the metric tensor.