180 of 180 checks pass. Each check compares a function of engcomprheo with an exact solution, an identity or an independent calculation.
This file is written by python scripts/validate.py, which needs only NumPy.
Parameter sets, the Waters–King solution and the list of models and methods (20/20 PASS)¶
| # | Check | Computed | Expected | Status |
|---|
| 1 | Package version is 1.0.0 | 1.0.0 | 1.0.0 | PASS |
| 2 | Six parameter sets are defined | 6 | 6 (rtol=1.0e-09) | PASS |
| 3 | Critical Bingham number of the square duct equals 2/(2+π) (Mosolov and Miasnikov) | 0.5301589 | 0.5301589 (rtol=1.0e-09) | PASS |
| 4 | Critical Bingham number of the square duct lies below that of the plane channel, 1 | 0.530159 | In (0.530, 0.531) | PASS |
| 5 | List of models and methods has 24 entries | 24 | 24 (rtol=1.0e-09) | PASS |
| 6 | Entries of the list are numbered 1 to 24 | 1..24 | 1..24 | PASS |
| 7 | Every entry of the list names a function that exists in the package | 24 | 24 (rtol=1.0e-09) | PASS |
| 8 | The list covers all six parts | I,II,III,IV,V,VI | I..VI | PASS |
| 9 | Waters–King solution starts from rest | 0 | 0 (rtol=1.0e-09) | PASS |
| 10 | Waters–King solution satisfies no slip at both walls at all times | 0 | 0 (rtol=1.0e-09) | PASS |
| 11 | Waters–King steady centreline velocity equals GpH2/(2η0) | 1 | 1 (rtol=1.0e-09) | PASS |
| 12 | Waters–King profile tends to the Poiseuille parabola at long times | 2.7379689e-05 | 0 (rtol=1.0e-09) | PASS |
| 13 | Newtonian start-up (λ=0) approaches the steady state without overshoot | max=1.0000 | ≤ 1.0000 | PASS |
| 14 | Oldroyd-B start-up at large El overshoots the steady velocity by more than 25 % | peak=1.839 | > 1.25 | PASS |
| 15 | Velocity falls below the steady value after the first peak | min_after_peak=0.772 | < 0.98 | PASS |
| 16 | Elasticity number El=λη0/(ρH2) equals 1.2 | 1.2 | 1.2 (rtol=1.0e-09) | PASS |
| 17 | Viscosity ratio β=ηs/η0 equals 0.1 | 0.1 | 0.1 (rtol=1.0e-09) | PASS |
| 18 | Waters–King profile is symmetric about the centreline | Symmetric | Symmetric | PASS |
| 19 | Waters–King solution rejects negative times | ValueError | ValueError | PASS |
| 20 | Parameter sets of the Boger fluid and the LDPE melt have positive relaxation times | Valid presets | Positive params | PASS |
| # | Check | Computed | Expected | Status |
|---|
| 1 | Upper-convected derivative is frame indifferent (error below 10-12) | err=8.37e-16 | < 1e-10 | PASS |
| 2 | Lower-convected derivative is frame indifferent | err=1.20e-15 | < 1e-10 | PASS |
| 3 | Jaumann derivative is frame indifferent | err=7.70e-16 | < 1e-10 | PASS |
| 4 | Gordon–Schowalter derivative (ξ=0.35) is frame indifferent | err=5.69e-16 | < 1e-10 | PASS |
| 5 | Partial time derivative is not frame indifferent | err=6.32 | not frame indifferent | PASS |
| 6 | Gordon–Schowalter derivative at ξ=0 equals the upper-convected derivative | 0 | 0 (rtol=1.0e-09) | PASS |
| 7 | Gordon–Schowalter derivative at ξ=1 equals the Jaumann derivative | 2.2887834e-16 | 0 (rtol=1.0e-09) | PASS |
| 8 | Gordon–Schowalter derivative at ξ=2 equals the lower-convected derivative | 4.7102774e-16 | 0 (rtol=1.0e-09) | PASS |
| 9 | Finger tensor in simple shear has Bxx=1+γ2 | 3.25 | 3.25 (rtol=1.0e-09) | PASS |
| 10 | Simple shear conserves volume (detF=1) and has I1=I2=3+γ2 | I1=5.250 | 3 + gamma^2 | PASS |
| 11 | Free energy is zero at equilibrium, C=I | 0 | 0 (rtol=1.0e-09) | PASS |
| 12 | Free energy is positive for a positive definite C=I | psi=0.9356 | > 0 | PASS |
| 13 | check_spd_conformation detects a tensor with a negative eigenvalue | is_spd=False | False | PASS |
| 14 | exp(lnC) returns C to within 10-13 | 2.7599707e-15 | 0 (rtol=1.0e-09) | PASS |
| 15 | Decomposition of the log-conformation equation is finite at C=I | 0 | 0 (rtol=1.0e-09) | PASS |
| 16 | Rotation tensor Ω of Fattal and Kupferman is antisymmetric | 7.9854664e-17 | 0 (rtol=1.0e-09) | PASS |
| 17 | Log-conformation Oldroyd-B steady shear stress equals ηpγ˙ | 5.999726 | 6 (rtol=1.0e-03) | PASS |
| 18 | Log-conformation Oldroyd-B steady N1 equals 2ηpλγ˙2 | 35.981971 | 36 (rtol=2.0e-03) | PASS |
| 19 | Direct Euler update with a large step loses positive definiteness in shear reversal | min_det=-9.308e+02 | ≤ 0 | PASS |
| 20 | Log-conformation update with the same step keeps detC>0 | min_det=1.000e+00 | > 0 (unconditional SPD) | PASS |
Brownian dynamics of dumbbells, control variates and chains with hydrodynamic interaction (20/20 PASS)¶
| # | Check | Computed | Expected | Status |
|---|
| 1 | Closed-form root of the FENE cubic (Öttinger) satisfies the equation to 10-11 | 1.5916157e-12 | 0 (rtol=1.0e-09) | PASS |
| 2 | Root of the FENE cubic lies in [0,b) up to Y=500 | max_R=6.990068 < 7.0 | < sqrt(b) | PASS |
| 3 | Root of the FENE cubic at Y=0 is 0 | 0 | 0 (rtol=1.0e-09) | PASS |
| 4 | Hookean Brownian dynamics reproduces the exact start-up 0.08(1−e−t) to 10-4 | err=1.27e-05 | < 1e-4 | PASS |
| 5 | Hookean control variate reduces the variance of FENE Brownian dynamics by more than 15 times | VRF=89.2x | > 15x | PASS |
| 6 | Semi-implicit FENE update gives no extension beyond b at Wi = 8, Δt=0.1 | 0 | 0 (rtol=1.0e-09) | PASS |
| 7 | Explicit Euler FENE update gives extensions beyond b at Wi = 8, Δt=0.1 | overstretched=793 | > 0 | PASS |
| 8 | Mean-square extension of FENE dumbbells stays below b=25 | max_<Q^2>=9.44 | < 25.0 | PASS |
| 9 | FENE dumbbells shear-thin: τxy/Wi<1 at Wi = 4 | eta_p=0.527 | < 0.75 | PASS |
| 10 | FENE dumbbells have N1>0 in steady shear | N1=7.84 | > 1.5 | PASS |
| 11 | FENE dumbbells reach a finite steady stretch above Wiext=0.5 | <Q^2>=11.30 | In (10, 30) | PASS |
| 12 | Worm-like-chain dumbbells (Marko–Siggia force) stay below full extension with positive shear stress | tau=2.49 | Bounded WLC | PASS |
| 13 | Rotne–Prager–Yamakawa mobility matrix is symmetric | 0 | 0 (rtol=1.0e-09) | PASS |
| 14 | Rotne–Prager–Yamakawa mobility matrix is positive definite for beads that do not overlap | min_eig > 0 | SPD | PASS |
| 15 | Rotne–Prager–Yamakawa mobility matrix is positive definite for overlapping beads (r=0.4a) | min_eig=2.771e-03 | > 0 (SPD) | PASS |
| 16 | Oseen mobility matrix is not positive definite for two beads at r<1.5a | min_eig=-2.138e-01 | < 0 (not positive definite) | PASS |
| 17 | Rotne–Prager–Yamakawa mobility is continuous at r=2a | 2.9841542e-08 | 0 (rtol=1.0e-09) | PASS |
| 18 | Longest Rouse time of an 8-bead chain equals 1/[8sin2(π/16)] | 3.2842678 | 3.2842678 (rtol=1.0e-09) | PASS |
| 19 | Hydrodynamic interaction shortens the longest relaxation time | Zimm=2.83 < Rouse=3.28 | tau_Zimm < tau_Rouse | PASS |
| 20 | Mobility matrix stays positive definite in every step of the Zimm simulation | spd_preserved=True | True | PASS |
FENE-P and FENE-CR closures, the Rolie-Poly model and the Pom-Pom model (20/20 PASS)¶
| # | Check | Computed | Expected | Status |
|---|
| 1 | FENE-P: trC stays below b=30 | max_trC=10.26 | < 30.0 | PASS |
| 2 | FENE-P viscosity falls below its zero-shear value ηp=2 | eta=1.497 | < 1.8 | PASS |
| 3 | FENE-CR viscosity equals ηp=2 at Wi = 1 | 2.0000345 | 2 (rtol=2.0e-03) | PASS |
| 4 | FENE-CR viscosity equals ηp=2 at Wi = 5 | 2 | 2 (rtol=5.0e-03) | PASS |
| 5 | FENE-CR first normal-stress coefficient decreases with the shear rate | Psi1(5) < Psi1(1) | Thinning Psi1 | PASS |
| 6 | FENE-P shear stress tends to the Oldroyd-B value 6.0 for b=5000 | 5.9786015 | 6 (rtol=1.0e-02) | PASS |
| 7 | FENE-P extensional viscosity reaches a finite plateau above Wi = 0.5 | trC=27.82 | < 40.0 | PASS |
| 8 | Conformation-dependent drag gives a wide coil–stretch hysteresis loop | area=18.64 | > 5.0 | PASS |
| 9 | Constant drag gives a much narrower loop | off=0.188 | << drag-coupled | PASS |
| 10 | Rolie-Poly without stretch and with βCCR=0 has a decreasing shear stress at large Wid | 0.537 < 0.609 | Decreasing without CCR | PASS |
| 11 | Rolie-Poly with βCCR=1 has a monotonic flow curve | [0.317, 0.561, 0.607] | Strictly increasing | PASS |
| 12 | Rolie-Poly with stretch shows a stress overshoot and stretch above 1 in start-up | max_lam=1.94 | Overshoot & stretch > 1 | PASS |
| 13 | Rolie-Poly keeps all eigenvalues of C positive | SPD | det(C) > 0 | PASS |
| 14 | Pom-Pom extensional viscosity exceeds 1.5 times the Trouton value 3η0 | eta_E/3eta0=6.94 | > 1.5x Trouton | PASS |
| 15 | Pom-Pom shear viscosity falls below 0.7 η0 | eta_sh/eta0=0.03 | < 0.70 | PASS |
| 16 | Pom-Pom orientation tensor has unit trace | tr S = 1 | 1.0 | PASS |
| 17 | Pom-Pom backbone stretch is limited to the number of arms, q=3 | cap=3.00, uncap=1314.26 | Capped at q=3 | PASS |
| 18 | Pom-Pom backbone with one arm does not stretch | Stretch = 1 | 1.0 | PASS |
| 19 | Pom-Pom N1>0 in steady shear | N1=4.32 | > 0 | PASS |
| 20 | solve_pom_pom_melt rejects fewer than one arm | ValueError | ValueError | PASS |
Non-monotonic flow curves, shear banding and the Pakdel–McKinley criterion (20/20 PASS)¶
| # | Check | Computed | Expected | Status |
|---|
| 1 | Johnson–Segalman flow curve is non-monotonic for βs=0.05<1/8 | True | Non-monotonic | PASS |
| 2 | Johnson–Segalman flow curve is monotonic for βs=0.20>1/8 | Monotonic | beta_s > 1/8 | PASS |
| 3 | Johnson–Segalman model with ξ=0 (Oldroyd-B) has a linear flow curve | Linear | xi = 0 | PASS |
| 4 | Slope of the flow curve is zero at the lower spinodal rate | 5.5511151e-12 | 0 (rtol=1.0e-09) | PASS |
| 5 | Slope of the flow curve is zero at the upper spinodal rate | 0 | 0 (rtol=1.0e-09) | PASS |
| 6 | Diffusive Johnson–Segalman model forms two bands at Wi = 3.0 | ratio=10.77 | > 4.0 | PASS |
| 7 | Mean shear rate of the banded profile equals the applied Wi | 3 | 3 (rtol=1.0e-10) | PASS |
| 8 | Plateau stress does not depend on the initial perturbation | 0.80492533 | 0.80492533 (rtol=5.0e-03) | PASS |
| 9 | At Wi = 0.6, below the spinodal range, the flow stays homogeneous | Homogeneous | Zero banding | PASS |
| 10 | Total stress stays on the plateau between Wi = 2.5 and 3.8 | 0.80492483 | 0.80492519 (rtol=1.5e-02) | PASS |
| 11 | Fraction of the gap at the high rate grows with Wi as the lever rule predicts | 0.14 -> 0.27 | Increasing band width | PASS |
| 12 | Without stress diffusion the interface is sharper than with ℓd=0.03 | Sharper jump at l_d=0 | Interfacial smoothing | PASS |
| 13 | Two-species model (VCM) conserves the monomer number nA+nB/2 | 1.5669467 | 1.5669467 (rtol=1.0e-10) | PASS |
| 14 | Mean shear rate of the VCM profile equals the applied Wi = 2.8 | 2.8 | 2.8 (rtol=1.0e-10) | PASS |
| 15 | Long micelles are depleted where the shear rate is highest | corr(gdot, nA) < -0.5 | Chain scission in high-rate band | PASS |
| 16 | Short micelles are enriched in the high-shear band | corr(gdot, nB) > +0.5 | Short-species enrichment | PASS |
| 17 | Newtonian fluid (λ=0) has M=0 | 0 | 0 (rtol=1.0e-09) | PASS |
| 18 | Pakdel–McKinley number equals (λU/R)τ11/(η0γ˙) | 21.908902 | 21.908902 (rtol=1.0e-09) | PASS |
| 19 | Strongly curved streamlines exceed the critical Pakdel–McKinley number | M=21.91 ≥ 5.92 | Elastic instability | PASS |
| 20 | pakdel_mckinley_criterion rejects a negative relaxation time | ValueError | ValueError | PASS |
Exact Bingham flow, regularization, the augmented Lagrangian method and the Saramito model (20/20 PASS)¶
| # | Check | Computed | Expected | Status |
|---|
| 1 | Plane-channel Bingham solution at τy=0 gives the Newtonian flow rate 4/3 | 1.3333333 | 1.3333333 (rtol=1.0e-09) | PASS |
| 2 | Plug half-width in the plane channel equals τy/Gp=0.4 | 0.4 | 0.4 (rtol=1.0e-09) | PASS |
| 3 | Velocity is constant inside the plug | 0 | 0 (rtol=1.0e-09) | PASS |
| 4 | No flow when the wall stress is below the yield stress | 0 | 0 (rtol=1.0e-09) | PASS |
| 5 | Plug radius in a pipe equals 2τy/Gp=0.25 | 0.25 | 0.25 (rtol=1.0e-09) | PASS |
| 6 | Papanastasiou profile approaches the exact Bingham profile as m grows from 10 to 500 | err=0.040->0.0008 | Converges as O(1/m) | PASS |
| 7 | Papanastasiou model gives creep below the yield stress (τw=0.8τy) | creep=0.0711 | > 0 (spurious creep) | PASS |
| 8 | Augmented Lagrangian solver at τy=0 matches the series flow rate of the square duct (0.5623) to 0.2 % | 0.56213847 | 0.5623081 (rtol=2.0e-03) | PASS |
| 9 | Augmented Lagrangian solver at Bn = 0.32 converges in both residuals | res=5.20e-05 | < 1e-4 | PASS |
| 10 | Strain rate is zero in the central plug | Zero in the plug | Exact plug | PASS |
| 11 | All four corners of the duct are stagnant | 4 corners unyielded | Stagnant corners | PASS |
| 12 | Velocity field has the symmetry of the square | Symmetric | 4-fold symmetric | PASS |
| 13 | Below the critical Bingham number (Bn = 0.47 < 0.5302) the duct flows | Q(0.47)=0.0148 | > 0.01 | PASS |
| 14 | Above the critical Bingham number (Bn = 0.57 > 0.5302) the duct does not flow | 2.5467585e-10 | 0 (rtol=1.0e-09) | PASS |
| 15 | Saramito model below the yield stress (10 Pa < 15 Pa) reaches the elastic strain 0.10 | strain=0.1000 | 0.1000 (solid) | PASS |
| 16 | Saramito model above the yield stress (25 Pa > 15 Pa) reaches a steady shear rate | rate=1.963 | Steady flow | PASS |
| 17 | Saramito model recoils elastically when the stress is removed | min_rate=-12.50 | < 0 (elastic recoil) | PASS |
| 18 | Saramito start-up at constant rate approaches τy+(ηp+ηs)γ˙ | stress=20.35 | > tau_y | PASS |
| 19 | Unyielded fraction grows with Bn (0, 0.28, 0.57) | 0.30 < 1.00 | Monotone plug growth | PASS |
| 20 | At Bn = 0.57 the whole cross-section is unyielded | 1 | 1 (rtol=1.0e-09) | PASS |
| # | Check | Computed | Expected | Status |
|---|
| 1 | 1-D Oldroyd-B solver matches the Waters–King start-up (error below 2 %) | rel_err=0.0008 | < 0.02 | PASS |
| 2 | Steady N1(y) in the channel equals 2ηpλ(du/dy)2 | 0.00018667584 | 0 (rtol=1.0e-09) | PASS |
| 3 | Configuration fields reproduce the Oldroyd-B start-up (error below 7 %) without a constitutive equation | err=0.047 | < 0.07 | PASS |
| 4 | Configuration fields have a stress profile more than 10 times smoother than independent ensembles | CONN=17.4 against configuration fields=0.03 | > 10x smoother | PASS |
| 5 | FENE configuration fields reach a centreline velocity above 1.5 at the end of the run | u_c=1.789 | > 1.5 | PASS |
| 6 | Newtonian cavity (Wi = 0) has its vortex centre at xc=0.50 | 0.50008856 | 0.5 (rtol=1.0e-09) | PASS |
| 7 | Viscoelastic cavity (Wi = 1.2) moves the vortex centre upstream | x_c: 0.500 -> 0.461 | Upstream elastic shift | PASS |
| 8 | Log-conformation cavity solver keeps detC>0 everywhere | detC_min=1.0000 | > 0 | PASS |
| 9 | trC is largest under the lid (above 3.0) | max_trC=28.43 | > 3.0 near lid | PASS |
| 10 | Cavity residual falls by more than 10 times | 1.40e-01->5.60e-05 | Converging | PASS |
| 11 | Stream function has a negative minimum in the primary vortex | psi_min=-0.0651 | < -0.02 | PASS |
| 12 | Newtonian wavy channel has N1=0 and M=0 | 0 | 0 (rtol=1.0e-09) | PASS |
| 13 | Viscoelastic wavy channel has N1>0.5 and trC>2.5 | max_trC=14.40 | > 2.5 | PASS |
| 14 | Viscoelastic wavy channel keeps detC>0 | detC_min=1.0030 | > 0 | PASS |
| 15 | Wavy walls give a larger M than the straight channel | wavy=0.44 against flat=0.016 | Curvature-driven M | PASS |
| 16 | Flow rate is the same at the throat and in the expansion | 6.6613381e-16 | 0 (rtol=1.0e-09) | PASS |
| 17 | solve_2d_viscoelastic_cavity rejects a grid that is too small | ValueError | ValueError | PASS |
| 18 | Straight channel (ε=0) gives profiles that do not change along x | Uniform in x | Periodic invariance | PASS |
| 19 | Lid velocity of the regularized cavity stays small near the corners | corner_u=0.021 | < 0.25 | PASS |
| 20 | Vertical velocity on the centreline of the wavy channel is zero by symmetry | v(x, 0) = 0 | Midplane symmetry | PASS |
Lees–Edwards shear, dissipative particle dynamics and shear thickening (20/20 PASS)¶
| # | Check | Computed | Expected | Status |
|---|
| 1 | Lees–Edwards minimum image maps Δy=9.0 to -1.0 for L=10 | -1 | -1 (rtol=1.0e-09) | PASS |
| 2 | Lees–Edwards boundary shifts Δx by −γL=−3.0 | -3 | -3 (rtol=1.0e-09) | PASS |
| 3 | Lees–Edwards boundary shifts the relative velocity by γ˙L=5.0 | 0 | 0 (rtol=1.0e-09) | PASS |
| 4 | Pairs with ∣Δy∣<L/2 are not shifted | 0 | 0 (rtol=1.0e-09) | PASS |
| 5 | Pairwise DPD thermostat (Español and Warren) conserves momentum to 10-11 | 5.7827275e-14 | 0 (rtol=1.0e-09) | PASS |
| 6 | Drag on each particle’s velocity does not conserve momentum | drift=5.80 | > 0.5 | PASS |
| 7 | Fluctuation–dissipation relation σ2=2γkBT keeps the temperature near 1.0 | kT=0.912 | In [0.80, 1.25] | PASS |
| 8 | Lees–Edwards DPD gives a linear velocity profile | r=0.991 | > 0.94 | PASS |
| 9 | Irving–Kirkwood stress gives a positive shear viscosity | eta=0.540 | > 0.2 | PASS |
| 10 | At ϕ=0.42 the thickening is continuous | CST | Monotonic | PASS |
| 11 | At ϕ=0.542 the flow curve is S-shaped (discontinuous thickening) | is_s_shaped_dst=True | S-shaped DST | PASS |
| 12 | At low stress the Wyart–Cates viscosity equals ηf(1−ϕ/ϕ0)−2 | 0.42648896 | 0.42648896 (rtol=5.0e-02) | PASS |
| 13 | At high stress the Wyart–Cates viscosity equals ηf(1−ϕ/ϕm)−2 | 46.674909 | 47.265625 (rtol=5.0e-02) | PASS |
| 14 | Above ϕm (ϕ=0.57>0.55) the suspension jams at high stress | Shear jammed | eta = inf | PASS |
| 15 | Frictional suspension (μ=1) thickens sharply above the repulsive stress | jump=4.92x | > 1.35x | PASS |
| 16 | Friction (μ=1) gives more thickening than lubrication alone (μ=0) | mu=1:18.61 > mu=0:4.02 | Friction drives DST | PASS |
| 17 | Fraction of frictional contacts grows with the shear rate | 0.00->0.92 | Stress-activated contacts | PASS |
| 18 | Suspension viscosity exceeds the Einstein value 1+2.5ϕ | min_eta_r=3.78 | > 2.325 | PASS |
| 19 | lees_edwards_minimum_image rejects a non-positive box size | ValueError | ValueError | PASS |
| 20 | Wyart–Cates fraction f(τ) lies between 0 and 1 | In (0, 1) | Valid fraction | PASS |
Microrheology and the tensor-basis stress model (20/20 PASS)¶
| # | Check | Computed | Expected | Status |
|---|
| 1 | Exact mean-square displacement in a Newtonian fluid equals 2Dt | 2.1220659e-13 | 2.1220659e-13 (rtol=1.0e-09) | PASS |
| 2 | Simulated mean-square displacement in a Newtonian fluid equals 2Dt to 8 % | 2.141243e-13 | 2.1220659e-13 (rtol=8.0e-02) | PASS |
| 3 | Simulated mean-square displacement in a viscoelastic medium agrees with the exact one (mean error below 10 %) | 0.02537955 | 0 (rtol=1.0e-09) | PASS |
| 4 | Viscoelastic medium gives a plateau (smallest slope below 0.25) | min_alpha=0.089 | < 0.25 | PASS |
| 5 | Generalized Stokes–Einstein relation gives G′′/G′=tan(πα/2) | 7.1054274e-15 | 0 (rtol=1.0e-09) | PASS |
| 6 | Generalized Stokes–Einstein relation recovers the plateau modulus to 12 % | 2.133678 | 2.3435997 (rtol=1.2e-01) | PASS |
| 7 | At low frequency G′′>G′ | G'' > G' at low omega | Terminal viscous flow | PASS |
| 8 | On the plateau G′>G′′ | G' > G'' on plateau | Elastic plateau | PASS |
| 9 | Newtonian mean-square displacement has slope 1 | 0.9999 | 1 (rtol=1.0e-09) | PASS |
| 10 | Generalized Stokes–Einstein relation gives G′′/ω=ηs=10−3 Pa s for a Newtonian fluid | 0.0010000423 | 0.001 (rtol=1.0e-02) | PASS |
| 11 | Tensor-basis model fits the synthetic data with R2>0.9999 | R2=1.000000 | > 0.9999 | PASS |
| 12 | Tensor-basis model recovers the weights (2.5, 0.35, 0.15, 0) | 2.2991146e-15 | 0 (rtol=1.0e-09) | PASS |
| 13 | Tensor-basis model is equivariant under rotation (error below 10-12) | 1.256074e-15 | 0 (rtol=1.0e-09) | PASS |
| 14 | Tensor-basis model gives non-negative dissipation | min_diss=0.299 | ≥ 0 | PASS |
| 15 | Tensor-basis model gives zero stress at C=I | 0 | 0 (rtol=1.0e-09) | PASS |
| 16 | Tensor-basis model gives a symmetric stress | Symmetric | Symmetric | PASS |
| 17 | Component-wise network is not frame indifferent (error above 0.1 at 42 degrees) | mlp_err=3.206 | > 0.10 | PASS |
| 18 | Equivariance error of the tensor-basis model is more than 1011 times smaller than that of the network | TC=4.08e-15 against MLP=3.21e+00 | > 10^11 times smaller | PASS |
| 19 | Weights of the tensor-basis model are non-negative | w >= 0 | Convex potential | PASS |
| 20 | mason_gser_moduli rejects fewer than five lag times | ValueError | ValueError | PASS |