Skip to main content

Derived Fields

An extensible, catalog-driven library for computing derived fields from multi-component engineering data arrays

Overview

vcti.derived turns multi-component engineering result arrays — vectors, 6-DOF, symmetric stress/strain tensors — into derived fields such as magnitude, von Mises, principal values and directions, and traction vectors. It is pure numpy: plain arrays in, plain arrays out, with output dtype following the input. Two faces sit over one implementation — bulk-first kernels you call directly, and a catalog that enumerates which derived fields exist per data family (with stable ids, display names, and parameters) for driving menus and pipelines. Component order is handled explicitly, so data from any solver (Abaqus, Nastran, Ansys, LS-Dyna) computes correctly without reshuffling.

Installation

pip install vcti-derived

In requirements.txt

vcti-derived>=2.0.0

In pyproject.toml dependencies

dependencies = [
    "vcti-derived>=2.0.0",
]

Quick Start

import numpy as np
from vcti.derived import ComponentOrder, DataFamily, catalogs, symtensor

stress = np.array([[100.0, 20.0, 5.0, 15.0, 0.0, 0.0]])  # (N, 6): xx yy zz xy yz xz

# Kernels directly:
vm = symtensor.von_mises(stress)                 # (N,) von Mises stress
s1 = symtensor.principals(stress)[:, -1]         # (N,) max principal

# Data from a solver with a different component order (zero-copy):
vm = symtensor.von_mises(stress, order=ComponentOrder.ABAQUS)

# Or through the catalogs (organized by output kind):
entry = catalogs.get("symtensor3d.von_mises")
vm = entry.compute(stress)
for entry in catalogs.scalar.by_family(DataFamily.SYMTENSOR3D):  # scalar-producing
    print(entry.id, entry.display_name)

Dependencies

numpy only.


Documentation

If you want to… Read
Understand the architecture and design decisions docs/design.md
Navigate and understand the source docs/source-guide.md
See practical, real-world usage docs/patterns.md
Extend the library docs/extending.md

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vcti_derived-2.0.1.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vcti_derived-2.0.1-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file vcti_derived-2.0.1.tar.gz.

File metadata

  • Download URL: vcti_derived-2.0.1.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vcti_derived-2.0.1.tar.gz
Algorithm Hash digest
SHA256 3b50b36b2703d599769a821d30121a6a3921e350beddfa2e1f50689ec1b0fc7a
MD5 bda2f4c6f9913ef22c8f16f823dbb3d3
BLAKE2b-256 7f8e45eaf623b173a4abf40d637ff5e27196c1560dd975d2624df09ab16e116b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcti_derived-2.0.1.tar.gz:

Publisher: release.yml on vcollab/vcti-python-derived

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vcti_derived-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: vcti_derived-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vcti_derived-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a0c2f075e11457198af7d2c9a8701820d5deaa57fd56398e8db9973c8c65cdf
MD5 2e47c4d15bc00743f26f473be82a1c2b
BLAKE2b-256 7aaae6f7329d7c80e5dd296b0a703daf466634429382bd0fdd01bfeba2fb960b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcti_derived-2.0.1-py3-none-any.whl:

Publisher: release.yml on vcollab/vcti-python-derived

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 files

2.0.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page