Resources
MCP resources are read-only documents an assistant can pull into context.
| URI | Content |
|---|---|
kratos://docs/mdpa-format | the MDPA mesh format guide |
kratos://docs/mesh-editing | how to build and edit meshes with the mdpa_* / mesh_* tools: selectors, recipes, conventions |
kratos://docs/project-parameters | ProjectParameters.json structure and process-block pattern |
kratos://docs/materials | Materials.json structure + common constitutive laws |
kratos://examples/cantilever | complete worked structural case: literal, verified mesh.mdpa + ProjectParameters.json + Materials.json + result, hardcoded (not rendered from templates at request time) |
kratos://examples/thermal-bar | complete worked thermal case (mesh recipe + rendered ProjectParameters + Materials) |
kratos://examples/naca-airfoil | complete worked fluid case: NACA0012 airfoil, real ~21k-node mesh (summarised, not embedded — too large) + ProjectParameters.json + Materials.json + verified Cd/Cl result |
kratos://examples/lid-driven-cavity | complete worked incompressible-flow case: lid-driven cavity (Re=100, monolithic), literal files + verified recirculation result |
kratos://examples/plasticity-cube | complete worked nonlinear-structural case: single-element von Mises plasticity (material preset), literal files + verified elastic→plastic result |
kratos://examples/multistage-load-steps | complete worked multi-stage case: cantilever solved in two orchestrated load steps sharing a mesh, literal files + verified per-stage result |
kratos://examples/load-stepping-cantilever | complete worked case for interactive sessions: cantilever with a time-ramped tip load ("1.0e6*t", 8 exact steps), literal files + verified step-by-step result |
kratos://examples/coupled-sdof | complete worked CoSimulation case: two Python-only SDoF oscillators coupled as a mass-spring chain (strong Gauss–Seidel + Aitken), literal files + verified interface data exchange; no mesh needed |
kratos://examples/coupled-blocks | complete worked mesh-based CoSimulation case: two Kratos structural blocks with non-matching interfaces (5 vs 7 nodes) coupled by Dirichlet–Neumann iteration through kratos_mapping, literal files + verified force conservation and indexed sub-solver output |
kratos://examples/adaptive-remeshing | worked adaptive remeshing with MMG: a hessian-adapted mesh twice as accurate as a uniform one of the same size, and a thermal case remeshed at setup by an mmg_process (verified counts) |
kratos://examples/fsi-flexible-flap | complete worked partitioned FSI case: the Mok flexible-flap benchmark (4556 fluid + 505 structure nodes, summarised not embedded), Dirichlet–Neumann coupling with ALE mesh motion, verified against the upstream control-node history |
kratos://examples/channel-flow | fractional-step incompressible channel flow (mesh recipe + rendered ProjectParameters) |
kratos://examples/modal-box | modal / eigenvalue analysis of a 3D block (mesh recipe + rendered ProjectParameters) |
kratos://examples/dynamic-cantilever | transient (implicit dynamic) cantilever (mesh recipe + rendered ProjectParameters) |
kratos://examples/potential-flow | runnable NACA0012 perturbation potential-flow benchmark with bundled mesh, ProjectParameters, reference field, and verified lift/potential-jump values; needs CompressiblePotentialFlowApplication and LinearSolversApplication |
kratos://templates/{name} | the raw template files for any template from list_templates |
kratos://jobs/{job_id}/log | live stdout/stderr of a simulation job |
The two templated resources (templates/{name}, jobs/{job_id}/log) accept any template name / job id; the rest are static.
When to use which
- Format questions ("what does a SubModelPart block look like?") → the
docs/resources answer without any tool call. - Starting a new case type →
examples/show a full, runnable file set;templates/{name}shows the raw placeholders a template accepts. - Watching a long run →
jobs/{id}/logstreams the full log, while thejob_logstool returns filtered tails.