Skip to content

Commit

Permalink
Update Guccione1993
Browse files Browse the repository at this point in the history
  • Loading branch information
termi-official committed Nov 6, 2024
1 parent 21b19c7 commit 393690e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
16 changes: 14 additions & 2 deletions src/modeling/solid/active.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,19 @@ $T^{\rm{a}} = T^{\rm{max}} \, [Ca_{\rm{i}}] (F \cdot f_0) \otimes f_0$
"""
Base.@kwdef struct Guccione1993ActiveModel
Tmax::Float64 = 100.0
# Default values from Marina Kampers PhD thesis
Tmax::Float64 = 135.0 #kPa
l₀::Float64 = 1.45 #µm
lR::Float64 = 1.8 #µm
Ca₀::Float64 = 4.35 #µM
Ca₀max::Float64 = 4.35 #µM
B::Float64 = 3.8 #1/µm
end

(sas::Guccione1993ActiveModel, Caᵢ, F::Tensor{2, dim}, coeff::AbstractTransverselyIsotropicMicrostructure) where {dim} = sas.Tmax * Caᵢ * (F coeff.f) coeff.f
function (sas::Guccione1993ActiveModel, Caᵢ, F::Tensor{2, dim}, coeff::AbstractTransverselyIsotropicMicrostructure) where {dim}
@unpack l₀, Ca₀, Ca₀max, Tmax = sas
l = (coeff.f F coeff.f)
ECa₅₀² = Ca₀max^2/(exp(B*(l - l₀)) - 1.0)
T₀ = Tmax * Ca₀^2 / (Ca₀^2 + ECa₅₀²) * Caᵢ
return T₀ * (F coeff.f) coeff.f
end
1 change: 0 additions & 1 deletion src/modeling/solid/materials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ function material_routine(F::Tensor{2,dim}, coefficients, cell_state, model::Act
Ψ(F_ad, coefficients, model.material_model),
F, :all)

λᵃ = compute_λᵃ(cell_state, model.contraction_model)
∂2 = Tensors.gradient(
F_ad -> (model.active_stress_model, cell_state, F_ad, coefficients),
F)
Expand Down

0 comments on commit 393690e

Please sign in to comment.