We solve the model for the flow of nitrogen, vapor, and water in a porous medium, neglecting compressibility, heat conductivity, and capillary effects. Our choice of injection conditions is determined by the application to clean up polluted sites. We study all mathematical structures, such as rarefaction, shock waves, and their bifurcations; we also develop a systematic method to find fundamental solutions for thermal compositional flows in porous media. In addition, we unexpectedly find a rarefaction evaporation wave which has not been previously reported in any other study.