Doing a little research and math, I find that:
A. Each 1 GJ of energy turns about 2 tons of liquid hydrogen to gas.
B. Each 1 MJ raises the temperature of 1 ton of hydrogen gas about 70K (degrees Kelvin), so 1 GJ would raise 1 ton to around 70kK (70 thousand degrees Kelvin), except that it dissociates and ionizes before reaching that temperature.
C. It takes 436 J to dissociate 2 grams of normal hydrogen gas to atomic hydrogen, so 218 J/g, 218 kJ/kg, 218 MJ/ton, or about 1 GJ/5 tons.
D. It takes 1312 KJ per gram to ionize atomic hydrogen, so 1312 MJ per kg about 1 GJ/(3/4 ton) to completely ionize, but it takes on the characteristics of a plasma before it is completely ionized.
I wasn't able to find how hot ordinary hydrogen gets before dissociating to atomic hydrogen, or how hot atomic hydrogen gets before turning into a plasma. But the surface of the Sun is about 5800K, and it's a plasma, so I'll guess that if we start with 1 ton of liquid hydrogen:
A. About 0.5 GJ turns liquid to gas.
B. About 0.1 GJ heats gas to 7000K.
C. About 0.2 GJ dissociates ordinary gas to atomic hydrogen.
D. About 1.3 GJ turns atomic hydrogen to completely ionized plasma.
Based on that, a total of 2.1 GJ turns liquid hydrogen to completely ionized plasma, so 2 GJ turns it to mostly-ionized plasma. A GURPS Traveller meson gun bay delivers almost 13 GJ of energy, which turns over 6 tons of liquid hydrogen to plasma, assuming it delivers all of its energy to the fuel tank.
I don't know how much damage it would cause to suddenly turn six tons of liquid hydrogen to plasma, but it doesn't sound like it would be good for the targeted ship.
Putting energy into other units, 4 TJ is not quite 1 kiloton of TNT equivalent, and 4000 TJ is not quite 1 megaton TNT equivalent. A 1 kiloton nuclear weapon is a small tactical warhead, the Hiroshima and Nagasaki bombs were about 15 and 20 kilotons respectively, and the largest thermonuclear bomb ever was 57 megatons. Weapons measured in Terajoules can ruin your day even if you're in a capital ship.
(All "tons" here refer to tonnes.)