|
svMultiPhysics
|
Uniform and steady active stress model. More...
#include <ActiveStressUniformSteady.h>
Classes | |
| class | Parameters |
| Model parameters class. More... | |
Public Member Functions | |
| ActiveStressUniformSteady () | |
| Constructor. | |
| virtual std::unique_ptr< ActiveStressModelParameters > | get_parameters () const override |
| Construct an instance of model parameters. | |
| Public Member Functions inherited from ActiveStress | |
| ActiveStress (const unsigned int n_states_, const bool needs_fiber_stretch, const bool needs_fiber_stretch_rate) | |
| Constructor. | |
| virtual | ~ActiveStress ()=default |
| Virtual destructor. | |
| void | read_parameters (const ActiveStressParameters ¶ms) |
| Read model parameters from a parameter object. | |
| void | distribute_parameters (const CmMod &cm_mod, const cmType &cm) |
| Distribute model parameters to all parallel processes. | |
| Vector< double > | get_state (const unsigned int Ac) const |
| Get the state vector at a given mesh node. | |
| ActiveTension | compute_tension (const Vector< double > &state, const double fiber_stretch) const |
| Compute the active tension given the state vector and fiber stretch. | |
| virtual void | init (const unsigned int tnNo) |
| Initialize the model. | |
| virtual void | time_advance () |
| Begin a new time step. | |
| virtual void | update (const double t, const double dt, const Vector< double > &calcium, const Vector< double > &fiber_stretch, const Vector< double > &fiber_stretch_rate) |
| Update the state over the current time step. | |
| bool | needs_fiber_stretch () const |
| Whether this model uses the fiber stretch passed to update. This flag can be used to determine whether fiber stretch computation can be skipped for efficiency. | |
| bool | needs_fiber_stretch_rate () const |
| Whether this model uses the fiber stretch rate passed to update. This flag can be used to determine whether fiber stretch rate computation can be skipped for efficiency. | |
| bool | implicit_state_coupling () const |
| Whether the state of this model is updated within the nonlinear iterations of the mechanics problem, i.e. whether the indirect dependence of the active tension on the fiber stretch is treated implicitly. | |
Static Public Attributes | |
| static const std::string | label = "UniformSteady" |
| Model label. | |
Protected Member Functions | |
| virtual void | read_model_specific_parameters (const ActiveStressModelParameters ¶ms) override |
| Read model parameters from a parameter object. | |
| virtual void | distribute_model_specific_parameters (const CmMod &cm_mod, const cmType &cm) override |
| Distribute model parameters to all parallel processes. | |
| virtual void | init_local (Vector< double > &state) const override |
| Initialize the state vector for a single node. | |
| virtual void | advance_time_step_local (const double t, const double dt, const double calcium, const double fiber_stretch, const double fiber_stretch_rate, Vector< double > &state) const override |
| Advance in time for a single node. | |
| virtual double | compute_active_tension_local (const Vector< double > &state, const double fiber_stretch) const override |
| Compute the active tension for a single node. | |
| virtual double | compute_active_tension_derivative_local (const Vector< double > &state, const double fiber_stretch) const override |
| Compute the partial derivative of the active tension with respect to the fiber stretch, at fixed state, for a single node. | |
Protected Attributes | |
| double | value |
| Active tension value. | |
| Protected Attributes inherited from ActiveStress | |
| bool | needs_fiber_stretch_ |
| Backing store for needs_fiber_stretch. | |
| bool | needs_fiber_stretch_rate_ |
| Backing store for needs_fiber_stretch_rate. | |
| double | time = 0.0 |
| Time instant being advanced to. Set by update. | |
| Array< double > | states |
| State variables for the model. | |
| Array< double > | states_at_time_step_start |
| State variables at the beginning of the current time step. | |
| bool | implicit_state_coupling_ |
| Whether the state of this model is updated within the nonlinear iterations of the mechanics problem. | |
| double | calcium_scaling_factor_ = 1.0 |
| bool | disable_force_strain_rate_feedback_ = false |
| double | eta_f |
| Active tension coefficient along the fiber direction. | |
| double | eta_s |
| Active tension coefficient along the sheet direction. | |
| double | eta_n |
| Active tension coefficient along the sheet-normal direction. | |
Additional Inherited Members | |
| Public Attributes inherited from ActiveStress | |
| const unsigned int | n_states |
| Number of state variables for this model. | |
Uniform and steady active stress model.
Defines an active tension that is constant in space and time, i.e.
\[ \Tact(t, \calcium, \fiberstretch, \fiberstretchrate, \astressstate) = g\;, \]
where \(g\) is a user-defined constant value.
|
inline |
Constructor.
|
inlineoverrideprotectedvirtual |
Advance in time for a single node.
This model has no states, so this function does nothing.
Implements ActiveStress.
|
inlineoverrideprotectedvirtual |
Compute the partial derivative of the active tension with respect to the fiber stretch, at fixed state, for a single node.
The active tension does not depend on the fiber stretch, so this is zero.
Implements ActiveStress.
|
inlineoverrideprotectedvirtual |
Compute the active tension for a single node.
Implements ActiveStress.
|
overrideprotectedvirtual |
Distribute model parameters to all parallel processes.
Implements ActiveStress.
|
inlineoverridevirtual |
Construct an instance of model parameters.
Implements ActiveStress.
|
inlineoverrideprotectedvirtual |
Initialize the state vector for a single node.
This model has no states, so this function does nothing.
Implements ActiveStress.
|
overrideprotectedvirtual |
Read model parameters from a parameter object.
Implements ActiveStress.
|
inlinestatic |
Model label.
|
protected |
Active tension value.