🎉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

How to re-run model automatically with different boundary conditions (time series)?

User: "Tom_abc"
Altair Community Member
Updated by Tom_abc

Hi all,

I want to run the model for many times, and each time a different boudary condition is applied. Here I attached a zip file for an example. In the example, I want to run the model using two differnt time series.

The first column of the "differentTimeSeries.txt" is the time for each value (e.g., Day 0, Day 1, Day 2,...). Then, at the first run, the 2nd column will be used as the boundary condition; at the second run, it will be the 3rd column. Please see the figure below.

image

Is there a way to make Embed read different boundary conditions (time series) automatically at each time?

Thanks!

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Tom_abc"
    Altair Community Member
    OP
    Updated by Tom_abc

    Hi everyone, I found one solution for my issue. We can treat the boundary condition txt file the other way: split each run into individual txt files, and then use "path aliases to reference files" and the $runCount variable to make the import file change at each run. The key step of the solution is shown below:

    image

    Please see the attached file for an example.

    User: "Girish Karamadi_21849"
    New Altair Community Member
    Updated by Girish Karamadi_21849

    Nice. That is the good solution. Does it resolve your issue??

     

    Regards,

    Girish

    User: "Tom_abc"
    Altair Community Member
    OP
    Updated by Tom_abc

    Nice. That is the good solution. Does it resolve your issue??

     

    Regards,

    Girish

    Hi Girish, yes it solved my issue :)