Mesoscopic simulation of woven fabric forming: from a consistent geometry to finite element modelling