Varitional Formulation for solving three Dimensional Moving Boundary Value Problems And its Application Problem