# render view in paraview

**URL:** https://discourse.paraview.org/t/render-view-in-paraview/9040
**Category:** ParaView Support
**Created:** [February 23, 2022, 3:41am UTC](https://discourse.paraview.org/t/render-view-in-paraview/9040 "2022-02-23T03:41:40Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![wjchoi97](https://discourse.paraview.org/user_avatar/discourse.paraview.org/wjchoi97/32/8631_2.png) [@wjchoi97](https://discourse.paraview.org/u/wjchoi97)
#### Post date: [February 23, 2022, 3:41am UTC](https://discourse.paraview.org/t/render-view-in-paraview/9040/1 "2022-02-23T03:41:40Z")

</div>

in multiphase, there are two materials, oil and water  
thoes are below.

 ![water oil_ real](https://discourse.paraview.org/uploads/default/original/2X/0/03a491a6af486eaeb84e0598ff4ea9f1a37458d9.png)

but i want to see these two materials in one renderview simultaneously! because i want to see the flow of two materials… the below picture is what i want

 ![water oil_ i want](https://discourse.paraview.org/uploads/default/original/2X/8/89a66d27522a98bd09f475c01c0bb10fd7f92460.png)

how can i do this?  
thank you !

---

<div class="post-metadata">

### Author: ![Cam](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cam/32/8343_2.png) [@Cam](https://discourse.paraview.org/u/Cam)
#### Post date: [February 23, 2022, 6:49am UTC](https://discourse.paraview.org/t/render-view-in-paraview/9040/2 "2022-02-23T06:49:38Z")

</div>

What is the vtk datatype are you visualizing? Why can’t you combine them together and render them in one RenderView?

---

<div class="post-metadata">

### Author: ![wjchoi97](https://discourse.paraview.org/user_avatar/discourse.paraview.org/wjchoi97/32/8631_2.png) [@wjchoi97](https://discourse.paraview.org/u/wjchoi97)
#### Post date: [February 23, 2022, 7:25am UTC](https://discourse.paraview.org/t/render-view-in-paraview/9040/3 "2022-02-23T07:25:48Z")

</div>

this is result of OpenFOAM, that is one of CFD code. the reason why i should combine them together is that i want to see the whole flow motion of two materials (oil and water) conveniently … the separate motion with two render view is inconvenient to see them…

do you know the method to combine them…?

---

<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: [February 23, 2022, 9:59am UTC](https://discourse.paraview.org/t/render-view-in-paraview/9040/4 "2022-02-23T09:59:20Z")

</div>

Use Calculator filter

---

<div class="post-metadata">

### Author: ![wjchoi97](https://discourse.paraview.org/user_avatar/discourse.paraview.org/wjchoi97/32/8631_2.png) [@wjchoi97](https://discourse.paraview.org/u/wjchoi97)
#### Post date: [February 23, 2022, 10:24am UTC](https://discourse.paraview.org/t/render-view-in-paraview/9040/5 "2022-02-23T10:24:03Z")

</div>

umm, if you don’t mind, could you tell me more detail…? sorry…

i searched the information of calculator filter you mentioned, however, to achieve purpose to combine two render views, i may think that this filter does not look like proper

---

<div class="post-metadata">

### Author: ![wjchoi97](https://discourse.paraview.org/user_avatar/discourse.paraview.org/wjchoi97/32/8631_2.png) [@wjchoi97](https://discourse.paraview.org/u/wjchoi97)
#### Post date: [February 23, 2022, 10:34am UTC](https://discourse.paraview.org/t/render-view-in-paraview/9040/6 "2022-02-23T10:34:32Z")

</div>

oh!! i found it, just “+” button! oh thank you very much!

if you don’t mind, can i ask you one question?  
i want to fill the different color to different material, but when i do the “+” calculator filter, the whole material are combined at same color, so i have difficulty about distinguishing materials

---

<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: [February 23, 2022, 10:37am UTC](https://discourse.paraview.org/t/render-view-in-paraview/9040/7 "2022-02-23T10:37:51Z")

</div>

using something like this would work I think:

`alpha.water + 10*alpha.oil`

but you may need to change the color map.

---

<div class="post-metadata">

### Author: ![wjchoi97](https://discourse.paraview.org/user_avatar/discourse.paraview.org/wjchoi97/32/8631_2.png) [@wjchoi97](https://discourse.paraview.org/u/wjchoi97)
#### Post date: [February 23, 2022, 11:03am UTC](https://discourse.paraview.org/t/render-view-in-paraview/9040/8 "2022-02-23T11:03:28Z")

</div>

thank you for your kind and detail explanation!!!

---

<div class="post-metadata">

### Author: ![Gabriel\_Axtmann](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gabriel_axtmann/32/1428_2.png) [@Gabriel\_Axtmann](https://discourse.paraview.org/u/Gabriel_Axtmann)
#### Post date: [February 25, 2022, 3:05pm UTC](https://discourse.paraview.org/t/render-view-in-paraview/9040/9 "2022-02-25T15:05:09Z")

</div>

Besides the way Mathieu described you could use the clip filter by scalar type…just use it twice with certain scalar (above value, and so on…). Make sure that both clips are activated in view…  
Best

---

<div class="post-metadata">

### Author: ![wjchoi97](https://discourse.paraview.org/user_avatar/discourse.paraview.org/wjchoi97/32/8631_2.png) [@wjchoi97](https://discourse.paraview.org/u/wjchoi97)
#### Post date: [February 28, 2022, 2:01am UTC](https://discourse.paraview.org/t/render-view-in-paraview/9040/10 "2022-02-28T02:01:21Z")

</div>

thank you very much for your explanation!

so, according to your advice, i followed your method to achieve my purpose with another way except “calculator filter” mentioned above,

can you check that i properly did the method you mentioned ? did i get it right?

 ![paraview example](https://discourse.paraview.org/uploads/default/original/2X/7/78f53400218fb5b5d25f2aff1a55247c7884dc32.png)
