This paper proposes advanced geometrical etching algorithms for simulating the manufacturing process of 3D MEMS devices and MEMS-tunable vertical cavity semiconductor optical amplifiers. The proposed algorithms leverage domain decomposition methods and boundary smoothing techniques to enhance computational efficiency and reduce simulation run times. Numerical results demonstrate the effectiveness of the new algorithms in improving the etching process for complex geometries in semiconductor manufacturing.