CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

HDF5 IO library for OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree31Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2021, 00:51
Default Preliminary support of polyhedral meshes
  #41
New Member
 
dd
Join Date: Sep 2010
Posts: 2
Rep Power: 0
hellodd is on a distinguished road
Hi, Foamers,

I forked beatlejuice's repo of IOH5Write on Github, and I have added some extra code for IOH5Write to support polyhedral meshes.

Now IOH5Write can process polyhedral cells, write the cells and datas to .h5 files, which can be read into recent versions of Paraview via the XDMF3 reader.

The repo url is https://github.com/oseen/IOH5Write/

The key commit is:

https://github.com/oseen/IOH5Write/c...999f0114bf2ee3

The code was tested on both OpenFOAM-8 and OpenFOAM-v2012, and because the APIs of OpenFOAM-8 and OpenFOAM-v2012 are slightly different, another branch named IOH5Write_b_OFv2006 was created for OpenFOAM-v2012.


Quote:
Originally Posted by beatlejuice View Post
Dear OpenFOAM community,

you can find the latest code "IOH5Write_b_OF6" (works with openfoam6) in the github branch:
https://github.com/ipat-fau/IOH5Writ...H5Write_b_OFv6

The previous code IOH5Write_b" (works with openfoam-2.3.1) can be found in the github branch:
https://github.com/ipat-fau/IOH5Write/tree/IOH5Write_b

I think Hakon's "IOHWrite" is a useful library and it is worth updating it and share it with the community so that it can also be improved by the community.

I hope it is useful and maybe helps somebody.

Cheers
tyco, beatlejuice and Nomis like this.
hellodd is offline   Reply With Quote

Old   April 21, 2023, 09:30
Default Parallel IO with >1024 cores
  #42
Member
 
Ali Shamooni
Join Date: Oct 2010
Posts: 44
Rep Power: 16
Alish1984 is on a distinguished road
Quote:
Originally Posted by beatlejuice View Post
Dear OpenFOAM community,

you can find the latest code "IOH5Write_b_OF6" (works with openfoam6) in the github branch:
https://github.com/ipat-fau/IOH5Writ...H5Write_b_OFv6

The previous code IOH5Write_b" (works with openfoam-2.3.1) can be found in the github branch:
https://github.com/ipat-fau/IOH5Write/tree/IOH5Write_b

I think Hakon's "IOHWrite" is a useful library and it is worth updating it and share it with the community so that it can also be improved by the community.

I hope it is useful and maybe helps somebody.

Cheers
Hey,
Thanks for your interesting work. I faced issues when using the library with more than 1024 cores. I use mpt instead of open-mpi however, I do not think this causes the issue. I have not yet went through the code to debug, but have you ever tested the library for such parallel simulations?

The error starting from, and go all over hdf5 library functions :
H5Dcreate2(): unable to create dataset
major: Dataset
minor: Unable to initialize object
....
Links
minor: Unable to initialize object
....
Alish1984 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Multi species mass transport library [update] novyno OpenFOAM Community Contributions 111 November 10, 2021 00:37
problem loading UDF library in parallel cluster Veera Gutti FLUENT 8 July 26, 2016 08:24
Compiled library vs. inInclude Files, DSMC solver crashes after run GPesch OpenFOAM Programming & Development 8 April 18, 2013 08:17
[swak4Foam] Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Community Contributions 22 January 21, 2013 12:51
OpenFOAM141dev linking error on IBM AIX 52 matthias OpenFOAM Installation 24 April 28, 2008 16:49


All times are GMT -4. The time now is 01:42.