Skip to content

Physical materials: directional Young modulus for validated isotropic and orthotropic cards #994

Closed

Description

@selun3

Refs #922 and #934. Claiming this standalone follow-up; feedback on the input/output contract is welcome.

Validated orthotropic cards currently cannot report Young's modulus away from their principal axes. Add read-only material.properties.directional {card,direction}: a finite nonzero three-component direction in the declared material-local frame, normalized safely; return directional Young's modulus in Pa, normalized direction, axes (null for isotropic), and the same source/condition review report. Missing elasticity must refuse, never supply a default.

Use the reciprocal symmetric compliance convention documented in #934. Test principal axes, isotropic rotation invariance, analytic off-axis shear influence, sign/scale invariance and hostile/degenerate input. Reject unrepresentable results. Preserve design/history/live geometry on both success and refusal. Document formula and numerical limits; no FEA, failure prediction, body-axis assignment, persistence, external datasets or renderer changes.

This independent calculation avoids reserving a design-format migration while persistence and pending #849/#863 are coordinated. Implementation depends on #934; it does not close #922.

Activity

  1. selun3 commented on Oct 14, 2026

    @selun3
    CollaboratorAuthor

    Implemented in #998, follow-up commit 2e00695 (depends on #934; parent remains open). Current upstream 3669d4b is integrated. The command queries a card in material-local coordinates without touching design state, body frames, persistence, library packs or rendering.

    Final local evidence: document library 192 passed / 0 failed / 1 ignored; all 8 material-data and 4 material-command tests pass; scoped doc/engine all-target Clippy clean; wasm 11/11. Actual CI-profile CLI gives 4.528301886792455 GPa for the synthetic off-axis orthotropic fixture specified in the PR, and rejects zero direction with exit 1. Global local CI still stops at the independent Windows MCP warnings (#907). Remote CI is running; #998 is draft pending results. No assets or external engineering data added.

    Persistence remains a separately reviewed migration; this slice does not silently assign mechanical axes from wood textures or claim FEA/render support. Feedback on the directional-query contract and subsequent design-owned snapshots is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions