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>=1.0.0

In pyproject.toml dependencies

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

Quick Start

import numpy as np
from vcti.derived import CATALOG, ComponentOrder, DataFamily, 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 catalog:
entry = CATALOG.get("symtensor3d.von_mises")
vm = entry.compute(stress)
for entry in CATALOG.by_family(DataFamily.SYMTENSOR3D):
    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
Look up a specific function or type docs/api.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-1.0.0.tar.gz (26.1 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-1.0.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vcti_derived-1.0.0.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for vcti_derived-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e1f10590d910ef6fe03dc6864214e3b1de2601ddb52e4aea44148192b1e89b80
MD5 ca3a02fa7f3643d0b982842020da4c18
BLAKE2b-256 17620eee56e79d1454d0635d2119d1eb5d5f8402ae3922d996b2d243c5bbe941

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcti_derived-1.0.0.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-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vcti_derived-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for vcti_derived-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95ac0a0062baf94b17eeed4203ddc8012554e91fe5f352750a9a3d13234fc03d
MD5 ba4e7b4ac3409fbd5833ffe0e404aed2
BLAKE2b-256 2139ec69706b1fc8584562a5eafc52f81c703d248de49d5e5c1b79c4db4e355b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcti_derived-1.0.0-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

2.0.1

2 files

2.0.0

2 files

This release

1.0.0 This release

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