PFC 6.0 Modeling Techniques
Use this skill for hands-on PFC modeling questions: boundary control, particle
construction, reliability checks, and macro-parameter extraction.
Load order
- If the user explicitly wants complete code, load
references/source-code-complete-pfc6.md first.
- Then load only the focused reference files needed for the task:
references/source-code-meta-examples-pfc6.md
references/source-code-boundary-servo-pfc6.md
references/source-code-particle-assemblies-pfc6.md
references/source-code-reliability-scaling-pfc6.md
references/source-code-fish-parameter-extraction-pfc6.md
- Load the descriptive references only when you need formulas, heuristics, or
topic framing:
references/boundary-servo.md
references/particle-assemblies.md
references/reliability-and-scaling.md
references/fish-parameter-extraction.md
When to use
- choose between rigid-wall servo, flexible boundary servo, and
particle-expansion stress control
- build specimens with
ball, clump, rblock, Voronoi-like blocks, or mixed
representations
- decide whether a property change belongs in
contact property or
contact cmat
- keep calibration and engineering models in a consistent initial state
- reduce artifacts from loading rate, poor equilibrium, sparse contacts, or
size effect
- extract
E, nu, peak strength, crack metrics, or stress-field summaries
with FISH
Full code migration rule
When the request is about "all code", "complete migration", "full template", or
"convert the original markdown code to PFC 6.0", do not summarize first.
references/source-code-complete-pfc6.md is the primary artifact
- it is now an index that routes to the split full-code files
- the split files still cover source blocks
01 to 23
- the split files preserve source order and PFC 6.0 normalization
PFC 5.x to 6.0 syntax reminders
new -> model new
res xxx -> model restore 'xxx'
cmat default ... -> contact cmat default ...
solve aratio 1e-5 -> model solve ratio-average 1e-5
set fish callback ... -> fish callback add/remove ...
hist id ... -> fish history name ...
Working stance
- Bring assemblies to a low unbalanced-force state before serious loading or
bonding.
- Keep calibration and target models aligned in packing, confinement, size
scale, and boundary logic.
- Distinguish current-contact edits from future-contact assignment.
- Treat loading rate as a numerical control parameter unless the constitutive
logic is explicitly rate-dependent.
- Prefer reproducible FISH measurements over visual judgment alone.
Output contract
For a modeling-technique answer, provide:
- the recommended modeling route and why it fits the geometry or loading path
- the minimum checks needed to verify state quality before calibration
- the key implementation pattern or FISH recipe needed
- the main failure modes that would invalidate the result
Required Inputs
Ask for these if missing:
- PFC version and target dimension;
- modeling technique needed: particle assembly, boundary servo, FISH extraction, scaling, or reliability check;
- specimen geometry, units, target density/porosity, and boundary assumptions;
- whether the request is explanatory, code-generation, audit, or migration work;
- follow-on route, such as standard test, calibration, post-processing, or report delivery.
Workflow
- Identify the modeling-technique category and read the matching
references/ file.
- Confirm version-sensitive syntax before generating commands.
- Prefer canonical PFC 6.0 source snippets where available.
- Keep assumptions explicit and route specialist tasks back to
pfc-workflow or the relevant child skill.
- Return a compact handoff with selected technique, commands/templates, risks, and validation checks.
Local Contents
references/particle-assemblies.md: particle generation and assembly rules.
references/boundary-servo.md: servo-control patterns and checks.
references/fish-parameter-extraction.md: FISH extraction and helper logic.
references/reliability-and-scaling.md: scaling, reliability, and audit notes.
references/source-code-*.md: source-code reference snippets for reuse or migration.
1---2name: pfc-modeling-techniques3description: Practical ITASCA PFC 6.0 geotechnical modeling techniques for boundary servo control, particle assembly construction, contact versus cmat assignment, initial-state consistency, loading-rate control, size-effect checks, and FISH-based macro-parameter extraction. Use when the user asks how to build, servo, stabilize, quality-control, or measure a PFC geotechnical model, and especially when they want full PFC 6.0 code rather than a summary.4---56# PFC 6.0 Modeling Techniques78Use this skill for hands-on PFC modeling questions: boundary control, particle9construction, reliability checks, and macro-parameter extraction.1011## Load order12131. If the user explicitly wants complete code, load14 `references/source-code-complete-pfc6.md` first.152. Then load only the focused reference files needed for the task:16 - `references/source-code-meta-examples-pfc6.md`17 - `references/source-code-boundary-servo-pfc6.md`18 - `references/source-code-particle-assemblies-pfc6.md`19 - `references/source-code-reliability-scaling-pfc6.md`20 - `references/source-code-fish-parameter-extraction-pfc6.md`213. Load the descriptive references only when you need formulas, heuristics, or22 topic framing:23 - `references/boundary-servo.md`24 - `references/particle-assemblies.md`25 - `references/reliability-and-scaling.md`26 - `references/fish-parameter-extraction.md`2728## When to use2930- choose between rigid-wall servo, flexible boundary servo, and31 particle-expansion stress control32- build specimens with `ball`, `clump`, `rblock`, Voronoi-like blocks, or mixed33 representations34- decide whether a property change belongs in `contact property` or35 `contact cmat`36- keep calibration and engineering models in a consistent initial state37- reduce artifacts from loading rate, poor equilibrium, sparse contacts, or38 size effect39- extract `E`, `nu`, peak strength, crack metrics, or stress-field summaries40 with FISH4142## Full code migration rule4344When the request is about "all code", "complete migration", "full template", or45"convert the original markdown code to PFC 6.0", do not summarize first.4647- `references/source-code-complete-pfc6.md` is the primary artifact48- it is now an index that routes to the split full-code files49- the split files still cover source blocks `01` to `23`50- the split files preserve source order and PFC 6.0 normalization5152## PFC 5.x to 6.0 syntax reminders5354- `new` -> `model new`55- `res xxx` -> `model restore 'xxx'`56- `cmat default ...` -> `contact cmat default ...`57- `solve aratio 1e-5` -> `model solve ratio-average 1e-5`58- `set fish callback ...` -> `fish callback add/remove ...`59- `hist id ...` -> `fish history name ...`6061## Working stance62631. Bring assemblies to a low unbalanced-force state before serious loading or64 bonding.652. Keep calibration and target models aligned in packing, confinement, size66 scale, and boundary logic.673. Distinguish current-contact edits from future-contact assignment.684. Treat loading rate as a numerical control parameter unless the constitutive69 logic is explicitly rate-dependent.705. Prefer reproducible FISH measurements over visual judgment alone.7172## Output contract7374For a modeling-technique answer, provide:7576- the recommended modeling route and why it fits the geometry or loading path77- the minimum checks needed to verify state quality before calibration78- the key implementation pattern or FISH recipe needed79- the main failure modes that would invalidate the result8081## Required Inputs8283Ask for these if missing:8485- PFC version and target dimension;86- modeling technique needed: particle assembly, boundary servo, FISH extraction, scaling, or reliability check;87- specimen geometry, units, target density/porosity, and boundary assumptions;88- whether the request is explanatory, code-generation, audit, or migration work;89- follow-on route, such as standard test, calibration, post-processing, or report delivery.9091## Workflow92931. Identify the modeling-technique category and read the matching `references/` file.942. Confirm version-sensitive syntax before generating commands.953. Prefer canonical PFC 6.0 source snippets where available.964. Keep assumptions explicit and route specialist tasks back to `pfc-workflow` or the relevant child skill.975. Return a compact handoff with selected technique, commands/templates, risks, and validation checks.9899## Local Contents100101- `references/particle-assemblies.md`: particle generation and assembly rules.102- `references/boundary-servo.md`: servo-control patterns and checks.103- `references/fish-parameter-extraction.md`: FISH extraction and helper logic.104- `references/reliability-and-scaling.md`: scaling, reliability, and audit notes.105- `references/source-code-*.md`: source-code reference snippets for reuse or migration.106