The invention relates to an automatic detection and storage method for
welding droplet data based on Fluent UDF, and the method comprises the following steps: S1, building a droplet transition geometric model, and dividing a grid; S2, importing Fluent
software, checking whether the grid volume has an error or not, and checking the grid proportion and quality; S3, adopting a multiphase flow VOF model as a
simulation model; s4, acquiring material parameters of a
gas phase and a
liquid phase, and presetting boundary conditions; s5, based on a PISO
solver, obtaining a
control equation of each
physical field; s6, according to program parameters such as the operation cycle and the detection precision of the droplet data automatic detection storage program, mounting the droplet data automatic detection storage program; s7, initializing the model, then starting calculation, and carrying out automatic detection and storage of molten drop data by utilizing a droplet data automatic detection and storage UDF (
User Defined Function) program; and S8, finishing the calculation and carrying out convergence, and exporting all droplet data by using a DEFINE_ON_DEMAND
macro function pre-packaged by
software. According to the invention, droplet data can be effectively and accurately detected.