|
|
@ -18,13 +18,11 @@ QString nmDataGeo::createFile()
|
|
|
|
flag = flag + m_points.size();
|
|
|
|
flag = flag + m_points.size();
|
|
|
|
nmDataGeoWell wellNums(m_circlesPoint);
|
|
|
|
nmDataGeoWell wellNums(m_circlesPoint);
|
|
|
|
geoLines.append(wellNums.createrWell(flag));
|
|
|
|
geoLines.append(wellNums.createrWell(flag));
|
|
|
|
|
|
|
|
geoLines.append("Transfinite Surface(1) = {1}; ");
|
|
|
|
|
|
|
|
// geoLines.append("Recombine Surface{1}; ");
|
|
|
|
// 设置网格厚度,目前只支持单层网格
|
|
|
|
// 设置网格厚度,目前只支持单层网格
|
|
|
|
double gridThickness = 0.2;
|
|
|
|
double gridThickness = 0.2;
|
|
|
|
geoLines.append(QString("Extrude {0, 0, %1} {Surface{1};Layers{1};Recombine;}").arg(gridThickness));
|
|
|
|
geoLines.append(QString("Extrude {0, 0, %1} {Surface{1};Layers{1};Recombine;}").arg(gridThickness));
|
|
|
|
// geoLines.append("Mesh.Algorithm = 2");
|
|
|
|
|
|
|
|
// geoLines.append("Mesh.ElementOrder = 1");
|
|
|
|
|
|
|
|
// geoLines.append("Mesh.Mode = 3");
|
|
|
|
|
|
|
|
// geoLines.append("Mesh.CharacteristicLengthFactor = 1.0");
|
|
|
|
|
|
|
|
return geoLines.join("\n");
|
|
|
|
return geoLines.join("\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|