Eastsheng's Wiki

QSGSM安装

2023-09-18 18:11:28

[toc]

安装依赖

gnuplot安装

1
sudo apt-get install gnuplot

boost安装

1
2
3
4
5
6
wget https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.gz
tar -zxvf boost_1_83_0.tar.gz
cd boost_1_83_0
./bootstrap.sh
./b2
sudo ./b2 install

安装QSGSM

1
2
3
4
5
6
7
8
9
10
11
git clone https://github.com/Jeff-Hugh/GenPorMed.git
cd GenPorMed
vim CMakeCache.txt # 修改Boost_DIR路径
cmake ./
make
./run

# output:
# Grow completed, Porosity: 0.495288
# Output completed
# Totle Time : 8.17858s
  • Tecplot

  • 2D porous figure

  • 3D porous figure

Tags: QSGSM