mesoscopic simulation