Quick Start Examples¶
Simple examples to test your Intact.Simulation installation. Download the files, place them in a directory, and run.
Note
If clicking the Python or JSON files opens them in your browser instead of downloading, right-click the link and select “Save Link As…” or “Download Linked File”.
Geometry Files: beam.stl, end-1.stl, end-2.stl
Linear Elasticity¶
Static structural analysis of a cantilever beam under load.
Setup File: cantilever_beam.py
How to Run:
Download all geometry files and
cantilever_beam.pyto the same directoryOpen PowerShell/Terminal and navigate to that directory:
cd path\to\your\directory
Run the example:
python cantilever_beam.py
Setup File: cantilever_beam.cpp
How to Run:
Download all geometry files and
cantilever_beam.cppto the same directoryCompile
cantilever_beam.cppwith the Intact SDK using your preferred build systemRun the compiled executable
Setup File: cli_cantilever_beam.json
How to Run:
Download all geometry files and
cli_cantilever_beam.jsonto the same directoryOpen PowerShell/Terminal and navigate to that directory:
cd path\to\your\directory
Run the simulation:
intact -s cli_cantilever_beam.json
Modal Analysis¶
Natural frequency and mode shape analysis of a cantilever beam.
Setup File: cantilever_modal.py
How to Run:
Download all geometry files and
cantilever_modal.pyto the same directoryOpen PowerShell/Terminal and navigate to that directory:
cd path\to\your\directory
Run the example:
python cantilever_modal.py
Setup File: cantilever_modal.cpp
How to Run:
Download all geometry files and
cantilever_modal.cppto the same directoryCompile
cantilever_modal.cppwith the Intact SDK using your preferred build systemRun the compiled executable
Setup File: cli_cantilever_modal.json
How to Run:
Download all geometry files and
cli_cantilever_modal.jsonto the same directoryOpen PowerShell/Terminal and navigate to that directory:
cd path\to\your\directory
Run the simulation:
intact -s cli_cantilever_modal.json
Static Thermal¶
Steady-state heat transfer analysis through a beam.
Setup File: thermal_beam.py
How to Run:
Download all geometry files and
thermal_beam.pyto the same directoryOpen PowerShell/Terminal and navigate to that directory:
cd path\to\your\directory
Run the example:
python thermal_beam.py
Setup File: thermal_beam.cpp
How to Run:
Download all geometry files and
thermal_beam.cppto the same directoryCompile
thermal_beam.cppwith the Intact SDK using your preferred build systemRun the compiled executable
Setup File: cli_thermal_beam.json
How to Run:
Download all geometry files and
cli_thermal_beam.jsonto the same directoryOpen PowerShell/Terminal and navigate to that directory:
cd path\to\your\directory
Run the simulation:
intact -s cli_thermal_beam.json