eIFW Public Dataset

This directory contains a curated public subset of the extruded IFW (eIFW) simulation dataset.

Layout

  • mesh.zip
    • mesh inputs and helper submission scripts
    • main mesh file: mesh/mesh.xml
  • physics *.zip files
    • simulation cases grouped by scheme and time step (separated by "dt")
    • processed tabular outputs in Parquet format
    • selected raw solver and post-processing logs compressed as *.gz
    • selected longest time-average outputs in means/
    • one instantaneous Nektar field restart file mesh_ctu_*.fld per case
  • scaling.zip
    • scaling runs grouped by scheme, time step, and "node count x processor count"
    • compressed raw logs log-eifw.l*.gz
    • run metadata such as session.xml and eifw-scaling.slurm

Main Physics Files

For a typical physics case such as physics/linearimplicit/dt1e-5/ or 'linearimplicitdt1e-5.zip':

  • forces.parquet
    • processed force time series
  • log_info.parquet
    • processed solver/log summary data
  • historypoints/*.parquet
    • processed history-point time series, one file per probe set
  • ctu_*/log-*.gz
    • compressed raw solver logs for individual run segments
  • means/
    • selected longest time-average outputs
    • .fld Nektar field files
    • .csv boundary exports
    • some .vtu files are also present
  • mesh_ctu_*.fld
    • one instantaneous restart field file

Main Scaling Files

For a typical scaling case such as scaling/semiimplicit/dt1e-5/32x128/:

  • log-eifw.l*.gz
    • compressed raw solver log
  • session.xml
    • run input
  • eifw-scaling.slurm
    • job script

The current scaling deposit primarily contains raw compressed logs plus metadata. If needed, processed log_info.parquet files can be regenerated with the post-processing repository.

Uncompressing Raw Logs

To inspect a compressed log without modifying the dataset:

gzip -dc physics/linearimplicit/dt1e-5/ctu_212_222/log-eifw-linear-dt1e-5.l10521283.gz | less

To write an uncompressed copy beside your working directory:

gzip -dc scaling/semiimplicit/dt1e-5/32x128/log-eifw.l10877889.gz > log-eifw.l10877889

Reading Parquet Files

Minimal Python example:

import pandas as pd

forces = pd.read_parquet("physics/linearimplicit/dt1e-5/forces.parquet")
log_info = pd.read_parquet("physics/linearimplicit/dt1e-5/log_info.parquet")
history = pd.read_parquet(
    "physics/linearimplicit/dt1e-5/historypoints/mainplane_streamwise.parquet"
)

print(forces.columns)
print(log_info.columns)
print(history.head())

Creating Plots With The Post-Processing Repository

The plotting entry point is plot_cases.py in the post-processing repository:

Clone the repository and install its Python requirements in your preferred environment.

The repository config needs to point at this published dataset. A simple way is to create a local override file in the repository root:

# config_local.py
path_to_directories = "/path/to/publish/physics/"
path_to_mesh = "/path/to/publish/mesh/mesh.xml"
save_directory = "./figures/"
# Note directory names are expected to be subdirectories of 'path_to_directories'
directory_names = [
    "linearimplicit/dt1e-5/",
    "semiimplicit/dt1e-5/",
    "substepping/dt1e-5/",
]

Example commands:

git clone https://github.com/hwuestenberg/nektar-postprocessing.git
cd nektar-postprocessing

python3 plot_cases.py force-timeseries --metric F3-total --save-stem /tmp/force-timeseries
python3 plot_cases.py force-psd --metric F3-total --save-stem /tmp/force-psd
python3 plot_cases.py history-psd-time \
    --history-file mainplane_streamwise.his \
    --points 0 \
    --save-stem /tmp/history-psd

These commands will read the published Parquet outputs from publish/physics/ and write figures to the location given by save_directory or --save-stem.