Strange output filename suffixes

Numerical methods and mathematical models of Elmer
Post Reply
spacedout
Posts: 177
Joined: 30 Mar 2020, 23:27
Antispam: Yes

Strange output filename suffixes

Post by spacedout »

Hi

Ever since I installed

Version: 9.0 (Rev: ddb2c772b, Compiled: 2023-12-02)

three weeks ago, I always have 3 output files called

case.result_last_nc
case.result_1nc
case.result_1nc.pos


when my SIF contains:

Simulation

......

Output Intervals(1) = 100
Output File = "case.result"
Output File Cycle = 2

Binary Output = Logical True
Output Global Variables = True

........

End

What do suffixes

_1nc and _last_nc

stand for ?

Best wishes
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Strange output filename suffixes

Post by raback »

Hi

Just remove the "output file cycle" and you get standard stuff.

The idea of this feature is that sometimes you perform a huge number of timesteps and if you save all the timesteps that may be a lo..ot of data. What you can do instead is to save the data in a sequence to the same file 1 2 3 1 2 3 ... 1 2 3 (three cycles). This way you always have rather recent timestep available but because you're writing over disk space is not exhausted. You could be running in a supercomputing queue and don't know when your time expires etc. The suffixes would be _1nc, _2nc and _3nc and the last_nc tells which one was computed last. This is probably not the smartest thing to do but compared to the standard operation it was an easy addition.

-Peter
Post Reply