pydfnworks: dfnTrans

DFN Class functions used in particle transport simulations (DFNTrans)

Running Transport Simulations

check_dfn_trans_run_files(self)[source]

Ensures that all files required for dfnTrans run are in the current directory

Parameters:

self (object) – DFN Class

Return type:

None

Notes

None

copy_dfn_trans_files(self)[source]

Creates symlink to dfnTrans Execuateble and copies input files for dfnTrans into working directory

Parameters:

self (object) – DFN Class

Return type:

None

Create symlinks to files required to run dfnTrans that are in another directory.

Parameters:
  • self (object) – DFN Class

  • path (string) – Absolute path to primary directory.

Return type:

None

Notes

Typically, the path is DFN.path, which is set by the command line argument -path

dfn_trans(self)[source]

Primary driver for dfnTrans.

Parameters:

self (object) – DFN Class

Return type:

None

run_dfn_trans(self)[source]

Execute dfnTrans

Parameters:

self (object) – DFN Class

Return type:

None