Open post files sequentially

Moderator: GiD Team

Post Reply
kstn
Posts: 41
Joined: Wed Jan 21, 2015 2:03 pm

Open post files sequentially

Post 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
User avatar
escolano
Posts: 1924
Joined: Sun Sep 05, 1982 10:51 pm

Re: Open post files sequentially

Post 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
User avatar
miguel
Posts: 361
Joined: Thu Sep 25, 2014 9:04 am

Re: Open post files sequentially

Post 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
kstn
Posts: 41
Joined: Wed Jan 21, 2015 2:03 pm

Re: Open post files sequentially

Post 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
Attachments
mesh_72x72_q4.zip
(4.44 MiB) Downloaded 285 times
Post Reply