yhz5613813/cadflow/cadflow-contact-simulation
Claude Code and agent skill by yhz5613813/cadflow
- community
Checking that the SKILL.md file is still in the repository.
Add solver-neutral, face-level mechanical simulation metadata to CadFlow assemblies and export verified contact packages. Use for FEA handoff, contact pairs, friction, penalty or cohesive laws, surface roughness/coatings, component materials, face normals, initial gaps, interference, or BREP surface regions. Do not use for concentrated connector springs alone; use the physical connection API for reduced 6-DOF joints.
Install
npx vskill@latest install yhz5613813/cadflow/cadflow-contact-simulationSKILL.md
CadFlow Contact Simulation
Build distributed surface-contact semantics on already valid rigid assembly geometry. Use import cadflow as cad and public APIs only. Read references/contact-api.md for constructors, units, and package fields.
Select the physical model
- Use
ContactSimulationModelwhen tractions act over BREP faces and the
downstream consumer is an FEA or continuum solver.
- Use
PhysicalConnectionLayerwhen the interface is intentionally reduced to
a connector-local 6-DOF wrench law.
- Do not copy a connector stiffness into a surface penalty. Their dimensions
differ: force/length versus force/length^3.
- CadFlow exports geometry and constitutive declarations; it does not mesh,
solve equilibrium, or claim solver convergence.
Required workflow
- Validate every part and assemble it in a documented coordinate system.
- Select component-local
Faceobjects and create namedSurfaceRegion
values. Use flip=True only when the intended contact normal opposes the BREP face orientation.
- Declare explicit length, force, time, and temperature units. Add mechanical
materials and assign them to all contacting components.
- Define surface properties when roughness or coatings matter. Define contact
laws with an explicit normal model, separation behavior, friction model, penalty data, damping, or cohesive strengths as applicable.
- Define directed contact pairs, search tolerance, initial clearance or
interference, normal-opposition threshold, and sliding formulation.
- Run semantic validation, then native analysis. Reject unresolved or
ambiguous face references and inspect candidate count, oriented normals, minimum distance, signed gap, and solver-adjusted gap.
- Export a contact package only after validation. Reopen its BREP files and
verify recorded hashes when it crosses a process or machine boundary.
Minimal pattern
Failure handling
- An unresolved or ambiguous face is a failed simulation handoff. Re-select it
from the rebuilt part; do not substitute a nearby face silently.
- A pair with zero candidates is valid only when delayed contact is intended.
Otherwise inspect placement, normal orientation, gap, and search tolerance.
- The analytic fallback cannot produce BREP surface evidence. Rebuild with the
OCCT backend instead of fabricating metrics in Python.
- Preserve declared values. Do not invent material, friction, penalty, coating,
or cohesive parameters from geometry alone.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cadflow-contact-simulation/SKILL.md
Popularity
- Repository stars
- 61
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yhz5613813/cadflow/cadflow-contact-simulation)