Modeling, Mesh Generation, and Adaptive Numerical Methods for Partial Differential Equations