Skip to content

Analysis :: BlockAverage

mrnucleation edited this page Jan 24, 2019 · 5 revisions

Analysis :: BlockAverage

Performs a block based average of a given thermodynamical variable over the length of the simulation.

Format:

  BlockAverage (Box Number) (Thermo Variable) (Average Frequency in #Cycles) (Block Size in #Cycles) (FileName)
                            

Examples:

  BlockAverage 1 density 1 1000 "mydensity.dat"
  BlockAverage 1 density 1 1000 "mydensity&.dat"

Special Note

If the & symbol is used in the file name the symbol will be replaced by the thread number when running in parallel. If ran in parallel, but no & is given block average will be collected across all the threads and dumped into a single file. This means the simulation threads will pause till all threads reach the block average. If you wish for all threads to be ran independently then it is recommended the & symbol be inserted in the filename.

Thermo Keywords

  • density
  • energy
  • enthalpy
  • pressure
Clone this wiki locally