morphogen.homogenization.porous¶
Porous elasto-(visco)plasticity: the porous_plastic behaviours of Z-mat (Besson,
Cailletaud, Chaboche & Forest, Non-linear mechanics of materials, 2010, chap. 7), for the
ductile damage of metals (Gurson-Tvergaard-Needleman, Rousselier) and the compaction of
powders and foams (the elliptic criterion of Abouaf, Green and Shima & Oyane).
A porous material has a matrix, the “real material”, whose flow stress σ* (the matrix
stress) is defined from the macroscopic stress σ and the porosity f by a potential
φ(σ, σ*, f) = 0, an isotropic function of the mean stress Σm = tr σ / 3 and of the
von Mises stress Σeq = sqrt(3/2 s : s):
Gurson-Tvergaard-Needleman:
(Σeq / σ*)² + 2 q1 f* cosh(3 q2 Σm / (2 σ*)) - 1 - q3 f*² = 0(Gurson 1977; Tvergaard 1981; Tvergaard & Needleman 1984), the effective porosityf*a piecewise linear function off(fitself by default; the coalescence of Tvergaard & Needleman,f* = fc + (1/q1 - fc) (f - fc) / (fF - fc)beyondfc), kept below0.995 / q1(the surface vanishes at1 / q1);Rousselier:
σ* = Σeq / (1 - f) + D σ1 f exp(q Σm / ((1 - f) σ1))(Rousselier 1987,q = 1; the modified one of Z-mat,q2), which grows the voids in pure shear;elliptic:
σ*² = C(f) Σeq² + F(f) I1²(I1 = 3 Σm: Abouaf 1985, Abouaf, Chenot, Raisson & Bauduin 1988 for the hot compaction of metal powders; Green 1972; Shima & Oyane 1976; foams),CandFconstants or piecewise linear functions off(C = 1,F = 0for the dense material).
At f = 0 the three are von Mises. The overstress σ* - R(p) drives the flow of the
matrix: rate-independent plasticity σ* = R(p), or Norton’s viscoplasticity ṗ = <(σ*
- R) / K>^N, with the isotropic hardening R(p) = R0 + H p + Σ Q_i (1 - exp(-b_i p))
of the matrix equivalent plastic strain p. The plastic strain is normal to the
potential, ε̇p = Λ̇ ∂σ*/∂σ, and its rate follows from the equivalence of the plastic
work of the matrix and of the porous material, (1 - f) σ* ṗ = σ : ε̇p (Λ̇ = (1 - f)
ṗ for the potentials homogeneous of degree 1 in σ, GTN and elliptic). The porosity
is the sum of the growth porosity, by the conservation of the mass of the incompressible
matrix, ḟg = (1 - f) tr ε̇p, and of the nucleated one, ḟn = A(p) ṗ: a constant
A, Chu & Needleman’s (1980) Gaussian A = fN / (sN sqrt(2π)) exp(-((p - εN) / sN)² /
2) or an exponential A = B exp(-p / ε0), none below the plastic strain p_n.
Kinematic hardening (Besson & Guillemer-Neel 2003, the extension of the Gurson and Green
models; Besson, Cailletaud, Chaboche & Forest 2010, chap. 7), for the potentials
homogeneous of degree 1 in the stress, GTN and elliptic: the potential is that of the
relative stress σ - X, X = Σ X_i, the Armstrong-Frederick terms Ẋ_i = 2/3 C_i
ε̇p - D_i X_i ṗ (D_i = 0: Prager) of the plastic strain normal to the potential at σ
- X, and the work equivalence is that of the relative stress, (1 - f) σ* ṗ = (σ - X) :
ε̇p (Λ̇ = (1 - f) ṗ). The plastic strain has the volume change of the growth of the
voids: the backstresses have a hydrostatic part, tr Ẋ_i = 2/3 C_i tr ε̇p - D_i tr X_i ṗ,
and the mean stress of the potential is Σm - tr X / 3: the voids grown in hydrostatic
tension move the surface towards the tensile mean stresses (a hydrostatic Bauschinger
effect: the reversed, compressive mean stress yields earlier), as the deviatoric part moves
it along the deviator like that of von Mises points. At f = 0 without nucleation the
model is von Mises’s with the same kinematic terms. Rousselier’s potential, whose
exponential term has the constant stress σ1 (not homogeneous), takes none.
Integration (backward Euler, Aravas 1987): the trial stress σ_tr of the elastic
predictor (isotropic elasticity, bulk modulus K_b, shear modulus μ) is corrected
along the invariants, Σm = Σm_tr - K_b Δεv and Σeq = Σeq_tr - 3 μ Δεq (the
deviatoric direction n = 3/2 s_tr / Σeq_tr of the trial stress, isotropic potentials),
with Δεp = Δεv / 3 I + Δεq n. Four unknowns, Δεv, Δεq, Δp (or the viscous
stress over K, better conditioned near no flow) and f, solve four equations: the
normality Δεv ∂σ*/∂Σeq - Δεq ∂σ*/∂Σm = 0, the flow rule, the equivalence of the plastic
works and the evolution of the porosity, by Newton’s method with their analytical
Jacobian (the first and second derivatives of σ*: by the implicit function theorem
on the potential of GTN, in closed form for the others) and a line search, the matrix
stress of GTN by its own scalar Newton iteration (bracketed from that of the current
point at the points of the line search: a few evaluations instead of a dozen).
With backstresses (X_i = θ_i (X_i,n + 2/3 C_i Δεp), θ_i = 1 / (1 + D_i Δp): the
implicit recovery) the relative stress is the relative trial stress σ_tr - Σ θ_i X_i,n
(its deviator ξ*, von Mises stress J* and mean stress m*) corrected along its
invariants with the moduli 3 μ + c and K_b + 2 c / 9 (c = Σ θ_i C_i): Σeq =
J* - (3 μ + c) Δεq, Σm = m* - (K_b + 2 c / 9) Δεv, its deviator in the direction n
= 3/2 ξ* / J*, which Δp alone sets: the same four unknowns and equations, whose
invariants depend on Δp too (dJ*/dΔp = n : Σ D_i θ_i² X_i,n, dm*/dΔp = Σ D_i
θ_i² tr X_i,n / 3, dc/dΔp = -Σ D_i θ_i² C_i) in the analytical Jacobian.
At the vertex of Rousselier’s surface (Σeq = 0 under a hydrostatic stress, where its
deviatoric gradient jumps) the normality gives way to Σeq = 0. The
consistent tangent comes from the sensitivity of the solution to the trial invariants
(dσ = dΣm I + 2/3 dΣeq n + 2 μ Σeq / Σeq_tr (dε_dev - 2/3 (n : dε_dev) n)), not
symmetric (the porosity grows with the volumetric flow: 10⁻⁵ to 2·10⁻² of its norm),
symmetrized for the conjugate gradient solvers like that of the von Mises points or kept
whole for GMRES (sym); with backstresses
the trial invariant of the deviator is J* (dJ* = n : ds_tr, n that of ξ*),
the deviator s = s_tr - 2 μ Δεq n and the direction turns with Δp: dn = 3 / (2
J*) (dξ* - 2/3 (n : dξ*) n), dξ* = ds_tr + Σ D_i θ_i² X_i,n dΔp.
In finite strains (morphogen.homogenization.finite) the same update works in the
space of the logarithmic strain, where the plastic volume change is ln J_p: the
growth of the porosity is that of the volume of the pores of an incompressible matrix.
The kernels of the CPU have their CUDA port for the FFT solvers on the GPU
(behaviours.cu, compared with them point by point).
Internal variables of a point: the plastic strain (6, tensor components), p, the
growth of the porosity from its initial value f0, the nucleated porosity, the
matrix stress (an output), f = f0 + state[7] + state[8], then the backstresses (6 each,
tensor components: state_width()).
- morphogen.homogenization.porous.GURSON = 0¶
Criteria of the porous potentials
- morphogen.homogenization.porous.NUCLEATION = {'constant': 1, 'exponential': 3, 'gaussian': 2, 'none': 0}¶
Nucleation of porosity
- morphogen.homogenization.porous.MAX_TABLE = 4¶
Points of the tables of the coefficients depending on the porosity
- morphogen.homogenization.porous.MAX_KINEMATIC = 4¶
Most kinematic terms (C, D) of the matrix, as for the von Mises points
- morphogen.homogenization.porous.P_CRITERION = 12¶
Layout of a row of parameters (the first twelve as those of the von Mises points)
- morphogen.homogenization.porous.STATE_P = 6¶
plastic strain (6), p, growth of the porosity, nucleated porosity, matrix stress, then the backstresses (6 each); the width without them
- Type:
Internal variables
- morphogen.homogenization.porous.state_width(n_kinematic: int = 0) int[source]¶
Number of internal variables of a porous point with
n_kinematicbackstresses.
- class morphogen.homogenization.porous.PorousPlasticity(criterion: str, yield_stress: float, porosity: float = 0.0, hardening: float = 0.0, isotropic: tuple[tuple[float, float], ...] = (), viscosity: float | None = None, exponent: float | None = None, q1: float = 1.5, q2: float = 1.0, q3: float | None = None, effective: tuple = (), fc: float | None = None, fF: float | None = None, sigma1: float | None = None, D: float | None = None, C: tuple | float = 1.0, F: tuple | float = 0.0, nucleation: dict | None = None, kinematic: tuple[tuple[float, float], ...] = ())[source]¶
Bases:
objectPorous elasto-(visco)plasticity of an isotropic elastic material (see the module).
criterion:"gurson"(GTN:q1,q2,q3, by defaultq1², the effective porosityeffectiveas pairs(f, f*), or the coalescencefc,fF),"rousselier"(sigma1,D, the factorq2of the mean stress of the modified criterion) or"elliptic"(C,F: numbers or pairs(f, value)).porosity: the initial porosityf0. The matrix:yield_stress(R0),hardening(H),isotropic(pairs Q, b), Norton’sviscosity(K) andexponent(N) or rate-independent plasticity.nucleation:None, or a mapping with thetype(constant:A;gaussian:fN,eN,sN;exponential:B,e0) and the thresholdyieldofp.kinematic: the Armstrong-Frederick terms (pairs C, D;D = 0: Prager) of the backstresses of the criteriagursonandelliptic.- property viscous: bool¶
- params(lam: float, mu: float) ndarray[source]¶
Row of parameters of the integration kernels (see the module).
- classmethod from_config(spec) PorousPlasticity[source]¶
{criterion, yield (R0), porosity, hardening (H), isotropic: [{Q, b}...], kinematic: [{C, D}...], norton: {K, n}, q1, q2, q3, effective | fc and fF, sigma1, D, C, F, nucleation}.
- morphogen.homogenization.porous.matrix_stress(par, seq, sm, f)[source]¶
The matrix stress
σ*of the potential of a point (see the module) and its derivatives byΣeqandΣm, at the porosityf.
- morphogen.homogenization.porous.porous_update(par, eps, eth, dt, old, new, sig, tan)[source]¶
Implicit update of a porous point over a step
dt(see the module): straineps(engineering), thermal straineth(tensor components). Fills the stress, the new internal variables and the tangent; returns 1 if the local iteration fails.