Repository navigation
Conversation
The Coulomb docstrings still called a reaction-fed normal stress "the next increment"; sigma_n="reaction" has been supported for some time. They now say what it does: per-node reaction of the no-opening constraint, updated once per Newton iteration, strength clamped at zero, with background added to either form. The viscous law states its units: V is a slip rate (m/s), so eta_f is a viscosity per unit length (Pa s/m), the band limit eta_band / w. The module header described only frictionless contact and module-level entry points; it now lists the interface laws and points to Stokes.add_fault_bc for the frictionless and viscous cases. Docstrings only. Underworld development team with AI support from Claude Code
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docstrings only, in
src/underworld3/utilities/fault_contact.py.CoulombFaultLawandadd_coulomb_fault_bccalled a reaction-fed normal stress "the follow-up increment" / "the next increment".sigma_n="reaction"is already supported. They now say what it does: the no-opening constraint's per-node reaction, updated once per Newton iteration, strength clamped at zero,backgroundadded to either form, and the tensile-glue caveat with a pointer tofault_normal_traction.add_viscous_fault_bcandViscousFaultLawstate the units: V is a slip rate (m/s), so eta_f is a viscosity per unit length (Pa s/m), the band limit eta_band / w with shear rate V/w.SymbolicFaultLaw. The header described only frictionless contact and module-level entry points; it now lists the interface laws, the reaction-fed normal stress, andStokes.add_fault_bcfor the frictionless and viscous cases.SymbolicFaultLawnames all three symbols a law may use.docs/advanced/split-node-faults.mdalready described the current behaviour; no change there.Flagged, not changed (Charter section 6, solver capabilities): the Coulomb and rate-and-state laws are documented entry points as free functions (
fault_contact.add_coulomb_fault_bc(stokes, ...)), while the Charter asks for a method on the solver; only frictionless and viscous go throughStokes.add_fault_bc.Checked with
py_compile; not rebuilt here (no pixi environment in this session). No overlap with open PRs: #1033 touches this file near_fault_pair_nodes_ononly; #1228 (the transverse-isotropic docstring) does not touch it.Underworld development team with AI support from Claude Code
Checklist (UW3 Style Charter — docs/developer/UW3_STYLE_CHARTER.md)
level_*andtier_*markers (S8) — n/a, docstrings onlymaybe_/try_/do_) and no commented-out code (S3, S4).array/mesh.X.coords(S7) — n/apixi.toml/pixi.lockor other dependency changesUnderworld development team with AI support from Claude Code
Generated by Claude Code