The virtual ground comes from maintaining one of the inputs (the inverting input) very very close to ground potential no matter what the input is. This usually requires feedback, but if you have a circuit you think might have a virtual ground in it no matter how it is connected we can take a look and see what it does.