You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# static simulation
|
|
|
|
|
|
|
|
A static simulation with gui
|
|
|
|
|
|
|
|
## Compile
|
|
|
|
|
|
|
|
Compile this project using the standard cmake routine:
|
|
|
|
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ..
|
|
|
|
make
|
|
|
|
|
|
|
|
This should find and build the dependencies and create a `static_simulation_gui` binary.
|
|
|
|
|
|
|
|
## Run
|
|
|
|
|
|
|
|
To run the program, simply execute the binary:
|
|
|
|
|
|
|
|
./static_simulation_gui
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
The load files are in `sim-test/rigid-test/*/json`, generated by `sim-test/rigid-test/*/*.json.in`.
|
|
|
|
|
|
|
|
---
|
|
|
|
## Detailed steps
|
|
|
|
1. 点击加载文件,选择.json配置文件(选择错误后缀会有提醒).
|
|
|
|
2. 设置边界条件和材料,点击开始计算.
|
|
|
|
3. 查看仿真结果,并可选择导出.
|
|
|
|
4. 可选择结果对比(需要预先准备文件),选择对应例子的`/ref_res`文件夹(错误文件夹名会有提醒),显示对比结果.
|