The application and development of numerical method for moving boundary and complex geometry problems