# CONVERGECFDreader not available for solid simulations

**URL:** https://discourse.paraview.org/t/convergecfdreader-not-available-for-solid-simulations/12379
**Category:** ParaView Support
**Created:** [June 23, 2023, 9:39am UTC](https://discourse.paraview.org/t/convergecfdreader-not-available-for-solid-simulations/12379 "2023-06-23T09:39:43Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jameil\_k](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jameil_k/32/9869_2.png) [@jameil\_k](https://discourse.paraview.org/u/jameil_k)
#### Post date: [June 23, 2023, 9:39am UTC](https://discourse.paraview.org/t/convergecfdreader-not-available-for-solid-simulations/12379/1 "2023-06-23T09:39:43Z")

</div>

The CONVERGECFDreader option doesn’t appear for simulations with only a solid stream. I also tried forcing paraview to open the .h5 file with CONVERGECFDreader through the command prompt, but I get the error that there is no mesh in the file.

Here’s a link to a sample .h5 file: [link](https://drive.google.com/file/d/1xVgE0aW6PPFNJnRJo8PHjMXELRwmqhlz/view?usp=sharing)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 23, 2023, 10:44am UTC](https://discourse.paraview.org/t/convergecfdreader-not-available-for-solid-simulations/12379/2 "2023-06-23T10:44:52Z")

</div>

Because CONVERGECFDReader check if your dataset is of a compatible format and thinks that it is not.

```auto
//----------------------------------------------------------------------------
int vtkCONVERGECFDReader::CanReadFile(const char* fname)
{
  if (H5Fis_hdf5(fname) == 0)
  {
    return 0;
  }

  vtkHDF::ScopedH5FHandle fileId = H5Fopen(fname, H5F_ACC_RDONLY, H5P_DEFAULT);
  if (fileId < 0) 
  {
    return 0;
  }

  // Require a /BOUNDARIES group and at least one STREAM_00 group
  if (H5Lexists(fileId, "/BOUNDARIES", H5P_DEFAULT) == 0 || 
    H5Lexists(fileId, "/STREAM_00", H5P_DEFAULT) == 0)
  {
    return 0;
  }

  // Everything succeeded
  return 1;
}

```

---

<div class="post-metadata">

### Author: ![jameil\_k](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jameil_k/32/9869_2.png) [@jameil\_k](https://discourse.paraview.org/u/jameil_k)
#### Post date: [June 23, 2023, 2:29pm UTC](https://discourse.paraview.org/t/convergecfdreader-not-available-for-solid-simulations/12379/3 "2023-06-23T14:29:27Z")

</div>

Thanks for clarifying this Mathieu!

But what can we do regarding this? Because CONVERGE does give you the option just to run solid simulations without any fluid streams. And there are CONVERGE users who run such simulations. Should paraview include a check for STREAM\_01 as well?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 23, 2023, 2:30pm UTC](https://discourse.paraview.org/t/convergecfdreader-not-available-for-solid-simulations/12379/4 "2023-06-23T14:30:13Z")

</div>

This looks like a missing feature in the CONVERGECFEReader in ParaView yes. Should not be too hard to fix for a programmer knowing the format.

---

<div class="post-metadata">

### Author: ![jameil\_k](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jameil_k/32/9869_2.png) [@jameil\_k](https://discourse.paraview.org/u/jameil_k)
#### Post date: [June 23, 2023, 3:30pm UTC](https://discourse.paraview.org/t/convergecfdreader-not-available-for-solid-simulations/12379/5 "2023-06-23T15:30:55Z")

</div>

Mathieu, do you mean this has to be fixed at paraview’s end or it can be fixed while building paraview?

I’m asking cause I’m not really familiar with building paraview. Thanks!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 23, 2023, 3:34pm UTC](https://discourse.paraview.org/t/convergecfdreader-not-available-for-solid-simulations/12379/6 "2023-06-23T15:34:20Z")

</div>

It has to be added (its not really a fix, more of a new feature) in ParaView source code.

See this:

> [@How are features and bug fixes incorporated into ParaView?](https://discourse.paraview.org/t/how-are-features-and-bug-fixes-incorporated-into-paraview/4735):
>
> As with all open source projects, adding features and fixing bugs takes developer effort. That effort may originate from volunteer community contributors, or through paid professional services offered by companies like [Kitware](https://www.kitware.com). Features and bug fixes are prioritized by the needs of contributing community members and by professional services customers. Note that contributions are vetted by a rigorous community review and testing process; therefore it is recommended that significant changes are d…

---

<div class="post-metadata">

### Author: ![Alexandre\_Minot](https://discourse.paraview.org/user_avatar/discourse.paraview.org/alexandre_minot/32/7132_2.png) [@Alexandre\_Minot](https://discourse.paraview.org/u/Alexandre_Minot)
#### Post date: [June 30, 2023, 8:05pm UTC](https://discourse.paraview.org/t/convergecfdreader-not-available-for-solid-simulations/12379/7 "2023-06-30T20:05:31Z")

</div>

Dear Jameil,

Thank you for reporting this issue.

It looks like the CONVERGE CFD reader expects there to be a stream called STREAM\_00, though that is not a requirement of CONVERGE CFD. Do you have the ability to modify your CONVERGE CFD case so that your stream id is 0 instead of 1? Alternativly, you can rename the node “STREAM\_01” to “STREAM\_00” in your result file using tools such as hdfview.

We will fix the reader, but it will take a few month to make it to an official ParaView release.

If you need further assistance finding a work around on your case, please don’t hesitate to reach out to the CONVERGE CFD support team, we will be happy to help.

Best regards,  
Alexandre Minot  
Convergent Science

---

<div class="post-metadata">

### Author: ![Alexandre\_Minot](https://discourse.paraview.org/user_avatar/discourse.paraview.org/alexandre_minot/32/7132_2.png) [@Alexandre\_Minot](https://discourse.paraview.org/u/Alexandre_Minot)
#### Post date: [August 24, 2023, 2:56pm UTC](https://discourse.paraview.org/t/convergecfdreader-not-available-for-solid-simulations/12379/8 "2023-08-24T14:56:42Z")

</div>

This issue is fixed:  
[https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/10318](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10318)
