Running
As seen before, the pre-processing step consists of generating the model input file in ASCII text format. The next step is to run Comfor using this input file. The analysis is then performed, and Comfor generates several output files: ParaView files, CSV files, and log files.
Starting a new analysis#
Comfor is executed from the terminal (command line) using the following syntax:
<input_file_name>: the relative or absolute path to the input file. If the file is located in the same folder as the Comfor binary, you only need to provide the file name.
Examples:
Run time information#
During the analysis, Comfor periodically prints useful information to the terminal. The frequency is defined by print_step in the control block.
The output information is displayed in blocks with the following structure:
=================================
Elapsed time: 0.955748s
Current time: 8s
Time step: 0.001
Internal energy: 35.2456
Kinetic energy: 0.0110008
=================================
Elapsed time: User CPU time (wall-clock time) since the beginning of the simulation.Current time: Current simulation time.Time step: Current minimum time step in the model.Internal energy: Energy generated by the internal forces in the model.Kinetic energy: Kinetic energy of the model.
Tip
To stop a job, just press Ctrl+C.
Output#
A new folder named Results_<file_name> is created in the same directory as the input file. This folder contains a series of *.vtk files that can be viewed with ParaView.
Errors and bugs#
If an error occurs, please contact us.