Meanwhile, the mesh was deformed in the out-of-plane (y)
direction according to the closure of the mould. In the
y-direction, the mesh deforms according to the calculated sample
height at a given time step hðtÞ. At each time step, the deformed
mesh coordinates Y0 are simply updated by the following equation: