AMROC可视化
备注###
通过修改Filetype
来改变输出数据的类型。
hdf2tab.sh
转换全部数据文件
hdf2tab.sh -m
多维数据
WebHome < Visualization < Virtual Test Facility
/* Default TWiki layout */
@import url("http://www.vtf.website/asc/wiki/pub/TWiki/VTFSkin/layout.css");
/* Default TWiki style */
@import url("http://www.vtf.website/asc/wiki/pub/TWiki/VTFSkin/style.css");
/* Custom overriding layout per web or per topic */
@import url("%USERLAYOUTURL%");
/* Custom overriding style per web or per topic */
@import url("%USERSTYLEURL%");
.twikiToc li {
list-style-image:url(http://www.vtf.website/asc/wiki/pub/TWiki/VTFSkin/i_arrow_down.gif);
}
.twikiWebIndicator {
background-color:#FFFF66;
}

Jump: |
- Validation Simulations
- Detonation-driven fracture
- Converging shock waves
- Documentation
- AMROC fluid solvers
- SFC shell solver
- Visualization tools
- Source code
- Links
- VTF Wiki
Visualization
FAQ | SW: Handling AMR | SW: Handling trig and tet meshes | SW: Tools: VisIt Tutorial | SW: Tools: VisIt Scripting | SW: Tools: Paraview Tutorial Currently the VTF project at Caltech endorses only two off-the-shelf packages: VisIt and Paraview. The goal is to use these packages for interactive visualization and analisys of data resulting from VTF coupled simulations. This mostly means AMR meshes as well as unstructured triangle and tetrahedronal meshes.AMR
AMR visualization is focused on data resulting from AMROC simulations. Data resulting from AMROC is by default written in HDF4 format. In order to be able to be fed into either Paraview or VisIt it needs to be first preprocesses.AMROC HDF4 to Paraview
The main tool for data conversion in AMROC is called hdf2file. hdf2file currently has four filters which result in the flattening of the level data into a single unstructured mesh. These for formats are:- [10] legacy VTK ascii
- [11] legacy VTK binary
- [12] VTU (VTK XML) ascii
- [13] VTU (VTK XML) binary
AMROC HDF4 to VisIt
The main tool for data conversion in AMROC is called hdf2file. hdf2file currently has two filters which result in the flattening of the level data into a single unstructured mesh. These for formats are:- [10] legacy VTK ascii
- [11] legacy VTK binary
- [15] legacy SILO binary (structured hierarchical) data
display_file.in
directly. See below, or the official Amroc page, for more info.
Using hdf2file
Using hdf2file after running your VTF (Amroc) simulation is quite simple. All it requires isdisplay_file.in
which describes what variables you will be dumping, and what format. Here is a sample display_file.in used along with the 3D/Spheres AMROC demo.
# # sample display_file.inFileType describes the output file format. The different available formats are:
Type 1
FileType 13
Keys d,u,v,p,i,s
DisplayMinLevel 0
DisplayMaxLevel
hdf2file cheat sheet |
0 ) WriteASCIITabular |
1 ) WriteASCIITabular |
2 ) WriteRegularTabular |
3 ) WriteDXFile OpenDX Link |
4 ) WriteDXASCIIFile |
5 ) WriteDXExternalFilter |
6 ) WriteHDFConvert |
7 ) WriteHDFConvertReduced |
8 ) WriteTecplotASCII Tecplot Link |
10) WriteVTKASCIIFile |
11) WriteVTKFile Visit Link |
12) WriteVTUASCIIFile VTK Link |
13) WriteVTUFile Paraview Link |
14) WritePVTFile Paraview Link | 15) WriteSILOFile Visit Link |
display_file.in
setup, then you can run hdf2file. A sample execution of hdf2file:
hdf2file -m -f display_file.in -fs solver.in > spheres.01.vtu
UNSTRUCTURED MESHES (i.e. ADLIB/SFC MESHES)
Thin shells modeled as 3d triangle meshes, as well as more complex polycrystal models made up as tetrahedronal meshes have a simple direct conversion into VTK formats. There are a couple of VTU filters for these meshes written by Santiago Lombeyda within the VTF repository. One single filter calledtec2file
is now available, which can convert a series of ASCII Tecplot files into a single VTU (ascii or binary vtk xml) or legacy VTK (ascii or binary). Notice the legacy binary format is the most compact and most compatible across different visualization software.
Its use is fairly simple. For instance, on asap, for a collection of triangle mesh pieces for one frame (triangles versus tetrahedra need to be flagged explicitly), you would do:
tec2file -tectrigs -readsequence /home/ralf/TubeThin/result-\*-06000.tec -vtk > TubeThin.06000.vtkFor more info see the FAQ. There is also a quick explanation on some of the OtherVizFilters.
THE TOOLS
Both VisIt and Paraview were designed to work in parallel. Visit runs in parallel through the use of profiles. Paraview gets executed in parallel from the command line usingmpirun
or starting each component manually.
For more details on using either package see the quick tutorials on:
AMROC可视化的更多相关文章
- iOS可视化动态绘制连通图
上篇博客<iOS可视化动态绘制八种排序过程>可视化了一下一些排序的过程,本篇博客就来聊聊图的东西.在之前的博客中详细的讲过图的相关内容,比如<图的物理存储结构与深搜.广搜>.当 ...
- 发布:.NET开发人员必备的可视化调试工具(你值的拥有)
1:如何使用 1:点击下载:.NET可视化调试工具 (更新于2016-12-29 19:11:00) (终于彻底兼容了部分VS环境下无法使用的问题) 2:解压RAR后执行:CYQ.VisualierS ...
- Webstorm+Webpack+echarts构建个性化定制的数据可视化图表&&两个echarts详细教程(柱状图,南丁格尔图)
Webstorm+Webpack+echarts ECharts 特性介绍 ECharts,一个纯 Javascript 的图表库,可以流畅的运行在 PC 和移动设备上,兼容当前绝大部分浏览器(I ...
- iOS可视化动态绘制八种排序过程
前面几篇博客都是关于排序的,在之前陆陆续续发布的博客中,我们先后介绍了冒泡排序.选择排序.插入排序.希尔排序.堆排序.归并排序以及快速排序.俗话说的好,做事儿要善始善终,本篇博客就算是对之前那几篇博客 ...
- 基于fis3的组件可视化道路
首先说明一下,即使不熟悉fis3,阅读文本应该也会有所收获. 本文以fis-parser-imweb-tplv2插件为模板插件,目的不在于使用哪个模板,而是组件可视化的实现思路,不必担心. 先说说模板 ...
- 自定义可视化调试工具(Microsoft.VisualStudio.DebuggerVisualizers)
前言: 最近飞机失联的太多,明天要飞北京处理服务器双机热备的问题,航空保险已买,单号是:TF10122913. 至于我的银行卡密码,在我枕头下面的字条里,要是我之后没再更新文章,请通知我家人,哈哈哈哈 ...
- 开源发布:VS代码段快捷方式及可视化调试快速部署工具
前言: 很久前,我发过两篇文章,分别介绍自定义代码版和可视化调试: 1:Visual Studio 小技巧:自定义代码片断 2:自定义可视化调试工具(Microsoft.VisualStudio.De ...
- 【Win10 应用开发】使用“实时可视化树”工具查看应用界面元素
记得有朋友问老周,系统中的“计算器”应用的界面菜单是怎么做的.其实,你可以用VS 2015的新工具来查看它的界面结构. 实时可视化树工具只能查看XAML定义的界面,如WPF和Win App.现在,Wi ...
- 全球PM25实时可视化
星期一的早上,我在办公区鸟瞰窗外,目光所到之处,用顾城的那首"你看天时很近,看我时很远"倒是格外的应景.作为一名父亲,看着工位上3M的口罩,想想此刻还在熟睡的孩子,多少有些无奈-- ...
随机推荐
- 在裸机centos7系统中部署django项目的过程
概要 本文用一台安装了centos7.5系统的裸奔Linux机器(当然是虚拟机)详细讲解从无到有部署django项目的过程. 安装必要的工具 配置yum源 至于什么是yum源大家请自行百度,本人用的是 ...
- wow64 32位进程中切换64位模式,取回64位寄存器值
32位dbg中编辑的: 7711E9D3 | 6A | | 7711E9D5 | E8 | 7711E9DA | | | 7711E9DE | CB | ret far | 6A E8 CB 64位d ...
- vue +ts 的一次踩坑日记
在vue的方法里面写事件的时候比如写一个路由跳转,方法大概如下: goBack1() { console.log(this); this.$router. ...
- leetcode 695 Max Area of Island 岛的最大面积
这个题使用深度优先搜索就可以直接遍历 DFS递归方法: class Solution { public: vector<vector<,},{,-},{,},{,}}; int maxAr ...
- 文件格式-CVS:CVS
ylbtech-文件格式-CVS:CVS 逗号分隔值(Comma-Separated Values,CSV,有时也称为字符分隔值,因为分隔字符也可以不是逗号),其文件以纯文本形式存储表格数据(数字和文 ...
- Haddop的数据计算部分原理
import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FSDataInputStream; import o ...
- java中java.util.Date和java.sql.Date之间的关系和使用选择
关系: java.util.Date是java.sql.Date的父类 区别:(java.sql.Date包含年月日信息,java.util.Date包含年月日时分秒) 1:“规范化”的java.sq ...
- PS把一张白色背景的图片设为透明
方法一: 1.双击图层缩略图上的小锁图标(注意,这里不要拖动小锁进行删除锁定),弹出“新建图层”,确定 2.右键左侧第四个功能菜单,选择魔棒工具 3.用魔棒工具在白色背景区域点击一下,选中白色区域背景 ...
- 前端表格选中列合计,select-chosen,set集合,display隐藏
业务涉及到table选中列合计,同时隐藏未选中列.为了减少后端请求数据,前端获得所有数据后筛选计算. 1.select下拉框初始化 $(function() { $('.chosen-select') ...
- Redis数据类型:Sorted Sets操作指令
Redis数据类型:Sorted Sets操作指令 Sorted Sets常用操作指令 Sorted Sets,本质是一个有序的Sets,其实在原来的Sets集合中对每一个元素新增了一个属性Score ...