I wanted to see if the divergence of the lienard wiechert field follows Maxwell's equations (gauss' law):
$$\nabla \cdot \vec{E} = 0$$
for
$$ E(r,t)=\frac{e}{\gamma^2 R^2} \frac{n-\beta}{(1-n\cdot\beta)^3} + \frac{e}{cR} \frac{n \times ((n-\beta)\times \beta')}{(1-n\cdot\beta)^3}$$
But I get a non-zero answer! I calculated it for a very simple test case of a stationary observation point at $(x,y,z)$ and a source charge at some retarded time, t', is located at the origin $(0,0,0)$ with a velocity $\vec\beta=\beta<1,0,0>$ and acceleration $\beta'=\frac{\beta^2 c}{\rho} <0,-1,0>$.
This is simple circular motion. After computing the field, I compute the divergence ($\nabla = \frac{\partial}{\partial x} \hat{x}+ \frac{\partial}{\partial y} \hat{y}+ \frac{\partial}{\partial z} \hat{z}$), but again I do not get a zero answer!
Am I doing this correctly? Do I have to take the divergence of evaluated at some retarded time? I thought that the divergence of the field should be respective of the observation point and therefore be in the current time-space coordinates, not the retarded.
Any help would be greatly appreciated!