com1DFA.particleInitialisation.getIniPosition
- getIniPosition(cfg, particles, dem, fields, inputSimLines, relThField)[source]
Redistribute particles so that SPH force reduces with fixed particles as boundaries
- Parameters
cfg (configparser object) – configuration settings
particles (dict) – dictionary with particle properties
dem (dict) – dictionary with dem header and data
fields (dict) – dictionary with fields of result types
inputSimLines (dict) – info on input files
relThField (numpy array) – release thickness field
- Returns
particles (dict) – updated particles dict with new positions
fields (fields) – updated fields dictionary