A method for generating structured meshes from vector fields is descri
bed, The method is based on a weighted variational principle that mini
mizes a least-squares fit to the inverse Jacobian matrix, The weight i
s constructed from the vector fields by requiring local alignment of t
he mesh with the fields and by prescribing local length scales. The re
sulting grid generator is a weighted form of the Laplace grid generati
on equations. The method is demonstrated in 2D using a subsurface flow
-field derived from hydrologic simulations. (C) 1995 Academic Press, I
nc.