# Post processing error

**URL:** <https://forum.gidsimulation.com/t/post-processing-error/2209>\
**Category:** Postprocess\
**Created:** [February 20, 2017, 11:20pm UTC](https://forum.gidsimulation.com/t/post-processing-error/2209 "2017-02-20T23:20:39Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![payoubi](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/p/b5ac83/32.png) [@payoubi](https://forum.gidsimulation.com/u/payoubi)\
**Post date:** [February 20, 2017, 11:20pm UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/1 "2017-02-20T23:20:39Z")

</div>

Hi,

I am wondering is there any reference for errors in GiD?

Sometimes I face an error which I would like to know more about it.

Something like this :  
  
  
can’t set “GidPriv(PostAnimateDeform)”: can’t use empty string as operand of “_"  
can’t use empty string as operand of "_”  
while executing  
“expr $factor\_base \* $i \* $f”  
(procedure “AnimacionEstaticaCreaFactores” line 9)  
invoked from within  
“AnimacionEstaticaCreaFactores $::GidPriv(PostAnimate\_cur\_d\_factor)”  
(procedure “CambioPostAnimateDeform” line 17)  
invoked from within  
“CambioPostAnimateDeform GidPriv PostAnimateDeform write”  
(write trace on “GidPriv(PostAnimateDeform)”)  
invoked from within  
".gid.wPostAnimate.f\_opt.cb2 invoke "  
invoked from within  
".gid.wPostAnimate.f\_opt.cb2 instate !disabled { .gid.wPostAnimate.f\_opt.cb2 invoke } "  
invoked from within  
“.gid.wPostAnimate.f\_opt.cb2 instate pressed { .gid.wPostAnimate.f\_opt.cb2 state !pressed; .gid.wPostAnimate.f\_opt.cb2 instate !disabled { .gid.wPostAn…”  
(command bound to event)  
  
  
  
Bests

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [February 21, 2017, 9:37am UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/2 "2017-02-21T09:37:15Z")

</div>

What is the exact version of GiD? (see Help-\>About GiD…)

If it is not any of the last official or developer version try to download this version, maybe the bug has been fixed.  
nowadays the current versiona are official: 13.0.1 and developer 13.1.4d

If the problem already happen in current versions, please attach a small example to this forum (or send it privately) and the instructions to repeat it.

---

<div class="post-metadata">

**Author:** ![payoubi](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/p/b5ac83/32.png) [@payoubi](https://forum.gidsimulation.com/u/payoubi)\
**Post date:** [February 22, 2017, 11:49pm UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/3 "2017-02-22T23:49:29Z")

</div>

I am using latest version of GiD.  
I is resolved and I think the problem was the steps I should follow to produce an animation.

Thanks

---

<div class="post-metadata">

**Author:** ![payoubi](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/p/b5ac83/32.png) [@payoubi](https://forum.gidsimulation.com/u/payoubi)\
**Post date:** [February 26, 2017, 10:47pm UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/4 "2017-02-26T22:47:26Z")

</div>

Hi,

Despite the fact that I can animate my result but it cannot be done using vector display! Contour fill works fine but not vector!  
I am animate my result without any problem using contour fill, but when I change it to vector, it does not animate any more and returns an error.

This is the error I am getting !  
  
  
can’t read “::GidPriv(PostAnimateDisplayVectors)”: no such element in array  
variable ‘PostUpdateWindows’ not found  
while executing  
“error [\_ “variable ‘%s’ not found” $name]”  
(procedure “::GidPrivVariables::Get” line 5)  
invoked from within  
“::GidPrivVariables::Get PostUpdateWindows”  
invoked from within  
“GiD\_Process Mescape Results $cur\_resv $cur\_res $cur\_comp $::GidPriv(PostAnimateDisplayVectors)”  
(procedure “PostAnimateFrame” line 330)  
invoked from within  
“PostAnimateFrame 0”  
(“after” script)

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [February 27, 2017, 9:40am UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/5 "2017-02-27T09:40:57Z")

</div>

By ‘latest version’ do you mean the 13.0.1 official or the 13.1.4d developer?  
please, could you attach a zip with a small example to repeat it?  
and what to do exactly.

---

<div class="post-metadata">

**Author:** ![payoubi](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/p/b5ac83/32.png) [@payoubi](https://forum.gidsimulation.com/u/payoubi)\
**Post date:** [June 12, 2017, 12:32am UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/6 "2017-06-12T00:32:01Z")

</div>

Hi,

Sorry for my late reply. It is the official one.  
I am attaching a model to this reply. You may unzip the file to open it in the file in GID.

The error occurs when I am doing the post processing. My ultimate goal is to have a colored vectored animation.

Please go to the post processing mode, and choose velocity as the “deformation”. I would like to see the velocity vector but it looks so solid and it is not very beautiful. So, I want to add colored contours to them so that they look better. But, it is not possible.

On the other hand, if I want to have animation for vectored velocity, it returns an error that you will see if you try what I have said.

Please let me know if you have any question.  
[model.gid.7z](https://forum.gidsimulation.com/uploads/short-url/8EY5qCtGBmlZJ3te85j6rQwFlyp.7z) (444 KB)

---

<div class="post-metadata">

**Author:** ![payoubi](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/p/b5ac83/32.png) [@payoubi](https://forum.gidsimulation.com/u/payoubi)\
**Post date:** [August 2, 2017, 10:57pm UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/7 "2017-08-02T22:57:33Z")

</div>

Hi,

Still no news for this issue?

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [September 20, 2017, 10:03am UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/8 "2017-09-20T10:03:01Z")

</div>

The problem is a Tcl bug in the animation window of GiD caused by the use of spaces in the result name “a. Nodal Velocity”  
In fact the problem happen because there are more than one consecutive spaces (there are two spaces between the ‘.’ and the ‘N’)  
with a single space “a. Nodal Velocity”, or without spaces a.\_Nodal\_Velocity the bug doesn’t affect.

This bug has been fixed for next GiD 13.0.4 official and 13.1.9d developer (when available)

To fix it you can simply edit the file scripts/PostAnimate.tcl  
and replace  
set GidPriv(PostAnimate\_cur\_res) [join [GiD\_Info postprocess get cur\_result]]  
set GidPriv(PostAnimate\_cur\_comp) [join [GiD\_Info postprocess get cur\_component]]  
by  
set GidPriv(PostAnimate\_cur\_res) [GiD\_Info postprocess get cur\_result]  
set GidPriv(PostAnimate\_cur\_comp) [GiD\_Info postprocess get cur\_component]

(or modify the .post.res using a not problematic result name)

---

<div class="post-metadata">

**Author:** ![payoubi](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/p/b5ac83/32.png) [@payoubi](https://forum.gidsimulation.com/u/payoubi)\
**Post date:** [September 22, 2017, 1:48am UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/9 "2017-09-22T01:48:06Z")

</div>

I just removed the extra space and it works fine.

One other thing, is there any way to make vectors colored? Instead of having velocity contours, having vectorized velocity contours?

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [September 22, 2017, 1:45pm UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/10 "2017-09-22T13:45:54Z")

</div>

vectors could be showed monochrome, or colored with its module value

Utilities-\>Preferences…  
Postprocess-\>Vectors: By modules

---

<div class="post-metadata">

**Author:** ![payoubi](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/p/b5ac83/32.png) [@payoubi](https://forum.gidsimulation.com/u/payoubi)\
**Post date:** [September 23, 2017, 12:16am UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/11 "2017-09-23T00:16:26Z")

</div>

Thanks.

---

<div class="post-metadata">

**Author:** ![reneu30](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@reneu30](https://forum.gidsimulation.com/u/reneu30)\
**Post date:** [February 3, 2022, 10:22pm UTC](https://forum.gidsimulation.com/t/post-processing-error/2209/12 "2022-02-03T22:22:59Z")

</div>

Hi,

i would like to know if it’s possible to help me with this.

The error is in the step 24, which is the switch between interval data 1 and interval data 2

Thanks

 ![Aplication Error.JPG](https://forum.gidsimulation.com/uploads/default/original/1X/04fbc8ff6f4191153751d0321a5da680c45652bd.jpeg)  
 ![Result read errors.JPG](https://forum.gidsimulation.com/uploads/default/original/1X/16d7e272e7f7926b7d13203a9ff114acf648ead7.jpeg)
