Thanks guys for the quick reply.
To back up a little. I was designing a cct for a current monitor and I needed to offset and amplify the output signal for display but couldnt get it to work properly. So I decided to try a simple offset amplifier which I initially copied from a sample design on the web (
http://electronicdesign.com/boards/non-inverting-level-shifter-requires-only-one-op-amp-one-supply-voltage) and modified to suit the voltages I wanted to use. But I cant get it to work in the simulator hence my question.
So the aim of the cct is to amplify the signal from v2 which is a 1V sine wave offset to +10V (ie sine wave between 9 and 11 volts).
Resistors R4 and R5 are meant to create a virtual ground at half supply voltage ie 10v. I mistakenly had set the supply voltage at 10v when I first posted the picture, so I corrected it as soon as I realised.
R1 and R2 are to set the gain as for a standard noninverting opamp. I also considered that R1 should be connected to the virtual ground and have tried it both ways with no meaningful result. (Actually it does improve things but the output is still only between 8.22 and 8.25, so about 1.5% of the input.
The voltage at R3/R7 is between 9.2 and 10.2, so its half the input and centred at approx the virtual ground voltage of 9.38.
If I disconnect the input signal V2 (remove R7) then the + input =9.3v, the - input = 9.03 and the output = 8.23.
When I increase the value of all the resistors by 10 with v2 disconnected then all the input and output voltages approx =10v.