def main(): """ The complete process consists of 4 stages: * Particle data generation based on user defined statitics. * Particle packing routine. * RVE voxelization routine. * Writing output files. Individual stages can be run by commenting out the remaining stages. """ inputFile = os.getcwd() + '/stat_input.json' particleStatGenerator(inputFile) # Generate data for particle simulation packingRoutine() # Particle packing simulation voxelizationRoutine(750) # RVE voxelization (Meshing) write_abaqus_inp() # Write out Abaqus input (.inp) file write_output_stat() # Compare input and output statistics return
def abaqusoutput(ctx): """ Writes out the Abaqus (.inp) file for the generated RVE.""" write_abaqus_inp()