Mean-field on a 3-dimensional mesh