# calculator Use

**URL:** https://discourse.paraview.org/t/calculator-use/10613
**Category:** ParaView Support
**Created:** [October 27, 2022, 8:17am UTC](https://discourse.paraview.org/t/calculator-use/10613 "2022-10-27T08:17:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tkdgur8314](https://discourse.paraview.org/user_avatar/discourse.paraview.org/tkdgur8314/32/10239_2.png) [@tkdgur8314](https://discourse.paraview.org/u/tkdgur8314)
#### Post date: [October 27, 2022, 8:17am UTC](https://discourse.paraview.org/t/calculator-use/10613/1 "2022-10-27T08:17:47Z")

</div>

Hello. I’d like to use the speed to get directions.  
There are x,y,z-Velocity values in the text file. I want to make a direction vector, but I have to use a calculator. Currently, it’s in the form of a dot, Table to Point  
It’s represented. Can I activate the calculator Temporary Particles ToPathilens?

 ![11](https://discourse.paraview.org/uploads/default/original/2X/d/db88e2a075788b2c7cad8775903c5138de594388.png)  
 ![234](https://discourse.paraview.org/uploads/default/original/2X/e/eb64b0609a6561ee337efe724839e8ea2fd588aa.png)  
 ![414](https://discourse.paraview.org/uploads/default/original/2X/2/252dcd616735b87eda1e07a7bf6887c1f838231c.png)

---

<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: [October 31, 2022, 4:44am UTC](https://discourse.paraview.org/t/calculator-use/10613/2 "2022-10-31T04:44:18Z")

</div>

HI @tkdgur8314

After reading the file, just add a Calculator filter with the following expression:

`x-velocity*iHat + y-velocity*jHat + z-velocity*kHat`

and apply.

New the output should contain a “Result” vector with your velocity.

Best,

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [November 2, 2022, 3:22am UTC](https://discourse.paraview.org/t/calculator-use/10613/3 "2022-11-02T03:22:10Z")

</div>

In ParaView 5.10 and later, you can also use the **Merge Vector Components** filter to do the same.
