I am new to this forum and I really hope I posted this into the right place.
On a way to solve a problem for my mathematical-physics class I tried to solve simple circuit with LTspice (picture below).
As a result I get 0V everywhere. What is wrong?
What is the current direction of the two inductors (run the cursor over them to determine that).
You may have them going against each other, which would cancel them.
I had problems with the simulation also. I could not get it to work as Bordodynov did.
It appears to not like setting initial current in an inductor in series with a capacitor.
So in my simulation below I added switches to momentarily short the capacitor at the start of the simulation.
The simulation then seems to work normally.