Skip to content

Echo-aloha/asphalt-codex-skills-5 / skills/pfc-postprocessing

pfc-postprocessing

Verified

Post-process PFC 5.0 asphalt CSV and image exports into reproducible curves, fields, rose diagrams, animations, and summary tables without relying on a local PFC installation.

FileKindSize
LICENSEother1.1 KB
NOTICE.mdmarkdown725 B
SKILL.mdskill md4.4 KB
agents/openai.yamlconfig300 B
examples/README.mdmarkdown379 B
examples/animation_case/README.mdmarkdown811 B
examples/animation_case/raw_frames/jieguo_1.pngbinary1.3 KB
examples/animation_case/raw_frames/jieguo_2.pngbinary1.4 KB
examples/animation_case/raw_frames/jieguo_3.pngbinary1.4 KB
examples/animation_case/raw_frames/jieguo_4.pngbinary1.3 KB
examples/animation_case/raw_frames/jieguo_5.pngbinary1.4 KB
examples/animation_case/raw_frames/jieguo_6.pngbinary1.4 KB
examples/animation_case/raw_frames/jieguo_7.pngbinary1.4 KB
examples/animation_case/raw_frames/jieguo_8.pngbinary1.4 KB
examples/minimal_case/README.mdmarkdown871 B
examples/minimal_case/data/plotdata_ball_fields.csvother334 B
examples/minimal_case/data/plotdata_fracture_orientations.csvother117 B
examples/minimal_case/data/plotdata_porosity.csvother100 B
examples/minimal_case/data/plotdata_stress.csvother188 B
examples/minimal_case/data/rutting_history.csvother786 B
examples/minimal_case/data/rutting_shear_profile.csvother577 B
examples/minimal_case/data/stress_strain.csvother95 B
examples/plugin_migration_case/legacy_ball_export.datother127 B
examples/plugin_migration_case/legacy_contact_export.txtmarkdown222 B
references/animation-workflow.mdmarkdown633 B
references/data-contract.mdmarkdown2.5 KB
references/overview.mdmarkdown1.6 KB
references/plugin-migration.mdmarkdown1.6 KB
references/script-catalog.mdmarkdown3.6 KB
references/ucs-3d-surface-lollipop.mdmarkdown4.7 KB
scripts/README.mdmarkdown3.5 KB
scripts/_common.pyscript1.9 KB
scripts/convert_legacy_ball_export.pyscript1.4 KB
scripts/convert_legacy_contact_export.pyscript1.5 KB
scripts/export_animation.pyscript1.4 KB
scripts/export_animation_frames.pyscript1.3 KB
scripts/plot_curves.pyscript2.3 KB
scripts/plot_fields.pyscript3.8 KB
scripts/plot_nature_ball_displacement_vectors.pyscript5.9 KB
scripts/plot_nature_ball_velocity_vectors.pyscript5.3 KB
scripts/plot_porosity_3d_surface_zhongguo.pyscript6.7 KB
scripts/plot_rose.pyscript1.9 KB
scripts/plot_rutting_evidence.pyscript7.1 KB
scripts/plot_ucs_3d_surface_lollipop.pyscript9.1 KB
scripts/run_demo.pyscript5.5 KB

references/data-contract.md

View on GitHub
# PFC 5 Asphalt Data Contract

## Global response

`stress_strain.csv` requires `strain,stress_mpa`. Optional columns may include load, displacement, flow, rut depth, pass/cycle count, temperature, and crack counters when their units are documented.

## Ball fields

`plotdata_ball_fields.csv` requires:

`x,y,disp_x,disp_y,vel_x,vel_y,radius`

## Stress fields

`plotdata_stress.csv` requires `x,y` plus `stress_xx/stress_yy/stress_xy` or aliases `sxx/syy/sxy`.

## Porosity

`plotdata_porosity.csv` requires `x,y,porosity`.

## Orientations

`plotdata_fracture_orientations.csv` or `contact_orientations.csv` requires `angle_deg`. Optional `type`, `magnitude`, `cx`, and `cy` columns must be documented.

## Frames

Animation input is a directory of PNG files whose names contain sortable integers. The ordering script records the normalized order in `frames_manifest.csv`.

## Rutting history and coupled-load evidence

`rutting_history.csv` requires:

```text
solver_time_s,equivalent_physical_time_s,time_scale_lambda,solver_cycle,
one_way_pass,round_trip,commanded_vertical_n,vertical_reaction_n,
commanded_horizontal_n,horizontal_reaction_n,rut_depth_mm,
forward_face_deformation_mm,reverse_face_deformation_mm,lateral_heave_mm,
surrogate_route
```

- All loads/reactions are signed in the declared global axes; pressure is not stored in
  a force column.
- `time_scale_lambda` follows the case-declared convention and must stay positive.
  Record whether the row is unaccelerated, moving, cyclic or fixed-patch in
  `surrogate_route`; a label does not prove equivalence.
- `rut_depth_mm` must name its source in the case manifest: seven-position/approved
  mean, wheel-track statistic or another diagnostic. Do not silently substitute the
  deepest particle displacement.
- Forward/reverse faces are defined relative to the signed horizontal-load direction.

Optional histories should retain commanded position/velocity, wheel position,
temperature, reference-surface ID, reaction-area definition, energy, slip/断键 counts,
contact-model populations and boundary-case ID.

`rutting_shear_profile.csv` requires:

```text
sample_id,depth_mid_mm,shear_component,shear_stress_mpa,
measure_radius_mm,weighting_rule
```

The case manifest additionally records coordinate axes, stress sign, measure-region
centres, overlap policy, empty-region handling and sample time/pass. Keep signed raw
components; any magnitude/absolute-value profile is a separate transformed column.

Every production export must state coordinate units, force/stress sign, scale conversion, case/stage, and source PFC 5.0 build.
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall