In an example embodiment, a process may calculate a fill ratio for each element in the background mesh. The process may identify partially filled elements of the background mesh based on the calculated fill ratios. The process may transform each partially filled element to an empty or filled element by identifying a node of the partially filled element and moving the identified node to a different location in the background mesh. The process may generate an updated background mesh, that includes only empty and filled elements, that may be utilized to perform one or more calculations for one or more time steps in a modeling/simulation environment to simulate a behavior of a physical material/object that may exhibit deformations.
展开▼