Mark Helprin's amazing novel A Soldier of the Great War has an amazing sequence set in such a shelter during WW1. Highly recommended.
Based on your post and comments, I have a hunch you would enjoy Mark Helprin's A Soldier of the Great War.
I'm late to the party, but check out A Soldier of the Great War by Mark Helprin. An epic novel told from the perspective of an Italian soldier.
A Soldier of the Great War by Mark Helprin, for one.