🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Automating FlightStream Using Terminal Interfacing

User: "coopertomcook"
Altair Community Member

Hi there,

I am working on automating some analysis using FlightStream, and part of this involves running meshes that I cannot test manually to see if they will produce converging results during FlightStream analysis. Within this automation, I would like to be able to check up on the status of the FlightStream analysis by reading the output log in realtime.

I have tried using the '-hidden' argument when calling the executable and my script in the terminal, but this does not move the output log to stdout, and instead "disconnects" from the terminal and finishes the script.

What would be the best way for me to read the output log in realtime while suppressing the GUI?

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Luca Cavagna"
    Altair Community Member
    Updated by Luca Cavagna

    Hello,

    what I do is using the scripting features in FS to export the residual file and plot it with some external tool. This is done at the end of the solution, not run-time.

    SET_PLOT_TYPE
    RESIDUALS
    SAVE_PLOT_TO_FILE
    C:\Folder\AT5_TR09_TE_mod_0_RES_M033.txt

    User: "CoryG"
    Altair Employee

    Unfortunately, on Windows, there is not a way to get real-time info out of FlightStream when running via the terminal with -hidden. That's something that's under development.

    Luca's suggestion would be a great way to check convergence, though not necessarily in real time. It would allow you to check once you have results whether they came from a case that converged fully.

    In addition, you can also export the log file as usual. Just use

    EXPORT_LOG

    C:\path_to_log\log.txt

    That would have the residual history listed in it. But it would not be as nicely formatted as what Luca has suggested.