# Cycle information through 3dec\_console unavailable

**URL:** <https://forum.itascainternational.com/t/cycle-information-through-3dec-console-unavailable/1788>\
**Category:** 3DEC\
**Created:** [November 6, 2024, 10:12am UTC](https://forum.itascainternational.com/t/cycle-information-through-3dec-console-unavailable/1788 "2024-11-06T10:12:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yopiprabowo](https://avatars.discourse-cdn.com/v4/letter/y/77aa72/32.png) [@yopiprabowo](https://forum.itascainternational.com/u/yopiprabowo)\
**Post date:** [November 6, 2024, 10:12am UTC](https://forum.itascainternational.com/t/cycle-information-through-3dec-console-unavailable/1788/1 "2024-11-06T10:12:43Z")

</div>

Hi, I tried running _3DEC_ using the console application instead of the GUI. When I checked the console output, I saw that the cycle information was not shown (see attached snapshot).

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/itasca/original/2X/3/3b3e1c8cd1d775d3a58eee657f61e4dffc087fb8.png)

I’ve had to do a fish callback that prints this to the console to check the model’s progress.

Is there anyway to fix this?

---

<div class="post-metadata">

**Author:** ![yopiprabowo](https://avatars.discourse-cdn.com/v4/letter/y/77aa72/32.png) [@yopiprabowo](https://forum.itascainternational.com/u/yopiprabowo)\
**Post date:** [November 6, 2024, 2:07pm UTC](https://forum.itascainternational.com/t/cycle-information-through-3dec-console-unavailable/1788/2 "2024-11-06T14:07:47Z")

</div>

As a follow-up question, I tried to create a fish function that export the VTK file (.vtu) at a certain interval to monitor the results. I called the function below:

```auto
fish define export_vtk
    loop foreach cx block.subcontact.list
        d_ts = block.subcontact.prop(cx,'d_ts')
        if block.subcontact.type(cx) == 2 then
            continue
        endif
        face_p = block.subcontact.face(cx)
        zone_p = block.face.zone(face_p)
        block.zone.extra(zone_p,1) = d_ts
    endloop
    filename = string.build("VTK_%1.vtu",math.round(mech.time.total-t0))
    command
        block vtk displacements on
        block vtk zone-extra on index 1
        block vtk stresses on
        block vtk filename [filename]
    endcommand
    io.out(string.build("VTK Exported at cycle %1 time %2",mech.cycle,mech.time.total - t0))
end

```

That essentially call the subcontact property “d\_ts” and put that as either zone or gp extra variable.  
However, when I import the vtu file, I get the group information instead of the zone extra variable (as seen in the snapshot below).

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/itasca/original/2X/e/e4e70202bd91cd0b32f93cf889d28648ecd3fd63.png)

Is there something wrong with my method?

---

<div class="post-metadata">

**Author:** ![jhazzard](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@jhazzard](https://forum.itascainternational.com/u/jhazzard)\
**Post date:** [November 6, 2024, 2:28pm UTC](https://forum.itascainternational.com/t/cycle-information-through-3dec-console-unavailable/1788/3 "2024-11-06T14:28:01Z")

</div>

yes - we are aware of this problem and we are working on it.

---

<div class="post-metadata">

**Author:** ![Huy](https://avatars.discourse-cdn.com/v4/letter/h/c5a1d2/32.png) [@Huy](https://forum.itascainternational.com/u/Huy)\
**Post date:** [November 7, 2024, 8:38am UTC](https://forum.itascainternational.com/t/cycle-information-through-3dec-console-unavailable/1788/4 "2024-11-07T08:38:28Z")

</div>

Hi,  
The group information is active by default. You can call “block vtk group off” to deactivate.  
For zone extra, you might need to initialize zone extra 1 to 0.0. via the command “block zone initilize …”. If the extra 1 is not defined in a zone, this extra will not be exported.  
Huy

---

<div class="post-metadata">

**Author:** ![yopiprabowo](https://avatars.discourse-cdn.com/v4/letter/y/77aa72/32.png) [@yopiprabowo](https://forum.itascainternational.com/u/yopiprabowo)\
**Post date:** [November 7, 2024, 9:58am UTC](https://forum.itascainternational.com/t/cycle-information-through-3dec-console-unavailable/1788/5 "2024-11-07T09:58:34Z")

</div>

Hi Huy,

Thank you for your reply. I couldn’t find the initialize extra option for the zones.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/itasca/original/2X/d/dc80d0f04f176a6d242afdea33320d6c5d92ca3e.png)

Did you mean to initialize the zone state instead?

EDIT: block zone initialize extra 1 0.0 Works!
