# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# # Uniaxial nodal traction results
#

import pandas as pd
df = pd.read_hdf('results/uniaxial-nodal-forces-2d/particles0300.h5', 'table')
print(df['stress_xx'].min(), df['stress_xx'].max())

import pandas as pd
df = pd.read_hdf('results/uniaxial-nodal-forces-2d/particles0510.h5', 'table')
print(df['stress_xx'].min(), df['stress_xx'].max())

import pandas as pd
df = pd.read_hdf('results/uniaxial-nodal-forces-2d/particles0750.h5', 'table')
print(df['stress_xx'].min(), df['stress_xx'].max())

import pandas as pd
df = pd.read_hdf('results/uniaxial-nodal-forces-2d/particles0990.h5', 'table')
print(df['stress_xx'].min(), df['stress_xx'].max())

StarcoderdataJupyterScriptsDedupFiltered