🎉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

Can PyFlux doing For Loop?

User: "jerometeoh"
Altair Community Member
Updated by jerometeoh

Hi, I am thinking to code a post postcessing pyFlux code.

It need to be extrating 3D surface plot data and write into individual excel file with different time step.

Wondering if this is possible?

image

 

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "jerometeoh"
    Altair Community Member
    OP
    Updated by jerometeoh

    For example, I have try to introduce a term to sequentially change the time step.

    I got this error.

     

    image

    User: "Letizia_Ferrara"
    Altair Employee
    Accepted Answer
    Updated by Letizia_Ferrara

    Hello Jerome,

    Yes you can use the for cycle.

    From what I see from the image you shared, the problem could be the the syntax; indentation is required for the code lines in the loop.

    You can find two very useful documents and more info in the Flux help, available from the supervisor, clicking on the question mark button at the top right (see image attached).

    Regards,

    Letizia