45 this =
this@models.muscle.AExperimentModelConfig(varargin[:]);
68 tmr = ones(1,size(points,2));
105 if this.
Options.BC == 2 && any(elemidx == 21:24) && faceidx == 4
125 df = m.getResidualForces(
t(end),y(:,end));
126 idx = m.getPositionDirichletBCFaceIdx(1:4,3);
136 geo = fem.geometry.Belly(6,this.
ylen,
" Radius ",0,
" InnerRadius ",2,
" Gamma ",2);
139 n(1,137) = n(1,137)*1.1;
140 geo = fem.geometry.Cube27Node(n,geo.Elements);
146 geo = this.
FEM.Geometry;
148 displ_dir(:,geo.Elements(1:4,geo.MasterFaces(3,:))) =
true;
149 displ_dir([1 3],geo.Elements(21:24,geo.MasterFaces(4,:))) =
true;
161 geo = this.
FEM.Geometry;
163 velo_dir(2,geo.Elements(21:24,geo.MasterFaces(4,:))) =
true;
178 c = models.muscle.examples.ThinTendon;
180 c.CurrentConfigNr= 4;
186 c = models.muscle.examples.ThinTendon;
188 e = models.muscle.ExperimentRunner(m);
189 d = e.runExperimentsCached;
191 title(
" Forces at fixed nodes at end time ");
static function test_ThinTendon()
function addOption(name, default, varargin)
function alpha = getAlphaRamp(ramptime,double alphamax,double starttime)
Creates a linearly increasing scalar function starting at starttime milliseconds ranging from zero to...
static function runExperiment()
function configureModel(m)
function P = getBoundaryPressure(elemidx, faceidx)
Determines the neumann forces on the boundary.
function [ velo_dir , velo_dir_val ] = setVelocityDirichletBC(velo_dir, velo_dir_val)
% Dirichlet conditions: Position (fix one side)
A variable number of input arguments.
function displ_dir = setPositionDirichletBC(displ_dir)
% Dirichlet conditions: Position (fix one side)
Thin tendon experiment for parameter fitting of tendon params.
function o = getOutputOfInterest(double t,matrix< double > y)
VelocityBCTimeFun
Velocity conditions application function.
function geo = getGeometry()
Returns the intended geometry for this model config.
function tmr = getTendonMuscleRatio(points)
Pure tendon material!
CurrentConfigNr
Sets the configuration number.
function u = getInputs()
Returns the inputs of the model.