I'm trying to make a negative voltage power supply, mainly for opamps. I did some googling and found a circuit I like, so naturally before making it, I wanted to simulate it first.
It has 12V on the input and inputs around +12 and -12V or there about if you take the diode voltage drops into account. However LTspice just calculates that there's 12V at the output and the -12V output is at 0V as is the gnd. I've no clue if this is a bug or if I'm doing something wrong. I've tried electrolitic and nonpolarised capacitors and the default diodes as well as some randomly picked ones and some 1N4007 ones. The output is always the same apart from the +12V which obviously changes with the different voltage drops across the diodes.
Does anyone know what's going on and why?
Here's a picture of the circuit as well as the output I measure at the supposed -12V
P.S. I've tried another simulation software and it worked properly.
Here's a picture of the circuit working properly with a 12V DC supply. The points measured are the two wires.

Here's a link to a video where a guy builds the circuit and it seemingly works. video He measures DC volts, but I'm not sure if he actually uses a DC source. That's why I wanted to simulate it.




