# Data Export for 3D Cube?

**URL:** <https://community.freefem.org/t/data-export-for-3d-cube/1275>\
**Category:** General Discussion\
**Created:** [October 23, 2021, 12:08pm UTC](https://community.freefem.org/t/data-export-for-3d-cube/1275 "2021-10-23T12:08:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumantkr](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/sumantkr/32/2681_2.png) [@sumantkr](https://community.freefem.org/u/sumantkr)\
**Post date:** [October 23, 2021, 12:08pm UTC](https://community.freefem.org/t/data-export-for-3d-cube/1275/1 "2021-10-23T12:08:45Z")

</div>

I am trying to print the result at a specified point in a 3D cubic domain by the script:

```auto
cout<< "value of T at (0,0,0) = "<< T(0,0,0)<<endl;

```

but an error message is showing as:

but it is throwing error as:  
 ![vecerr](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/1X/93bdb625f453d6fa64cf84c87d84a3acc19a14c6.jpeg)

Also, I am not able to export the results due to this error

Kindly help me to fix this issue!!!

---

<div class="post-metadata">

**Author:** ![sumantkr](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/sumantkr/32/2681_2.png) [@sumantkr](https://community.freefem.org/u/sumantkr)\
**Post date:** [October 27, 2021, 7:21am UTC](https://community.freefem.org/t/data-export-for-3d-cube/1275/2 "2021-10-27T07:21:23Z")

</div>

This issue has been solved by @zhaog6 Sir. by implementing vectorial form of other variables:

```auto
Vh [u, v, w, unused] = [dy(S3) - dz(S2), dz(S1) - dx(S3), dx(S2) - dy(S1), 0];

```

Thanks, @zhaog6 Sir for your kind support.
