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.
|
|
2 years ago | |
|---|---|---|
| .. | ||
| input | 2 years ago | |
| src | 2 years ago | |
| CMakeLists.txt | 2 years ago | |
| Readme.md | 2 years ago | |
Readme.md
Readme
1. 依赖
Eigen
2. 运行
mkdir build
cd build
cmake ..
make
Eigen: 运行前,需要先在CMakeLists.txt的第26行修改Eigen的目录路径- 模型的杨氏模量、泊松比、热膨胀系数、参考温度
Tref:通过src/Mesh.cpp的17~20行分别设定 - 固定点
DBC:通过修改src/Mesh.cpp的setDBC函数设定
3. 输入
-
input/cube.txt:自定义格式,四面体网格信息; 第一、二行分别是顶点数量
n与四面体单元数量m, 从第三行开始是
n行顶点坐标与m行四面体顶点下标,下标从1开始 -
input/cube_T.txt:热传导仿真结果,n行温度数值,单位开尔文(K)
4. 输出
-
output/U.txt:四面体网格每个顶点的位移,
n*3行,第$3i-2$,$3i-1$,$3i$行表示第$i$个节点在$x$,$y$,$z$轴上的位移,$1 \leq i \leq n$