I was trying to dissolve iron metal in HCl to make iron chloride, but ran into some problems. I'll give a brief background of my experiment. I took iron nails and put them in a container filled with muriatic acid (chemicals for my pool). The acid contains an equivalent of concentrated HCl since it is composed of HCl by 37.5%. The other 62.5% is listed simply as "other ingredients".
The faint yellow acid began to turn a more solid green yellow. Gas immediately began to bubble on the nails' surface. I left it for two days to dissolve and when I checked back the iron nails were not dissolved. They look shiny like the rust was cleaned off. The solution is black/dark green and there is a white/green precipitate at the bottom. The nails have small green crystals growing on them
I did this experiment once previously (with the same type of nail and HCl) with just a single nail inside of a hollow plastic pen tube and it seemed to have worked very well; it formed a dark brown solution at the bottom and the rest of the nail looked very rusted to a point where I could not remove it because the rust had stuck it to the inside of the pen.
Is there any explanation for the two different results and the iron nails not dissolving in my other trial? Also is there any guess as to what my solution and precipitate contains? Let me know if any more information is needed.