# Assistance with Peclet Number Calculation in FreeFem++

**URL:** <https://community.freefem.org/t/assistance-with-peclet-number-calculation-in-freefem/3360>\
**Category:** General Discussion\
**Created:** [June 27, 2024, 9:36pm UTC](https://community.freefem.org/t/assistance-with-peclet-number-calculation-in-freefem/3360 "2024-06-27T21:36:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![noureddine](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@noureddine](https://community.freefem.org/u/noureddine)\
**Post date:** [June 27, 2024, 9:36pm UTC](https://community.freefem.org/t/assistance-with-peclet-number-calculation-in-freefem/3360/1 "2024-06-27T21:36:45Z")

</div>

Hi everyone,

I would like to ask if there is any previous code where the calculation of the Peclet number was addressed. I tried to calculate it myself, but I am not getting reasonable results. I think I might have made a mistake.

Thank you,  
N.

---

<div class="post-metadata">

**Author:** ![Walid](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/walid/32/2477_2.png) [@Walid](https://community.freefem.org/u/Walid)\
**Post date:** [June 29, 2024, 11:57pm UTC](https://community.freefem.org/t/assistance-with-peclet-number-calculation-in-freefem/3360/2 "2024-06-29T23:57:48Z")

</div>

Hello  
according to what I know

```auto
	//Peclet Number
	VNe hK = hTriangle ;
	VNe PeK = We*hK/2./D ;
Where We is the drift velocity and D is the diffusion coefficient 

```

I would wait for feedback
