# Visualizations of water

**URL:** <https://discourse.paraview.org/t/visualizations-of-water/4183>\
**Category:** ParaView Support\
**Tags:** vtk, python\
**Created:** [April 25, 2020, 5:52am UTC](https://discourse.paraview.org/t/visualizations-of-water/4183 "2020-04-25T05:52:01Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![lkk\_12342001](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/7ab992/32.png) [@lkk\_12342001](https://discourse.paraview.org/u/lkk_12342001)\
**Post date:** [November 7, 2020, 5:49am UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/21 "2020-11-07T05:49:34Z")

</div>

Hi, I try to follow the same steps for visualizing the water surface.  
However, the quality is not that great compare to your rendered results.  
It seems more transparent in my case.

 ![paraview](https://discourse.paraview.org/uploads/default/original/2X/d/d41d44030727979d5f9ad990627dec8b4224c5f4.jpeg)

Did I miss any step?

1. Use “Clip” to select a Scalar value for alpha.water.
2. Apply “Extract Surface” to the “Clip” volume
3. Apply “Generate surface normals” to the “Extract Surface”
4. Select the material of the “Generate surface normals” to water
5. Enable ray tracing with OSPRay pathtracer and Sample per pixels = 200

---

<div class="post-metadata">

**Author:** ![timofeymukha](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timofeymukha/32/1297_2.png) [@timofeymukha](https://discourse.paraview.org/u/timofeymukha)\
**Post date:** [November 9, 2020, 10:54am UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/22 "2020-11-09T10:54:59Z")

</div>

Hi! It’s been a while since I did that one, but I think your summary is correct!

---

<div class="post-metadata">

**Author:** ![timofeymukha](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timofeymukha/32/1297_2.png) [@timofeymukha](https://discourse.paraview.org/u/timofeymukha)\
**Post date:** [November 9, 2020, 11:00am UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/23 "2020-11-09T11:00:09Z")

</div>

Dear all, I get reports from pCloud that the dataset I shared gets a 1-10 downloads per week, which is more than I could imagine 🙂 . In this light, I would like to point out that the data is provided via the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license. Also, you may want to take a look at the full dataset from our study: [https://doi.org/10.6084/m9.figshare.12593480.v4](https://doi.org/10.6084/m9.figshare.12593480.v4)  
In particular, it includes series of vtk files with the evolution of the air-water interface. Can be used to create cool animations 😃

---

<div class="post-metadata">

**Author:** ![mconti](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mconti/32/2168_2.png) [@mconti](https://discourse.paraview.org/u/mconti)\
**Post date:** [November 11, 2020, 2:58pm UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/24 "2020-11-11T14:58:44Z")

</div>

This is a really cool dataset, thanks for sharing Timofey. Messed around with it real quick testing out some of the new 5.9 OSPRay features.

This is just a quick 5 mins hack at it using the water velocity with a blue-\>white color gradient, but this simulation could be visualized in a REALLY cool way with some time spent setting it up.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/8/8a28eb463a4970b24fb7386dff152f24f64cdda2.jpeg)

@timofeymukha for that link you provided to the whole dataset. Are the files the full water tank like this one? Or just the top surface?

---

<div class="post-metadata">

**Author:** ![timofeymukha](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timofeymukha/32/1297_2.png) [@timofeymukha](https://discourse.paraview.org/u/timofeymukha)\
**Post date:** [November 11, 2020, 3:28pm UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/25 "2020-11-11T15:28:15Z")

</div>

There is both. There are OpenFOAM cases on grids with varying density. These can be opened in Paraview to get the whole simulation domain, and a snapshot of the interface can be extracted along with the surrounding water, using the Clip function, as discussed above. But there is also an archive with a time-series of vtk files, which store the interface only. These can be used for an animation.

---

<div class="post-metadata">

**Author:** ![Kai\_himself](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kai_himself/32/280_2.png) [@Kai\_himself](https://discourse.paraview.org/u/Kai_himself)\
**Post date:** [October 8, 2021, 6:32am UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/27 "2021-10-08T06:32:28Z")

</div>

Hey,  
sorry, i know its an old topic, but my problem is very similar to the problems in the topic.  
I would like to postprocess water, with “transparent” volume. To do that, i do a clip (Mode Scalar), Extract Surface and Generate Normals with PBR\_Water. Ray Tracing (OSPRay raycaster) is enabled with 200 Samplings per Pixel. My water looks blue and not transparent like yours.  
How do i set transparent to it ?

 ![grafik](https://discourse.paraview.org/uploads/default/original/2X/9/999553a6bcc2240b636ddc9e89d63e8c2b627b63.png)

Best regards  
Kai

---

<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:** [October 8, 2021, 7:08am UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/28 "2021-10-08T07:08:57Z")

</div>

FYI @timothee.chabat

---

<div class="post-metadata">

**Author:** ![mconti](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mconti/32/2168_2.png) [@mconti](https://discourse.paraview.org/u/mconti)\
**Post date:** [October 8, 2021, 4:30pm UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/29 "2021-10-08T16:30:24Z")

</div>

@Kai_himself the PBR\_Water is a “water” texture that I created, and is essentially just putting an image of water at all of your surface cells. To get something transparent, either mess with the glass materials, or don’t use a material and just adjust color and opacity values.

Hope that helps

---

<div class="post-metadata">

**Author:** ![joeelrahi](https://discourse.paraview.org/user_avatar/discourse.paraview.org/joeelrahi/32/8203_2.png) [@joeelrahi](https://discourse.paraview.org/u/joeelrahi)\
**Post date:** [December 10, 2021, 11:56am UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/30 "2021-12-10T11:56:49Z")

</div>

![water_render.PNG](https://discourse.paraview.org/uploads/default/original/2X/7/764dfdfd628f1072757f7f601927da8552bd2fe5.jpeg)

Visualization of waves using paraview 5.9.1 !

Details: use PBR [material roughness=0, metallic=0.15] and play around with the color!

full video: [Wave propagation rendering - YouTube](https://www.youtube.com/watch?v=Yj6HhQYoaho)

---

<div class="post-metadata">

**Author:** ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)\
**Post date:** [December 10, 2021, 1:52pm UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/31 "2021-12-10T13:52:26Z")

</div>

Joe, that’s a great video! Thanks for sharing. Could feature this video on [paraview.org/gallery](http://paraview.org/gallery)?

---

<div class="post-metadata">

**Author:** ![joeelrahi](https://discourse.paraview.org/user_avatar/discourse.paraview.org/joeelrahi/32/8203_2.png) [@joeelrahi](https://discourse.paraview.org/u/joeelrahi)\
**Post date:** [December 10, 2021, 1:54pm UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/32 "2021-12-10T13:54:34Z")

</div>

Hello Corry,

Thanks a lot! Please feel free to share the video! Would be a plus if I can add my affiliation on a first frame

kind regards,  
Joe

---

<div class="post-metadata">

**Author:** ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)\
**Post date:** [December 10, 2021, 2:03pm UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/33 "2021-12-10T14:03:30Z")

</div>

Great, Joe! I’ll PM you with details.

---

<div class="post-metadata">

**Author:** ![joeelrahi](https://discourse.paraview.org/user_avatar/discourse.paraview.org/joeelrahi/32/8203_2.png) [@joeelrahi](https://discourse.paraview.org/u/joeelrahi)\
**Post date:** [January 25, 2022, 11:08am UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/34 "2022-01-25T11:08:11Z")

</div>

![200pix](https://discourse.paraview.org/uploads/default/original/2X/3/344e40f61d8431cc24916a472539e232dea76d80.jpeg)  
Hi all,

Here is another example of a wave basin with a regular wave field

 ![highres_angle1](https://discourse.paraview.org/uploads/default/original/2X/d/d3e0229f60b9743d4e6582eb4fe8368f8082949a.jpeg)

---

<div class="post-metadata">

**Author:** ![OlivierM](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olivierm/32/8173_2.png) [@OlivierM](https://discourse.paraview.org/u/OlivierM)\
**Post date:** [June 5, 2023, 9:01am UTC](https://discourse.paraview.org/t/visualizations-of-water/4183/35 "2023-06-05T09:01:50Z")

</div>

Hello,  
thanks a lot for sharing this.

How do you set the level of light reflection on the water surface, especially using the Glass\_Water material ?

but this could also be:

How do you set no reflection of light on the surfaces surrounding the water ?

regards,  
Olivier

[Previous page](https://discourse.paraview.org/t/visualizations-of-water/4183.md?page=1)
