# How to plot live residuals and forces of a simpleFoam steady-state simulation using Catalyst in Paraview ?

**URL:** https://discourse.paraview.org/t/how-to-plot-live-residuals-and-forces-of-a-simplefoam-steady-state-simulation-using-catalyst-in-paraview/5984
**Category:** In Situ Support
**Created:** [December 4, 2020, 5:12pm UTC](https://discourse.paraview.org/t/how-to-plot-live-residuals-and-forces-of-a-simplefoam-steady-state-simulation-using-catalyst-in-paraview/5984 "2020-12-04T17:12:54Z")
**Posts on this page:** 4
**Page:** 1

<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: [December 4, 2020, 5:12pm UTC](https://discourse.paraview.org/t/how-to-plot-live-residuals-and-forces-of-a-simplefoam-steady-state-simulation-using-catalyst-in-paraview/5984/1 "2020-12-04T17:12:54Z")

</div>

Hello, I am new on OpenFoam and Paraview.

I am able to run simulation and to plot residuals and forces at the end using the .dat files in the PostProcessing folders,

But I can’t manage to follow these on live in Paraview using Catalyst.

Could anyone have a solution ?

Many thanks  
Olivier

---

<div class="post-metadata">

### Author: ![Dave\_DeMarle](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dave_demarle/32/27_2.png) [@Dave\_DeMarle](https://discourse.paraview.org/u/Dave_DeMarle)
#### Post date: [December 5, 2020, 9:01pm UTC](https://discourse.paraview.org/t/how-to-plot-live-residuals-and-forces-of-a-simplefoam-steady-state-simulation-using-catalyst-in-paraview/5984/2 "2020-12-05T21:01:47Z")

</div>

I suspect that way to do this is a code change to the Catalyst code in OpenFOAM that would put the information in what Paraview calls field data. That would allow Catalyst and Catalyst live to plot the data as it arrives.

---

<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: [December 7, 2020, 9:08am UTC](https://discourse.paraview.org/t/how-to-plot-live-residuals-and-forces-of-a-simplefoam-steady-state-simulation-using-catalyst-in-paraview/5984/3 "2020-12-07T09:08:14Z")

</div>

Thanks Dave.  
Do you have any idea about the code change to be done ?

---

<div class="post-metadata">

### Author: ![Dave\_DeMarle](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dave_demarle/32/27_2.png) [@Dave\_DeMarle](https://discourse.paraview.org/u/Dave_DeMarle)
#### Post date: [December 9, 2020, 7:51pm UTC](https://discourse.paraview.org/t/how-to-plot-live-residuals-and-forces-of-a-simplefoam-steady-state-simulation-using-catalyst-in-paraview/5984/4 "2020-12-09T19:51:07Z")

</div>

The changes will be localized to modules/visualization/src/catalyst but beyond that I do not have a clear picture in my head yet. Perhaps @olesenm can chime in?
