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.in
Type 1
FileType 13
Keys d,u,v,p,i,s
DisplayMinLevel 0
DisplayMaxLevel
FileType describes the output file format. The different available formats are:
|
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的口罩,想想此刻还在熟睡的孩子,多少有些无奈-- ...
随机推荐
- MySQL主主模式
mysql主主复制配置: HOSTNAME IPADDR PORT节点1:my-prod01.oracle.com 192.168.10.97 3306 节点2:my-prod02.oracle.co ...
- 阶段1 语言基础+高级_1-3-Java语言高级_06-File类与IO流_05 IO字符流_8_使用try_catch_finally处理流中的异常
变量没有初始化的赋值 变量可能赋值会失败.设置fw为null.close报错 把close也用try catch捕获异常 修改写入w盘.实际盘符没有这个 上面异常是这里打印的 继续优化代码
- jmeter接口测试初体验
今天初体验了一把jmeter,把操作的一些经历贴出来,督促自己进步.等逐步掌握后再次回首时,希望是有所思的,欣慰的! jmeter: Apache JMeter是Apache组织开发的基于Java的压 ...
- Mbox-React Native
Mbox-React Native 学习网址:https://www.jianshu.com/p/bbf9837443f3 MboX环境配置: .npm i mobx mobx-react --sav ...
- 浅谈WebService开发三(动态调用WebService)转
在前两讲里,我已经向大家演示了如何使用WebService.同步, 异步调用WebService,而在实际开发过程中,可能会有多个WebService接口供你选择,而在程序执行过程中才决定使用哪一个 ...
- SpringBoot 使用logback
1.添加pom引用 <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback ...
- mysql 主从 设置
总结:1.如果是虚拟克隆mysql 请注意auto.cnf的uuid保证不一样,即删除auto.cnf 重新启动即可2.默认安装的mysql配置文件mysqld.cnf可能绑定了127.0.0.1 只 ...
- GitHub Pages建立第一个静态页面
1.创建仓库 创建仓库点击右上角的加号,选择newrepository.然后对仓库信息进行设置.注意箭头标识的几个地方.仓库名必须是http://username.github.io的形式.必须勾选p ...
- Maven-Eclipse使用maven创建HelloWorld Java项目,maven常用的命令解析
1.开发过程常用的maven命令有: mvn clean mvn compile mvn test mvn package mvn install mvn deploy 2.mvn clean:清理t ...
- java_第一年_JavaWeb(12)
SimpleTag标签 定义了五个方法:setJspContext.setJspBody.setParent和getParent以及最重要的doTag方法(完成了所有的业务逻辑): setJspCon ...