I want to write a contents to a file which is opened. and it should append to it live!!!

Jouher_20929
Jouher_20929 Altair Community Member
edited October 2020 in Community Q&A

I want to write a contents to a file which is opened. and it should append to it live!!!

 

File writing at each instant should be read by user at the same time. Is it possibe?

Answers

  • tinh
    tinh Altair Community Member
    edited May 2019

    How does user read it?

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited May 2019

    Hi Jouher,

     

    I don't see any issue with it, the file will be appended by default when using append mode , to view it live you will have to modify settings in your code editor. 

     

    https://www.tutorialspoint.com/tcl-tk/tcl_file_io.htm

     

    Regards,

    Livil

  • tinh
    tinh Altair Community Member
    edited May 2019

    If I could understand Jouher, read a file everytime it is appended similar to monitor a process output (like solvers):

    - hw12 and formers: use tail.exe in .../hw/etc/bin/win64 (many funny executables else are there!)

    - From hw13: tail.exe disappears.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2019

    Hi there..

    It seems that you are extremely expert at this from your updates. I am a new user of Hypermesh and a student from Denmark. May I ask you some questions about the meshing export. The issue is that I am now using edge finite element, so I really need the edge information (the number of edge and two nodes number of each edge). I know we can see that from tool but is there possible to export it as a text file?

     

    Best,

    Longying

  • tinh
    tinh Altair Community Member
    edited May 2019

    What kind of 1d element is that edge FE?