I am studying for my PPL and am having some problems understanding the mountain breeze phenomenon, especially when it comes to my understanding of pressure.
Basically, I've read that during the day mountainsides get warmer, resulting in the air flowing upwards. While at night this mechanism reverses : mountainsides get colder, and the air therefore flows downwards.
I could be ok with this, if I hadn't been told earlier on by my physics teacher, that in general high pressures tend to flow towards lower pressures. I.e warm temperatures flow in the direction of cold temperatures. This would imply that the breeze has to travel the other way around.
I can't really wrap my head around this. How can I reconcile both concepts ?