sheff-output implements solution recovery, multi-scale quantity post-processing, component interface field extraction, and file/in-memory data export for boundary value problems in the Scalable Hierarchical Enrichment Finite-element Framework (SHEFF).
- Configurable Multi-Level Quantity Recovery (
output/Output.h):- Selects and computes continuum volume quantities (
finite_element::VolumeQuantity, such as displacements, strains, stresses, strain energy, and ISVs) and enrichment/interface surface quantities (finite_element::SurfaceQuantity, such as cohesive tractions, separations, and damage) acrossModel,Component,Element,Node,NodeByComponent, andQuadraturePointoutput levels.
- Selects and computes continuum volume quantities (
- Sub-Discretized & Enriched Visualization Meshes (
output/post_process/DataExport.h):- Exports fields either on the original mesh (
ORIGINAL) or projected onto conforming sub-elements split along XFEM cracks and material interfaces so discontinuous displacement and stress jumps are accurately visualized.
- Exports fields either on the original mesh (
- Component Interface Calculations (
output/post_process/SurfaceCalculations.h):- Extracts inter-component boundary surfaces and evaluates nodal and element tractions/stresses along component interfaces (
calculate_quantities_on_component_interfaces).
- Extracts inter-component boundary surfaces and evaluates nodal and element tractions/stresses along component interfaces (
- Flexible Export Destinations:
- Writes simulation outputs to disk (
export_all_bvp_data_to_file) usingsheff-fea-io(.x.json,.m.*,.g.*,.d.*) plus tabular model-level summaries, or directly into in-memory Eigen matrices (export_all_bvp_data_to_eigen) for programmatic workflows and Python bindings.
- Writes simulation outputs to disk (
include/output/: Public headers (Output.h,post_process/DataExport.h,post_process/SurfaceCalculations.h).source/: Output aggregation algorithms, sub-element projection routines, andfea_io/ Eigen exporters.unit_tests/: Unit tests verifying nodal/element/model recovery, XFEM discontinuity export, and component interface calculations.- CMake Package / Target:
Output/Output::output(static library).
- Build System:
sheff-build-tools(SHEFF_TOOLS), CMake 3.17+, C++17/C++20 compiler. - First-Party SHEFF Modules:
sheff-bvp(Bvp::bvp).
When building as part of SPAWC, sheff-output is configured and built automatically via make.py.
To build and test standalone (with SHEFF_TOOLS configured and a sparse solver backend enabled):
python3 make.py --config --build --use-mkl --make-tests --run-testsDistribution Statement A. Approved for public release: distribution is unlimited. Case #: AFRL-2026-4513