com1DFA.com1DFATools

Tools specific to the com1DFA computational kernel

Functions

checkCfgInfoType

check if cfgInfo is a configparser object, a file or a directory

compareSimCfgToDefaultCfgCom1DFA

Compares the given simulation configuration (as dict) to the default com1DFA configuration.

createSimDictFromCfgs

From multiple cfg files create a simDict with one item for each simulation to perform within these cfg files still parameter variations are allowed

getPartInitMethod

Get particle initialization parameters

initializeInputs

Create work and output directories, fetch input files and thickness info If cleanRemeshedRasters is true, the remesh folder contents will be deleted at the beginning

setFrictTypeIndicator

Sets the friction type indicator for the simname Default is L, otherwise M for samosATMedium, S for samosATSmall