在Intel Visual Fortran编制的CFD计算程序基础上,采用OpenGL绘图函数编制了流场显示程序。实现了在64位运行环境下,使用Fortran版本的OpenGL绘图函数库绘制流场参数的静态及动态结果的可视化输出。根据RGB颜色函数的变化规律建立了流...在Intel Visual Fortran编制的CFD计算程序基础上,采用OpenGL绘图函数编制了流场显示程序。实现了在64位运行环境下,使用Fortran版本的OpenGL绘图函数库绘制流场参数的静态及动态结果的可视化输出。根据RGB颜色函数的变化规律建立了流场参数与可视化颜色值之间的线性或函数对应关系。基于计算网格、边界条件,流场参数信息,采用OpenGL绘图及颜色函数绘制出CFD流场的参数云图、等值线图、速度矢量图及其组合图。采用Fortran编程语言编制完整的CFD程序,包括CFD前处理(网格及边界条件的显示)、计算过程流场参数动态显示、以及计算结果的后处理程序。无需使用外部的显示软件,增加了流场显示的可编程属性,避免了多语言联合编程带来的接口数据转换的时间延迟。这种方法可以扩展CFD计算流场显示的灵活性,并提高CFD程序的计算速度。Based on a self-compiled CFD program by Intel Visual Fortran (IVF), a flow field display program was compiled using OpenGL drawing functions. The visualization output of static and dynamic results of flow field parameters was realized by using the Fortran version of OpenGL library in 64-bit environment. The linear or functional relationship between flow field parameters and display color values was established according to the RGB color functions. Based on the data of domain grids, boundary conditions, and flow field parameters, the parameter cloud map, contour map, velocity vector map and their combination for the flow field were drawn using OpenGL drawing and color functions. A complete CFD program was built by using IVF language, including CFD pre-processing (display of grids and boundary conditions), dynamic display during calculation process, and post-processing of calculated results. By this method, there is no need to use external display software, hence to increase the flexibility of flow field display programming, and decrease the time delay by the interface data conversion required by multi-language joint programming. This method not only improves the flexibility of CFD flow field display, it also increases the calculation speed of CFD program.展开更多
The epicenter of the Luxian M_(S)6.0 earthquake on September 16,2021,was located in the southern Sichuan Basin,which is a historically seismically quiescent area.In recent years,the frequency of earthquakes has increa...The epicenter of the Luxian M_(S)6.0 earthquake on September 16,2021,was located in the southern Sichuan Basin,which is a historically seismically quiescent area.In recent years,the frequency of earthquakes has increased with the large-scale exploitation of shale gas.No evident surface fractures or seismic faults were observed after the Luxian earthquake.Based on high-quality data recorded by a dense seismic array composed of 70 portable stations with an average spacing of 2-3 km,a highresolution seismic catalog was constructed for 7 days before and 36 days after the M_(S)6.0 earthquake using LOC-FLOW,an effective workflow of phase picking,phase association,and earthquake location.Based on the new earthquake catalog,four earthquake clusters that occurred within the Yujiasi Syncline during this period were identified.Among them,the M_(S)6.0 main earthquake sequence had a NW-SE trend and inclined towards the SW,with a length of approximately 8 km and width of 5 km.The M_(S)6.0 earthquake sequence only appeared after the mainshock.The other three clusters were located in the northeast direction of the M_(S)6.0 earthquake sequence,all of which were NE-SW trending strips and had no evident direct correlation with the M_(S)6.0 mainshock.The focal depth was concentrated in the range of 2-7 km.Based on the seismic sequence profile and structural background,the M_(S)6.0 seismic structure may be a blind buried fault zone with a NW strike composed of multiple small conjugate faults with NE and SW dip.The fault was not exposed on the surface and was related to the detachment structure in the deep part of the Sichuan Basin.展开更多
文摘在Intel Visual Fortran编制的CFD计算程序基础上,采用OpenGL绘图函数编制了流场显示程序。实现了在64位运行环境下,使用Fortran版本的OpenGL绘图函数库绘制流场参数的静态及动态结果的可视化输出。根据RGB颜色函数的变化规律建立了流场参数与可视化颜色值之间的线性或函数对应关系。基于计算网格、边界条件,流场参数信息,采用OpenGL绘图及颜色函数绘制出CFD流场的参数云图、等值线图、速度矢量图及其组合图。采用Fortran编程语言编制完整的CFD程序,包括CFD前处理(网格及边界条件的显示)、计算过程流场参数动态显示、以及计算结果的后处理程序。无需使用外部的显示软件,增加了流场显示的可编程属性,避免了多语言联合编程带来的接口数据转换的时间延迟。这种方法可以扩展CFD计算流场显示的灵活性,并提高CFD程序的计算速度。Based on a self-compiled CFD program by Intel Visual Fortran (IVF), a flow field display program was compiled using OpenGL drawing functions. The visualization output of static and dynamic results of flow field parameters was realized by using the Fortran version of OpenGL library in 64-bit environment. The linear or functional relationship between flow field parameters and display color values was established according to the RGB color functions. Based on the data of domain grids, boundary conditions, and flow field parameters, the parameter cloud map, contour map, velocity vector map and their combination for the flow field were drawn using OpenGL drawing and color functions. A complete CFD program was built by using IVF language, including CFD pre-processing (display of grids and boundary conditions), dynamic display during calculation process, and post-processing of calculated results. By this method, there is no need to use external display software, hence to increase the flexibility of flow field display programming, and decrease the time delay by the interface data conversion required by multi-language joint programming. This method not only improves the flexibility of CFD flow field display, it also increases the calculation speed of CFD program.
基金supported by Fundamental Research Funds from the Institute of Geophysics,China Earthquake Administration(Nos.DQJB22B26 and DQJB22B19)the National Key Research and Development Program of China(No.2020YFA0710603-02).
文摘The epicenter of the Luxian M_(S)6.0 earthquake on September 16,2021,was located in the southern Sichuan Basin,which is a historically seismically quiescent area.In recent years,the frequency of earthquakes has increased with the large-scale exploitation of shale gas.No evident surface fractures or seismic faults were observed after the Luxian earthquake.Based on high-quality data recorded by a dense seismic array composed of 70 portable stations with an average spacing of 2-3 km,a highresolution seismic catalog was constructed for 7 days before and 36 days after the M_(S)6.0 earthquake using LOC-FLOW,an effective workflow of phase picking,phase association,and earthquake location.Based on the new earthquake catalog,four earthquake clusters that occurred within the Yujiasi Syncline during this period were identified.Among them,the M_(S)6.0 main earthquake sequence had a NW-SE trend and inclined towards the SW,with a length of approximately 8 km and width of 5 km.The M_(S)6.0 earthquake sequence only appeared after the mainshock.The other three clusters were located in the northeast direction of the M_(S)6.0 earthquake sequence,all of which were NE-SW trending strips and had no evident direct correlation with the M_(S)6.0 mainshock.The focal depth was concentrated in the range of 2-7 km.Based on the seismic sequence profile and structural background,the M_(S)6.0 seismic structure may be a blind buried fault zone with a NW strike composed of multiple small conjugate faults with NE and SW dip.The fault was not exposed on the surface and was related to the detachment structure in the deep part of the Sichuan Basin.