Repository navigation
QF Solver 0.2.12
Structural Dynamics, Nonlinear Mechanics, Constraint Modeling and Numerical Reliability
Open-source Python finite-element solver for structural mechanics and reproducible numerical verification.
| Release information | Value |
|---|---|
| Version | 0.2.12 |
| Source tag | v0.2.12 |
| Python | 3.10+ |
| License | Apache-2.0 |
| Distribution | PyPI |
| Website | https://qfsolver.org |
| Repository | https://github.com/emptiesvoid-cloud/QF_solver |
1. Release overview
QF Solver 0.2.12 is a substantial technical update covering structural dynamics, reduced-order methods, nonlinear mechanics, multipoint constraints, contact formulations, numerical robustness and scientific verification.
The release extends the solver's numerical capabilities while strengthening its interfaces, result diagnostics and reproducibility.
Main developments:
- Reusable prepared dynamic systems and modal bases.
- Multiple excitation channels and complex harmonic loading.
- Reduced harmonic response and modal Newmark integration.
- Uniform translational base acceleration.
- Experimental residual-flexibility correction.
- Dynamic stress recovery for selected solid elements.
- Improvements to RBE2, RBE3 and MPC formulations.
- Additional nonlinear elastic and Hencky material-point foundations.
- Experimental work-conjugate tangential contact transfer.
- Improved Jacobian checks, residual diagnostics and input validation.
- More explicit API, checkpoint and result contracts.
- Expanded verification, regression testing and release engineering.
Scientific scope: the availability of a numerical method does not imply general physical validation. Each capability has its own supported configuration, verification evidence and maturity status.
QF Solver is not certified industrial engineering software.
2. Release highlights
| Domain | Development | Maturity / scope |
|---|---|---|
| Dynamic system preparation | Reusable mass and stiffness operators | Bounded |
| Excitation modeling | Multiple identified excitation channels | Bounded |
| Modal reduction | Reusable modal bases and damping projection | Experimental |
| Harmonic dynamics | Modal-superposition frequency response | Experimental |
| Transient dynamics | Modal Newmark integration | Experimental |
| Base acceleration | Uniform translational excitation | Route-specific |
| Residual flexibility | Optional mode-acceleration correction | Experimental |
| Dynamic stresses | Harmonic and transient stress recovery | Experimental / provisional |
| Constraints | RBE2, RBE3 and affine MPC improvements | Bounded |
| Nonlinear materials | Additional elastic and Hencky kernels | Experimental |
| Contact | Work-conjugate B* tangential transfer | Experimental bounded |
| Robustness | Residual, Jacobian and input validation | Targeted corrections |
| Verification | Expanded tests and explicit evidence boundaries | Route-specific |
The following sections distinguish newly introduced functionality from existing capabilities that were consolidated or extended in this release.
3. Structural dynamics
The linear structural dynamics problem is expressed as:
where:
-
$M$ is the mass matrix. -
$C$ is the damping matrix. -
$K$ is the stiffness matrix. -
$u(t)$ is the displacement vector. -
$f(t)$ is the applied force vector.
3.1. Prepared dynamic systems — WP02
Version 0.2.12 introduces reusable prepared dynamic operators.
The PreparedDynamicSystem abstraction provides:
- Mass and stiffness assembly.
- Supported constrained-DOF reductions.
- Operator and model identities.
- Reuse between compatible calculations.
- Input compatibility checks.
- Assembly and reduction diagnostics.
Prepared systems improve the separation between model assembly and dynamic solution.
They do not automatically certify the numerical properties of the resulting matrices.
3.2. Multiple excitation channels — WP03
The excitation infrastructure supports identified channels with independent spatial distributions and compatible temporal or frequency-domain representations.
For harmonic excitation:
Supported concepts include:
- Named excitation channels.
- Spatial force distributions.
- Tabulated time histories.
- Complex harmonic amplitudes.
- Frequency and phase conventions.
- Excitation identity and compatibility checks.
The excitation layer prepares compatible loading data. It does not independently solve the structural dynamics problem.
3.3. Modal reduction — WP04
The displacement field can be approximated using a selected modal basis:
where
The reduced operators are:
The reduced equations become:
Version 0.2.12 adds reusable modal-basis objects, projection contracts and numerical validation diagnostics.
The accuracy of the reduced model depends on modal truncation, the original discretization and the supported damping and loading assumptions.
3.4. Reduced harmonic response — WP05
New method: harmonic_response / modal_superposition
For harmonic excitation:
The approximate physical response is reconstructed as:
This workflow provides:
- Frequency-domain modal-superposition calculations.
- Reuse of prepared dynamic operators.
- Reduced damping and stiffness handling.
- Response reconstruction.
- Result metadata and diagnostics.
- Compatibility checks between bases and excitations.
The direct harmonic-response method remains separate.
Maturity: experimental.
3.5. Modal Newmark integration — WP06
New method: transient_dynamic / modal_newmark
The reduced transient problem is:
The Newmark displacement update is:
The velocity update is:
The implementation includes modal-coordinate histories, response reconstruction, diagnostics and identity-bound checkpoints.
Incompatible checkpoints are rejected rather than silently reused.
Maturity: experimental.
3.6. Uniform base acceleration — WP07
Uniform translational base acceleration is available for selected reduced harmonic and modal-transient routes.
In relative coordinates:
where
The implementation defines compatible axis, sign, unit and excitation conventions.
This does not establish general multiple-support seismic analysis or arbitrary nonlinear base-motion support.
3.7. Residual-flexibility correction — WP-D01
An experimental mode-acceleration correction is available for the supported reduced harmonic workflow.
Under the appropriate constrained-system assumptions, a representative residual-flexibility operator is:
The implementation provides:
- Explicit opt-in activation.
- Prepared-system and modal-basis compatibility checks.
- Reuse of constrained-stiffness factorization.
- Separate uncorrected and corrected response information.
- Dedicated result metadata and diagnostics.
Limitation: the broader FEM qualification criterion remains unacquired. The correction must not be presented as a generally validated improvement in accuracy.
3.8. Dynamic stress recovery — WP-D02
Selected harmonic and transient reduced responses can be postprocessed to recover linear-elastic stresses for supported solid elements.
Supported element families:
- TET4
- TET10
- HEX8
- HEX20
For compatible linear-elastic models:
The implementation supports selected frequency- and time-domain stress recovery with explicit result contracts.
It does not establish general nonlinear, shell, beam or contact stress recovery.
4. Constraint modeling and finite elements
4.1. Affine multipoint constraints
A linear multipoint constraint can be expressed as:
For a supported acyclic constraint system:
The reduced stiffness and force operators become:
Version 0.2.12 consolidates bounded MPC validation, reduction and error handling.
Unsupported cyclic dependencies, incompatible equations and invalid pivots are explicitly rejected.
4.2. RBE2 rigid links
RBE2-style constraints support rigid-arm kinematics between master and dependent nodes.
For a rigid offset vector
The implementation includes selected rigid offsets, master rotations and compatible slave-rotation constraints.
The accepted scope remains bounded to documented small-displacement linear-static configurations.
4.3. RBE3 load distribution
RBE3 capabilities include:
- Weighted interpolation.
- Rigid-body projection.
- Unequal positive weights.
- Bounded geometry and rank checks.
- Generalized-force transfer for supported configurations.
The rigid_body_projection mode has a different mechanical contract from the simpler weighted mode.
General equivalence with all proprietary RBE3 formulations is not claimed.
4.4. Reproducible RBE examples
The release documentation includes examples involving:
- RBE2 rigid offsets.
- Combined forces and moments.
- RBE3 weighted load distribution.
- Analytical equilibrium checks.
- Displacement comparisons.
4.5. HEX20 geometry validation
Additional checks reject sampled HEX20 Jacobian determinants that are:
- Non-finite.
- Zero.
- Negative.
These checks occur before the corresponding stiffness integration.
The existing distortion and orientation controls are retained.
A positive determinant at sampled integration points does not guarantee positive Jacobian determinant throughout the entire element.
5. Nonlinear mechanics
Version 0.2.12 includes additional nonlinear-mechanics development while retaining previously implemented formulations.
5.1. J2 elastoplasticity
The cumulative solver includes selected small-strain J2 plasticity workflows.
A representative yield function is:
where:
-
$\sigma_{\mathrm{eq}}$ is the von Mises equivalent stress. -
$\sigma_{y0}$ is the initial yield stress. -
$H$ is the isotropic hardening modulus. -
$\alpha$ is the accumulated plastic variable.
Existing implementations include radial-return material integration and selected FEM configurations.
The release incorporates related nonlinear assembly and diagnostic improvements.
General finite-strain multiplicative plasticity is not qualified.
5.2. Corotational formulations
The corotational framework supports selected large-rotation configurations under small-local-strain assumptions.
Additional work addresses tangent handling and numerical diagnostics.
The accepted corotational J2 scope remains limited to its documented HEX8 configuration.
Large-rotation treatment must not be confused with general finite-strain constitutive modeling.
5.3. Finite-strain elastic foundations
Additional material-point functionality includes deformation-gradient and strain measures.
The deformation gradient is:
The Green–Lagrange strain is:
The volume ratio is:
Selected material-point kernels provide stress and tangent information under their documented constitutive assumptions.
Their presence does not imply integration into every nonlinear FEM analysis route.
5.4. Experimental Hencky formulation
The logarithmic strain is defined from the stretch tensor:
with the polar decomposition:
Additional experimental kernels provide selected Hencky elastic responses and directional tangent operations.
The directional first Piola–Kirchhoff stress increment can be written as:
Maturity: experimental material-point functionality.
The Hencky kernels are not a generally qualified assembled finite-element material route.
5.5. Nonlinear solver infrastructure
The cumulative nonlinear framework includes selected implementations of:
- Newton and modified-Newton methods.
- Residual and tangent assembly.
- Line-search controls.
- Increment adaptation and cutbacks.
- Trial-state and accepted-state management.
- Rollback handling.
- Selected checkpoint and continuation mechanisms.
These capabilities do not guarantee convergence for arbitrary nonlinear models.
6. Contact mechanics
6.1. Existing contact formulations
QF Solver retains selected experimental penalty-contact and frictional stick/slip workflows.
Their supported scope depends on contact geometry, discretization, loading and numerical configuration.
General finite sliding, self-contact, impact and unrestricted frictional contact remain outside the qualified scope.
6.2. Experimental B* tangential transfer
Version 0.2.12 introduces a bounded work-conjugate tangential-transfer option.
Configuration:
contact_tangential_transfer="small_rotation_work_conjugate"
The default remains:
contact_tangential_transfer="legacy"
The experimental B* formulation incorporates a first-order variation of the reference master-face normal in the tangential relative-displacement operator.
Generalized nodal forces are constructed using the transpose of the corresponding kinematic operator, maintaining the associated virtual-work relation.
The bounded scope includes:
- One initially frozen slave/master pair.
- One reference master triangle.
- Analyst-enforced small rotations.
- Explicit opt-in activation.
- No updated contact search.
- No finite sliding.
- No general consistent slip tangent.
The historical parent contact status remains:
WP-C01 = CLOSED_NEGATIVE
B maturity:* EXPERIMENTAL_BOUNDED.
7. Numerical robustness
7.1. Linear residual evaluation
Residual diagnostics use scale-safe norm evaluation to reduce numerical underflow and overflow risks.
Invalid tolerances and unrepresentable diagnostics are explicitly rejected.
The default residual tolerance was not relaxed.
A small algebraic residual does not automatically imply a small solution error in an ill-conditioned system.
7.2. Input validation
The release strengthens rejection of selected invalid numerical inputs, including:
- Non-finite nodal loads.
- Unsafe implicit numeric conversions.
- Invalid residual tolerances.
- Unsupported model/analysis combinations.
7.3. Unsupported discrete springs
Discrete springs are explicitly rejected in selected nonlinear-static, geometric-nonlinear-static and linear-buckling routes where their contributions are not assembled.
This prevents silent omission of unsupported mechanical contributions.
It does not add spring support to these routes.
7.4. Contact diagnostics
Unavailable contact residual measurements are represented using null and explicit NOT_COMPUTABLE diagnostics where applicable.
Unavailable values are not silently converted into numerical zeros.
7.5. Modal residual certification
Version 0.2.12 uses bounded modal residual-validation contracts.
Possible statuses include:
PASS_CERTIFIEDINCONCLUSIVEFAIL
The default policy is:
modal_validation_policy="strict"
The optional compatibility policy is:
modal_validation_policy="allow_inconclusive"
The latter can expose certain budget-limited computed candidates without treating them as certified.
A bounded residual certificate is not a general guarantee of physical modal accuracy or continuum discretization quality.
8. Public API and reproducibility
8.1. Python namespace
The recommended public namespace remains:
qf_solver
The historical solveur namespace remains available as a compatibility path for the 0.2.x series.
8.2. Result contracts
New and improved result structures cover selected:
- Prepared dynamic systems.
- Modal bases.
- Reduced harmonic responses.
- Modal transient histories.
- Residual-flexibility corrections.
- Dynamic stress-recovery results.
- Validation and certification diagnostics.
- Checkpoint and execution identities.
Experimental and provisional interfaces remain subject to their documented compatibility limitations.
8.3. Explicit result overwrite
Existing output files are not silently overwritten.
Intentional replacement requires:
overwrite=True
or the equivalent CLI option:
--overwrite
Scripts relying on implicit overwriting may require updates.
8.4. Existing import/export capabilities
The cumulative solver includes selected workflows for:
- JSON model input and results.
- Gmsh meshes.
- Bounded Abaqus/CalculiX
.inpimport. - CSV and VTU outputs.
- Optional HDF5 storage.
- Selected PETSc/MPI workflows.
Each format and backend has its own compatibility and maturity contract.
9. Verification and validation
QF Solver separates software testing from numerical verification and physical validation.
Its evidence framework distinguishes:
- Algebraic and formulation-level verification.
- Unit and integration testing.
- FEM verification on selected configurations.
- Mesh-convergence studies.
- Independent numerical comparisons.
- Scientific maturity decisions.
- Packaging and distribution verification.
Passing CI does not automatically establish scientific qualification.
9.1. WP12 bounded disposition
The recorded disposition is:
WP12_CLOSED_BOUNDED_FOR_0_2_12_ALPHA
The registered scope includes:
| Category | Count |
|---|---|
| MUST | 17 |
| Remaining SHOULD | 39 |
| DEFERRED | 6 |
This is a bounded disposition, not a general qualification of the entire solver.
9.2. Preserved scientific findings
| Case | Recorded status |
|---|---|
| TET4-L3 | Energy criterion FAIL: 0.0615360686 > 0.05 |
| HEX8-SRI | Two recorded FAIL cases; global post-correction validation not acquired |
| HEX20 QUAD8 R4 | Historical FAIL preserved |
| Classical modal analysis | Some configurations remain INCONCLUSIVE |
| WP-C01 frictional contact | CLOSED_NEGATIVE |
| WP-D01 residual flexibility | Broader FEM qualification not acquired |
These findings have not been promoted to PASS.
9.3. Continuous integration
Selected Quality and Documentation workflows passed during release preparation.
References:
The workflow results apply to their recorded source revisions and test selections.
Extended engineering and WP14 jobs were not executed as part of the selected publication workflow.
10. Compatibility and migration
| Area | 0.2.12 behavior |
|---|---|
| Python | Python 3.10+ |
| Public API | qf_solver recommended |
| Legacy API | 0.2.x compatibility retained |
| Modal validation | Strict policy by default |
| Inconclusive modal candidates | Explicit bounded opt-in |
| Modal checkpoints | Identity compatibility enforced |
| Output files | Explicit overwrite required |
| Input validation | Additional fail-closed checks |
| Unsupported springs | Explicit rejection in selected routes |
| Reduced dynamics | Experimental and route-specific |
| Optional dependencies | Environment-dependent |
Users migrating automated workflows should review the relevant analysis and result contracts.
11. Known limitations
Structural dynamics
Reduced-order methods remain experimental.
General nonlinear, rotating, contact-coupled and distributed reduced-order dynamics are not established.
Modal analysis
Residual certification is bounded and may return INCONCLUSIVE.
A certified algebraic residual is not proof of physical accuracy.
Nonlinear mechanics
General finite-strain plasticity, unrestricted nonlinear coupling and universal Newton convergence are not claimed.
Hencky functionality remains experimental material-point work.
Contact
General finite sliding, updated contact search, self-contact and impact dynamics remain outside the qualified scope.
Rotordynamics
Existing rotating_modal and campbell routes remain experimental.
They retain the documented BEAM2 shaft/rigid-disk restrictions and the unresolved high-frequency tracking ambiguity at 100 rad/s.
High-performance computing
Selected PETSc/MPI results do not establish universal scaling or distributed nonlinear support.
Scientific qualification
Numerical regression, mesh convergence, independent solver correlation and physical validation are distinct kinds of evidence.
QF Solver 0.2.12 does not claim universal physical validation or industrial certification.
12. Installation
Install the published version:
python -m pip install "qf-solver==0.2.12"Verify the installation:
qf-solver --versionRun a maintained linear-static example from a matching source checkout:
qf-solver check-mesh --input examples/tet4_static.json
qf-solver solve --input examples/tet4_static.json --output result.jsonOptional Gmsh, HDF5, PETSc, MPI and SLEPc dependencies are available for their supported workflows.
Optional dependency availability does not imply scientific qualification of the associated backend.
13. Release provenance and integrity
Source identity
Tag: v0.2.12
Tag object SHA:
dbf8314b861ac7f3a963d6036080e7a96ca4b17e
Source commit:
f6f63eb8701e38b41aae0d735850e8cf50b07fa5
Published PyPI distributions
Wheel:
qf_solver-0.2.12-py3-none-any.whl
SHA-256:
a09368d4d1d79f5b7fc10ff5c4c3a96dfa5d245a20bd9984704b8ab472d4c719
Source distribution:
qf_solver-0.2.12.tar.gz
SHA-256:
1b6a980c4ecb3dce1ed5a885a69c9cc66d1efd62af85fba20bb0ed13daac1cd1
These checksums identify the selected PyPI distributions.
They do not apply to GitHub's automatically generated source archives.
Repository archive qualification
The recorded whole-repository archive gate remains:
G03 = FAIL_PRESERVED
The associated WP14 disposition remains:
HOLD_NOT_PROMOTED
Whole-repository archive clearance has not been acquired.
The selected PyPI distribution checks do not qualify complete repository archives.
14. Documentation and citations
Project
Technical documentation
- Capabilities and element coverage
- Public Python API
- Reduced-dynamics and numerical changes
- RBE/MPC formulation
- Experimental B* contact formulation
- Modal verification status
- Known limitations
Citation
QF Solver project concept DOI:
https://doi.org/10.5281/zenodo.22697897
No version-specific DOI for 0.2.12 is asserted here.
The concept DOI identifies the project across versions.
15. Feedback and future development
QF Solver is an independently developed open-source scientific software project.
Technical feedback, reproducible examples, independent numerical comparisons and contributions are welcome.
Areas of particular interest include:
- Finite-element verification and mesh convergence.
- Structural dynamics benchmarks.
- Reduced-order modeling and modal accuracy.
- RBE/MPC and contact formulations.
- Nonlinear materials and consistent tangents.
- Numerical robustness and diagnostics.
- Scientific documentation and reproducibility.
Future releases will continue extending the solver's mechanical formulations, numerical methods, validation coverage, performance characterization and public interfaces.
New functionality will be assessed independently of the scientific maturity recorded for version 0.2.12.
QF Solver 0.2.12 expands the available numerical methods while maintaining explicit boundaries between implementation, numerical verification and scientific qualification.