snl_d3d_cec_verify.runner package¶
- snl_d3d_cec_verify.runner.run_dflowfm(d3d_bin_path, model_path, model_file, omp_num_threads=1)¶
Run a Delft3D flexible mesh simulation, given an existing Delft3D installation and a prepared model.
Currently only available for Windows and Linux.
- Parameters:
- Raises:
OSError – if function is called on an unsupported operating system
FileNotFoundError – if the Delft3D entry point or model folder could not be found
RuntimeError – if the Delft3D simulation outputs to stderr, for any reason
- Return type:
- snl_d3d_cec_verify.runner.run_dflow2d3d(d3d_bin_path, model_path)¶
Run a Delft3D structured mesh simulation, given an existing Delft3D installation and a prepared model.
Currently only available for Windows and Linux.
- Parameters:
- Raises:
OSError – if function is called on an unsupported operating system
FileNotFoundError – if the Delft3D entry point or model folder could not be found
RuntimeError – if the Delft3D simulation outputs to stderr, for any reason
- Return type: