[DEBUG] ; Log level: 0=none, 1=error, 2=warning, 3=info, 4=debug log_level = 2 ; Write solver log to file log_file = solver.log ; Check for NaN/Inf after each iteration check_nan = 1 : A typical mechset.ini might contain:
[NONLINEAR] ; Enable geometric nonlinearity (0/1) geometric = 0 ; Enable material nonlinearity (0/1) material = 1 ; Load steps for nonlinear analysis load_steps = 10 ; Maximum bisections per step max_bisections = 5 mechset.ini
[BOUNDARY_CONDITIONS] ; File containing fixed supports fix_file = fixed_nodes.txt ; File containing nodal loads load_file = loads.txt ; Gravitational acceleration (mm/s^2) gravity = 0, 0, -9810 [DEBUG] ; Log level: 0=none, 1=error, 2=warning, 3=info,
[OUTPUT] ; Write results every N iterations write_interval = 10 ; Output directory output_dir = ./results ; Result format: vtk, hdf5, ascii format = vtk ; Write stress tensor (0/1) write_stress = 1 ; Write strain tensor (0/1) write_strain = 1 Log level: 0=none
[ANSYS] VERSION=2025R1 LICENSE=default WORKING_DIR=C:\ansys_work MEMORY=8GB NUM_CORES=4 DATABASE=file.db RESULTS_FORMAT=rst : A mechset.ini could store player preferences:
[CONTACT] ; Contact detection tolerance (mm) contact_tolerance = 0.05 ; Friction coefficient (default) friction = 0.15 ; Contact stiffness factor stiffness_factor = 1.0
Since you didn't specify the exact software or context, I'll provide a for a mechanical simulation settings INI file, along with common sections and parameters. Example: mechset.ini for a Generic Mechanical Solver ;============================================================================== ; mechset.ini - Mechanical Solver Configuration File ; Version: 2.1.0 ; Date: 2026-04-14 ;============================================================================== [SOLVER] ; Type: static, modal, transient, harmonic type = static ; Maximum number of iterations max_iterations = 500 ; Convergence tolerance (relative) tolerance = 1.0e-6 ; Linear solver: direct, iterative linear_solver = direct ; Use parallel processing (0/1) parallel = 1 ; Number of CPU threads (0 = auto) num_threads = 0