Well this little exercise caused me to review the terms and think about the conditions a bit more carefully.
Pneumonia is almost exclusively used to indicate infection.
Aseptic pneumonia is used but fls is correct that pneumonitis is the more commonly used term when there is inflammation without infection.
But, pneumonia isn't merely "fluid in the lungs" and I should have thought more carefully about what was being said before replying. The X-ray changes in pneumonia reflect what is called "consolidation". If it were simply liquid in the lung where air should be, you could literally turn the person upside down and drain it out.
The lungs are like sacks of sponges. And just as with a sponge, you could fill them with fluid or you could allow gravity to act and a large amount of the fluid would eventually run out. Thus, if there was only fluid in the lung, it could be drained and that isn't the case. Instead you have a combination of fluid, inflammation (swelling), mucus, pus and sometimes collapsed alveoli. The air sacs are no longer full of air.
However, there are several organisms (like SARS) and certain conditions which can be caused by any serious infection (
ARDS in the first stage) where the fluid leaking from the bloodstream and lymph system into the lungs is so voluminous, one cannot keep the lungs drained and the air sacs indeed fill with fluid. The other components of consolidation are there, but there is a lot of 'liquid' in the air sacs as well.