Page 1 of 1

Open post files sequentially

Posted: Wed Jul 28, 2021 8:48 am
by kstn
Hello

Is there a way to tell GiD to load the results file manually one by one. I tried to open multiple post files with the name such as results_[time].post.bin. Because the time varies from one to many digits, GiD ends up opening it not in sequential order, leading to a jitter visualization.

I tried batch script

Files ReadMultiple {
fileA
fileB
fileC
}

but it also doesn't work. The GiD version is 12.

Best
Giang

Re: Open post files sequentially

Posted: Wed Jul 28, 2021 11:43 am
by escolano
Sorry, I don't understand your question.

Could you attach (or send privately) a zip with a small example?

The ordering when read the post files doesn't matter, because the time step is set in each result header (not encoded in the file name, the file name doesn't matter)
Note: this is assuming that one result is not overwriting other result, in this case the last one will be prevalent

Re: Open post files sequentially

Posted: Wed Jul 28, 2021 11:51 am
by miguel
Hello Giang,
as escolano wrote, when you read multiple reulsts_*.post.bin GiD uses the analysis+TimeStep information of the results header's to sort them. It does not matter in which order they are read.

For instance:
result_1.post.bin has following results
Result Displacement "Load analysis" 1.0 Scalar OnNodes
...
result_2.post.bin has following results
Result Displacement "Load analysis" 10.0 Scalar OnNodes
...
result_10.post.bin has following results
Result Displacement "Load analysis" 2.0 Scalar OnNodes
...

GiD will show the Results sorted by time-step:
TimeStep 1.0 Displacement
TimeStep 2.0 Displacement
TimeStep 10.0 Displacement

...

if you send us a small example, we should be able to spot the problem you are facing.

best,
the gid team

Re: Open post files sequentially

Posted: Wed Jul 28, 2021 1:51 pm
by kstn
Dear Miguel and Escolano

Thank you very much for your prompt response. I attached here a part of the example that I have jitter visualization.

Best
Giang