A computer-implemented method is provided for generating data representing an object involved in a computer-implemented
simulation of a physical experiment. Data describing geometric dimensions and material for the object is received as input. The data may be broken down into data representing distinct components of the object. Data is generated that describes a base parent volume region that extends at least beyond extents of the geometric dimensions of a portion of the object. Next, data is generated that describes child volume regions produced by subdividing the base parent volume region into the child volume regions each having dimensions that are a fraction of the dimensions of the base parent volume region. The data describing each child volume region is examined to determine whether vertices of each of the child volume regions are in the interior or exterior of the portion. The
subdivision and examining process is repeated for each child volume region that is not entirely in the interior or entirely in the exterior of the portion to further subdivide each such child volume region to produce data describing a set of child volume regions that do not satisfy the criteria for further
subdivision. Data is generated that uniformly distributes particles at positions of the portion of the
object based on dimensions of the child volume region in the set, wherein the data for each particle describes a
mass density, velocity, pressure, stress and energy at a position and a collection of the particles represent the object portion for use in the computer-implemented
simulation.