# How to plot the pressure distribution on the boundary

**URL:** https://community.freefem.org/t/how-to-plot-the-pressure-distribution-on-the-boundary/2594
**Category:** General Discussion
**Created:** [July 11, 2023, 7:00am UTC](https://community.freefem.org/t/how-to-plot-the-pressure-distribution-on-the-boundary/2594 "2023-07-11T07:00:13Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jawahar264](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/jawahar264/32/1783_2.png) [@jawahar264](https://community.freefem.org/u/jawahar264)
#### Post date: [July 11, 2023, 7:00am UTC](https://community.freefem.org/t/how-to-plot-the-pressure-distribution-on-the-boundary/2594/1 "2023-07-11T07:00:13Z")

</div>

For example for an airfoil after computing the pressure distribution in the domain i want only the data on the airfoil how can i plot it?

---

<div class="post-metadata">

### Author: ![cmd](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/cmd/32/67_2.png) [@cmd](https://community.freefem.org/u/cmd)
#### Post date: [July 11, 2023, 7:11am UTC](https://community.freefem.org/t/how-to-plot-the-pressure-distribution-on-the-boundary/2594/2 "2023-07-11T07:11:08Z")

</div>

You should use an external tool like Paraview to do this. See:  
[https://doc.freefem.org/documentation/visualization.html](https://doc.freefem.org/documentation/visualization.html)

---

<div class="post-metadata">

### Author: ![jawahar264](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/jawahar264/32/1783_2.png) [@jawahar264](https://community.freefem.org/u/jawahar264)
#### Post date: [July 11, 2023, 7:19am UTC](https://community.freefem.org/t/how-to-plot-the-pressure-distribution-on-the-boundary/2594/3 "2023-07-11T07:19:11Z")

</div>

thanks for helping well in Paraview we can plot the data on a line but i want to plot over an airfoil and its not a straight line. how to do it

---

<div class="post-metadata">

### Author: ![cmd](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/cmd/32/67_2.png) [@cmd](https://community.freefem.org/u/cmd)
#### Post date: [July 11, 2023, 7:21am UTC](https://community.freefem.org/t/how-to-plot-the-pressure-distribution-on-the-boundary/2594/4 "2023-07-11T07:21:07Z")

</div>

Check here?  
[https://www.paraview.org/ParaView/index.php/Plotting\_Over\_Curves](https://www.paraview.org/ParaView/index.php/Plotting_Over_Curves)

---

<div class="post-metadata">

### Author: ![marchywka](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@marchywka](https://community.freefem.org/u/marchywka)
#### Post date: [July 11, 2023, 10:48am UTC](https://community.freefem.org/t/how-to-plot-the-pressure-distribution-on-the-boundary/2594/5 "2023-07-11T10:48:55Z")

</div>

I tried this but paraview just plotted a small scale in lower left and claimed  
z was identially zero. Did I need to build with some support enabled? The  
file looks like XML with binary encoded data so I can’t tell b looking at it if itis  
right. Do I need to pick some menu thing in paraview to get the result  
shown on the webpage? Thanks.

Thanks.

---

<div class="post-metadata">

### Author: ![cmd](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/cmd/32/67_2.png) [@cmd](https://community.freefem.org/u/cmd)
#### Post date: [July 11, 2023, 2:36pm UTC](https://community.freefem.org/t/how-to-plot-the-pressure-distribution-on-the-boundary/2594/6 "2023-07-11T14:36:05Z")

</div>

I’m sorry, but I am by no means a “power user” of Paraview. I suggest you look for an answer on the [Paraview forums](https://discourse.paraview.org/).

---

<div class="post-metadata">

### Author: ![marchywka](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@marchywka](https://community.freefem.org/u/marchywka)
#### Post date: [July 11, 2023, 3:33pm UTC](https://community.freefem.org/t/how-to-plot-the-pressure-distribution-on-the-boundary/2594/7 "2023-07-11T15:33:27Z")

</div>

I had to put the paraview file into a zip but can anyone open this  
and see if it works? I got nothing but 2 axes in lower left. Thanks.  
[u.zip](https://community.freefem.org/uploads/short-url/LceNROKSSRDzFU0dlmUi2Dn9bc.zip) (2.9 KB)

---

<div class="post-metadata">

### Author: ![Afrahs](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@Afrahs](https://community.freefem.org/u/Afrahs)
#### Post date: [February 18, 2025, 7:59am UTC](https://community.freefem.org/t/how-to-plot-the-pressure-distribution-on-the-boundary/2594/8 "2025-02-18T07:59:44Z")

</div>

How can you plot the data on a Line ?
