# how to subtract two models from each other

**URL:** https://discourse.paraview.org/t/how-to-subtract-two-models-from-each-other/15007
**Category:** ParaView Support
**Created:** [July 8, 2024, 1:01pm UTC](https://discourse.paraview.org/t/how-to-subtract-two-models-from-each-other/15007 "2024-07-08T13:01:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ali1990dashti](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ali1990dashti/32/12099_2.png) [@Ali1990dashti](https://discourse.paraview.org/u/Ali1990dashti)
#### Post date: [July 8, 2024, 1:01pm UTC](https://discourse.paraview.org/t/how-to-subtract-two-models-from-each-other/15007/1 "2024-07-08T13:01:00Z")

</div>

Dear community,

I am using Pravaiew `5.12.0` in windows. I have two models and want to subtract the cell data variable of the models. The name of the variable is `ST`. I have uploaded two models: I want to subtract the `ST` of the `F2.e` from the `ST` of the `F1.e`. How can I do it? When I open both models in paraview, after selceting both of them I can no longer add any filter to them.  
I very much appreciate any help.  
[F1.e](https://discourse.paraview.org/uploads/short-url/6b2JPIF7hKYtZ0bYuynLhWqyD3z.e) (673.0 KB)  
[F2.e](https://discourse.paraview.org/uploads/short-url/21RPf9Pgq6KJtZNlXsF2I9OHEKG.e) (673.0 KB)

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [July 8, 2024, 3:17pm UTC](https://discourse.paraview.org/t/how-to-subtract-two-models-from-each-other/15007/2 "2024-07-08T15:17:58Z")

</div>

You should be able to apply a `Python Calculator` and then follow the instruction from this doc: [5. Filtering Data — ParaView Documentation 5.12.0 documentation](https://docs.paraview.org/en/latest/UsersGuide/filteringData.html#python-calculator).

If not please give more details on your steps.
