Command line¶
Advanced
The GUI's Save and run does the same as the command below. Use the command line for scripted or batch runs, with a configuration file written by the GUI or by hand.
If the cassy-fatigue command is blocked (for example by IT restrictions) or not found,
python -m cassy_fatigue (note the underscore) works in its place and takes the same
arguments, for example python -m cassy_fatigue run my_assessment.yaml.
The tool checks the configuration and the CASSY materials first, then starts a local DPF server, reads the results, runs CASSY and writes the three report files. The log shows each step and its duration:
Options¶
| Option | Meaning |
|---|---|
--output DIR |
Output folder (default: <configuration name>_results next to the configuration file) |
--overwrite |
Replace existing reports in the output folder; without it the run stops |
--ansys-path DIR |
Ansys installation used to start a local DPF server (default: found by DPF, see Locating Ansys) |
--dpf-ip, --dpf-port |
Connect to a DPF server that is already running instead of starting one |
DPF server¶
- By default the tool starts a local server when it is needed (after the configuration has been checked) and always shuts it down at the end, also after an error or Ctrl-C.
- To use a server that is already running, give its address with
--dpf-ipand/or--dpf-port(or theDPF_IP/DPF_PORTenvironment variables). Missing parts default to127.0.0.1:50054. The tool leaves that server running.--ansys-pathcannot be combined with these options.
The result files must be readable by the DPF server. The connection is unencrypted, so only connect to servers on your own machine or a trusted network.
Exit codes¶
0: the reports were written. This says nothing about the outcome of the assessment. Usage above one and invalid nodes are results to review, not errors.1: the run stopped because of a configuration or processing error, described in the log. No reports are written.
Opening the GUI¶
opens the editor on a configuration file, or only the results viewer on a
fatigue.vtu.