Ioannis,

Unless I am missing something here, K1 in your schematics seems to be a transformer. The datasheet for the LM2595 gives a maximum input voltage for this chip of 40V. If K1 is not a transformer, it looks like you would fry this chip with a power supply input of 230Vac.

Robert