笛卡尔坐标系下重力磁法数据的 3D 正演

Program Propose 3D model construction and forward calculation of gravity and magnetic data using the Cartesian coordinates. density or magnetic models are built using elements of rectangular blocks. The program can either build 3D models or forward calculating gravity and magnetic data from a input model file. Some typical source types are supported by the program for fast model construction. File format of the 3D model used in this program is the 2.0 .msh file of the Gmsh software. ...

July 29, 2019 · 5 分钟 · 1007 字 · 张壹

Meshing the sphere——球面三角剖分(STT)网格生成器

View in toolbox 下载 stt 源码包 Program Propose The spherical triangular tessellation is a kind of partition of the spherical surface composed by only triangular cells. This program could generate the STT based on an icosahedron. The STT generated by the program could be refined around given points, lines, polygons and circles on the spherical surface. The exterior and interior outlines of the STT could also be customized. Installation You need to compile the executable file stt using the makefile. Please change the variable CC in the makefile to the compiler you use. ...

December 29, 2018 · 4 分钟 · 661 字 · 张壹

Gmsh4网格文件格式说明

Gmsh是一个跨平台三维有限元网络生成与可视化软件。我们可以使用它进行三维有限元网络的前(建模)后(可视化)处理。期间需要使用到的文件即为其网格文件(后缀为.msh),建模中使用的文件格式为.geo文件,其具体格式请参见Gmsh说明文档。Gmsh网格文件主要包含对三维网络中顶点(Nodes)、几何元素(Elements)、顶点数据(NodeData)、和元素数据(ElementData)的描述。同时还可以包含对几何元素或物理元素组的定义。Gmsh定义的网络文件格式分为相对较为简单的2.0版本和Gmsh4开始使用的4.0版本。本文主要包含对Gmsh说明文档中两个版本网络文件格式部分的翻译说明,以及简单的示例文件。本文所设计的网络文件均为ASCII码文件,相应的二进制文件格式请参见Gmsh说明文档。 Gmsh2网格文件格式 文件预览 我们首先给出一个Gmsh2版本的立方体网格文件(cube.msh),使用Gmsh查看效果如下所示: 使用文本编辑器打开cube.msh,内容如下所示: $MeshFormat 2.2 0 8 $EndMeshFormat $Nodes 8 1 0.0 0.0 0.0 2 1.0 0.0 0.0 3 1.0 1.0 0.0 4 0.0 1.0 0.0 5 0.0 0.0 1.0 6 1.0 0.0 1.0 7 1.0 1.0 1.0 8 0.0 1.0 1.0 $EndNodes $Elements 1 1 5 1 10 1 2 3 4 5 6 7 8 $EndElements $NodeData 1 "node data" 1 0.0 3 0 1 8 1 0.1 2 0.1 3 0.1 4 0.1 5 1.0 6 1.0 7 1.0 8 1.0 $EndNodeData $ElementData 1 "element data" 1 0.0 3 0 1 1 1 2 $EndElementData 格式说明 $MeshFormat与$EndMeshFormat关键字其间定义了网络文件的版本(2.2)与必要信息,包括文件类型(对于ASCII码文件,其值为0)和浮点类型长度值(一般为8)。 ...

November 14, 2018 · 3 分钟 · 559 字 · 张壹