# Planar Axial Truss Prescribed-Displacement Stiffness Solver

> Planar Axial Truss Prescribed-Displacement Stiffness Solver is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-17).

Assembles 2D axial bar stiffness matrices, enforces prescribed displacement boundary conditions, and returns equilibrium displacements, support reactions, and signed axial bar forces for a planar truss.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-ENGINEERING-B002/planar-axial-truss-prescribed-displacement-stiffness-solution?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/planar-axial-truss-prescribed-displacement-stiffness-solver-984fff2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r_wc2T5O8kJYu5xtb1__Z

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability planar-axial-truss-prescribed-displacement-stiffness-solver-984fff2d -d '<json body>'
```

Example prompt: Solve this 2D planar truss for me: I have 4 nodes at coordinates (0,0), (1,0), (1,1), (0,1), connected by 4 bars each with EA=10000, a load vector of [0, -500, 0, 0, 0, 0, 0, 0], and DOF 0 and 1 fixed at zero displacement — give me the equilibrium displacements, reactions, and axial forces in each bar.

## When to prefer this

Use this endpoint when you need a lightweight, deterministic linear-static analysis of a 2D pin-jointed truss with up to 16 nodes and 48 bars, especially when prescribed (non-zero) support displacements must be enforced directly. It is the right choice over general FEA solvers when there is no bending, geometric nonlinearity, or 3D geometry involved, and you want exact six-decimal results with per-call pricing rather than a subscription FEA platform.

## Known failure modes

- Singular stiffness matrix (insufficient boundary conditions or mechanism) — computation fails or returns ill-conditioned warning
- Bar indices out of range (node index > 15 or DOF index > 31) — schema validation error
- EA value below minimum threshold (< 0.001) — rejected by input validation
- Load vector length mismatched to node count — schema validation error
- Artifact payload exceeds 16000 bytes — rejected with size error
- Prescribed displacement value out of range (> ±1000) — schema validation error

## How this service works

Assemble independent axial bar stiffnesses in two dimensions, eliminate explicit prescribed displacement degrees of freedom, return equilibrium displacement, reactions and signed axial forces. No bending or geometric nonlinearity.

## Output

Returns a JSON object containing: (1) equilibrium nodal displacement vector for all free DOFs, (2) reaction forces at prescribed displacement DOFs, and (3) signed axial forces for each bar (positive = tension, negative = compression), all rounded to six decimal places. Returns an error or unknown result for singular or ill-conditioned systems.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "truss"
   ],
   "properties": {
    "truss": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "nodes",
        "bars",
        "loads",
        "fixed"
       ],
       "properties": {
        "bars": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "a",
           "b",
           "EA"
          ],
          "properties": {
           "a": {
            "type": "integer",
            "maximum": 15,
            "minimum": 0
           },
           "b": {
            "type": "integer",
            "maximum": 15,
            "minimum": 0
           },
           "EA": {
            "type": "number",
            "maximum": 1000000000,
            "minimum": 0.001
           }
          },
          "additionalProperties": false
         },
         "maxItems": 48,
         "minItems": 1
        },
        "fixed": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "dof",
           "value"
          ],
          "properties": {
           "dof": {
            "type": "integer",
            "maximum": 31,
            "minimum": 0
           },
           "value": {
            "type": "number",
            "maximum": 1000,
            "minimum": -1000
           }
          },
          "additionalProperties": false
         },
         "maxItems": 32,
         "minItems": 1
        },
        "loads": {
         "type": "array",
         "items": {
          "type": "number",
          "maximum": 1000000,
          "minimum": -1000000
         },
         "maxItems": 32,
         "minItems": 4
        },
        "nodes": {
         "type": "array",
         "items": {
          "type": "array",
          "items": {
           "type": "number",
           "maximum": 10000,
           "minimum": -10000
          },
          "maxItems": 2,
          "minItems": 2
         },
         "maxItems": 16,
         "minItems": 2
        }
       },
       "additionalProperties": false
      },
      "claim": {}
     },
     "additionalProperties": false
    }
   },
   "description": "UTF8 JSON artifact at most16000 bytes, computed result20000 bytes; unknown for derived out-of-domain, singular or ill-conditioned systems. Numeric resul
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/planar-axial-truss-prescribed-displacement-stiffness-solver-984fff2d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
