DEMO_febio_0020_vessel_balloon_inflate

Below is a demonstration for:

Contents

Keywords

clear; close all; clc;

Plot settings

fontSize=20;
faceAlpha1=0.8;
markerSize=40;
lineWidth=3;

Control parameters

% Path names
defaultFolder = fileparts(fileparts(mfilename('fullpath')));
savePath=fullfile(defaultFolder,'data','temp');

% Defining file names
febioFebFileNamePart='tempModel';
febioFebFileName=fullfile(savePath,[febioFebFileNamePart,'.feb']); %FEB file name
febioLogFileName=[febioFebFileNamePart,'.txt']; %FEBio log file name
febioLogFileName_disp=[febioFebFileNamePart,'_disp_out.txt']; %Log file name for exporting displacement
febioLogFileName_strain=[febioFebFileNamePart,'_strain_out.txt']; %Log file name for exporting strain

%Specifying geometry parameters vessel (mm)
pointSpacing=1;
radiusOuter1=6.5/2;
radiusInner1=5.4/2;
radiusOuter2=5.8/2;
radiusInner2=4.7/2;
vesselLength=40;
contactInitialOffset=0.1;

radiusBalloon=min([radiusInner1 radiusInner2])-contactInitialOffset;
pointSpacingBalloon=pointSpacing/2;
balloonExtraLength=pointSpacing/2;

%Define applied bc's
radialDisplacement=1; %radial displacement after touch
radialDisplacementTotal=radialDisplacement+contactInitialOffset; %Total radial displacement

%Material parameter set
c1=1e-3; %Shear-modulus-like parameter
m1=2; %Material parameter setting degree of non-linearity
k_factor=100; %Bulk modulus factor
k=c1*k_factor; %Bulk modulus

% FEA control settings
numTimeSteps=10; %Number of time steps desired
max_refs=25; %Max reforms
max_ups=0; %Set to zero to use full-Newton iterations
opt_iter=15; %Optimum number of iterations
max_retries=0; %Maximum number of retires
dtmin=(1/numTimeSteps)/100; %Minimum time step size
dtmax=1/numTimeSteps; %Maximum time step size
runMode='internal';

%Contact parameters
contactPenalty=0.5;
laugon=0;
minaug=1;
maxaug=10;
fric_coeff=0;

%Visualization parameters
colorLimits_volumeRatio=[0.99 1.01];

Creating model boundary polygons

nRad=round((2*pi*max([radiusOuter1 radiusOuter2]))/pointSpacing); %Number of radial steps

t=linspace(0,2*pi,nRad)'; %Angles
t=t(1:end-1); %take away last which equals start
v1_Outer=[-(vesselLength/2)*ones(size(t)) radiusOuter1*sin(t) radiusOuter1*cos(t)]; %Circular coordinates

t=linspace(0,2*pi,nRad)'; %Angles
t=t(1:end-1); %take away last which equals start
v2_Outer=[(vesselLength/2)*ones(size(t)) radiusOuter2*sin(t) radiusOuter2*cos(t)]; %Circular coordinates

t=linspace(0,2*pi,nRad)'; %Angles
t=t(1:end-1); %take away last which equals start
v1_Inner=[-(vesselLength/2)*ones(size(t)) radiusInner1*sin(t) radiusInner1*cos(t)]; %Circular coordinates

t=linspace(0,2*pi,nRad)'; %Angles
t=t(1:end-1); %take away last which equals start
v2_Inner=[(vesselLength/2)*ones(size(t)) radiusInner2*sin(t) radiusInner2*cos(t)]; %Circular coordinates

t=linspace(0,2*pi,nRad)'; %Angles
t=t(1:end-1); %take away last which equals start
v1_balloon=[-((vesselLength/2)+balloonExtraLength)*ones(size(t)) radiusBalloon*sin(t) radiusBalloon*cos(t)]; %Circular coordinates
v2_balloon=[ ((vesselLength/2)+balloonExtraLength)*ones(size(t)) radiusBalloon*sin(t) radiusBalloon*cos(t)]; %Circular coordinates

Plotting model boundary polygons

cFigure;
hold on;
title('Model boundary polygons','FontSize',fontSize);
plotV(v1_Outer,'r.-')
plotV(v1_Inner,'g.-')
plotV(v2_Outer,'b.-')
plotV(v2_Inner,'y.-')
plotV(v1_balloon,'c.-')
plotV(v2_balloon,'k.-')
axisGeom(gca,fontSize);

drawnow;

Creating model boundary surfaces

controlStructLoft.numSteps=ceil(vesselLength./pointSpacing);
controlStructLoft.closeLoopOpt=1;
controlStructLoft.patchType='quad';

%Meshing outer surface
[F1,V1,indStart1]=polyLoftLinear(v1_Outer,v2_Outer,controlStructLoft);

%Meshing inner surface
[F2,V2,indStart2]=polyLoftLinear(v1_Inner,v2_Inner,controlStructLoft);

%Compose hexahedral elements
indStart2=indStart2+size(V1,1);
F2=F2+size(V1,1);
E=[F1 F2];
V=[V1;V2];
[FE]=element2patch(E,[],'hex8');
indBoundary=tesBoundary(FE,V);
Fb=FE(indBoundary,:);

%Meshing balloon surface
[Fs,Vs]=polyLoftLinear(v1_balloon,v2_balloon,controlStructLoft);
Fs=fliplr(Fs); %Invert orientation
[Fs,Vs]=subQuad(Fs,Vs,1);

Plotting model boundary surfaces

cFigure;
hold on;
title('Model boundary surfaces','FontSize',fontSize);

gpatch(FE,V,'rw','k',0.5);
patchNormPlot(FE,V);

gpatch(F1,V,'bw');
patchNormPlot(F1,V);

gpatch(F2,V,'gw');
patchNormPlot(F2,V);

gpatch(Fs,Vs,'kw');
patchNormPlot(Fs,Vs);

colormap(gca,gjet(4));
icolorbar;

axisGeom(gca,fontSize);
camlight headlight;
drawnow;

Joining node sets

Fs=Fs+size(V,1);
V=[V;Vs];

Defining the boundary conditions

The visualization of the model boundary shows colors for each side of the cube. These labels can be used to define boundary conditions.

%Define X supported node set
bcSupportList_X=unique([indStart1(:);indStart2(:)]); %Node set part of selected face

% %Define Y supported node set
% bcSupportList_Y=unique(Fb(Cb==4,:)); %Node set part of selected face

%Radial expansion prescribed displacement
bcPrescribeList=(size(V,1)-size(Vs,1)+1):size(V,1);

%Define presribed displacements
[t,r,z]  = cart2pol(V(bcPrescribeList,2),V(bcPrescribeList,3),V(bcPrescribeList,1));
[y2,z2,x2] = pol2cart(t,r+radialDisplacementTotal,z);
Ux=x2-V(bcPrescribeList,1);
Uy=y2-V(bcPrescribeList,2);
Uz=z2-V(bcPrescribeList,3);

Visualizing boundary conditions. Markers plotted on the semi-transparent model denote the nodes in the various boundary condition lists.

cFigure;
title('Boundary conditions','FontSize',fontSize);
xlabel('X','FontSize',fontSize); ylabel('Y','FontSize',fontSize); zlabel('Z','FontSize',fontSize);
hold on;

gpatch(FE,V,'kw','k',0.5);
gpatch(Fs,V,'kw','k',0.5);

hl(1)=plotV(V(bcSupportList_X,:),'k.','MarkerSize',markerSize);
hl(2)=gpatch(Fs,V,'rw','r',0.5);

legend(hl,{'BC X support','BC prescribe'});

axisGeom(gca,fontSize);
camlight headlight;
drawnow;

Define contact

F_contact_primary=Fs;
F_contact_secondary=F2;

Visualizing boundary conditions. Markers plotted on the semi-transparent model denote the nodes in the various boundary condition lists.

hf=cFigure;
title('Boundary conditions','FontSize',fontSize);
xlabel('X','FontSize',fontSize); ylabel('Y','FontSize',fontSize); zlabel('Z','FontSize',fontSize);
hold on;

gpatch(FE,V,'kw','none',0.5);

h1(1)=gpatch(F_contact_primary,V,'gw','g',0.5);
patchNormPlot(F_contact_primary,V);
h1(2)=gpatch(F_contact_secondary,V,'rw','r',0.5);
patchNormPlot(F_contact_secondary,V);

legend(hl,{'Master surface','Slave surface'});

axisGeom(gca,fontSize);
camlight headlight;
drawnow;

Defining the FEBio input structure

See also febioStructTemplate and febioStruct2xml and the FEBio user manual.

%Get a template with default settings
[febio_spec]=febioStructTemplate;

%febio_spec version
febio_spec.ATTR.version='3.0';

%Module section
febio_spec.Module.ATTR.type='solid';

%Control section
febio_spec.Control.analysis='STATIC';
febio_spec.Control.time_steps=numTimeSteps;
febio_spec.Control.step_size=1/numTimeSteps;
febio_spec.Control.solver.max_refs=max_refs;
febio_spec.Control.solver.max_ups=max_ups;
febio_spec.Control.solver.symmetric_stiffness=0;
febio_spec.Control.time_stepper.dtmin=dtmin;
febio_spec.Control.time_stepper.dtmax=dtmax;
febio_spec.Control.time_stepper.max_retries=max_retries;
febio_spec.Control.time_stepper.opt_iter=opt_iter;

%Material section
materialName1='Material1';
febio_spec.Material.material{1}.ATTR.name=materialName1;
febio_spec.Material.material{1}.ATTR.type='Ogden';
febio_spec.Material.material{1}.ATTR.id=1;
febio_spec.Material.material{1}.c1=c1;
febio_spec.Material.material{1}.m1=m1;
febio_spec.Material.material{1}.c2=c1;
febio_spec.Material.material{1}.m2=-m1;
febio_spec.Material.material{1}.k=k;

materialName2='Material2';
febio_spec.Material.material{2}.ATTR.name=materialName2;
febio_spec.Material.material{2}.ATTR.type='Ogden';
febio_spec.Material.material{2}.ATTR.id=2;
febio_spec.Material.material{2}.c1=c1;
febio_spec.Material.material{2}.m1=m1;
febio_spec.Material.material{2}.c2=c1;
febio_spec.Material.material{2}.m2=-m1;
febio_spec.Material.material{2}.k=k;

%Mesh section
% -> Nodes
febio_spec.Mesh.Nodes{1}.ATTR.name='nodeSet_all'; %The node set name
febio_spec.Mesh.Nodes{1}.node.ATTR.id=(1:size(V,1))'; %The node id's
febio_spec.Mesh.Nodes{1}.node.VAL=V; %The nodel coordinates

% -> Elements
partName1='Part1';
febio_spec.Mesh.Elements{1}.ATTR.name=partName1; %Name of this part
febio_spec.Mesh.Elements{1}.ATTR.type='hex8'; %Element type
febio_spec.Mesh.Elements{1}.elem.ATTR.id=(1:1:size(E,1))'; %Element id's
febio_spec.Mesh.Elements{1}.elem.VAL=E; %The element matrix

partName2='Part2';
febio_spec.Mesh.Elements{2}.ATTR.name=partName2; %Name of this part
febio_spec.Mesh.Elements{2}.ATTR.type='quad4'; %Element type
febio_spec.Mesh.Elements{2}.elem.ATTR.id=size(E,1)+(1:1:size(Fs,1))'; %Element id's
febio_spec.Mesh.Elements{2}.elem.VAL=Fs; %The element matrix

% -> Surfaces
surfaceName1='contactSurface1';
febio_spec.Mesh.Surface{1}.ATTR.name=surfaceName1;
febio_spec.Mesh.Surface{1}.quad4.ATTR.id=(1:1:size(F_contact_primary,1))';
febio_spec.Mesh.Surface{1}.quad4.VAL=F_contact_primary;

surfaceName2='contactSurface2';
febio_spec.Mesh.Surface{2}.ATTR.name=surfaceName2;
febio_spec.Mesh.Surface{2}.quad4.ATTR.id=(1:1:size(F_contact_secondary,1))';
febio_spec.Mesh.Surface{2}.quad4.VAL=F_contact_secondary;

% -> Surface pairs
febio_spec.Mesh.SurfacePair{1}.ATTR.name='Contact1';
febio_spec.Mesh.SurfacePair{1}.primary=surfaceName1;
febio_spec.Mesh.SurfacePair{1}.secondary=surfaceName2;

% -> NodeSets
nodeSetName1='bcSupportList_X';
febio_spec.Mesh.NodeSet{1}.ATTR.name=nodeSetName1;
febio_spec.Mesh.NodeSet{1}.node.ATTR.id=bcSupportList_X(:);

nodeSetName2='bcPrescribeList';
febio_spec.Mesh.NodeSet{2}.ATTR.name=nodeSetName2;
febio_spec.Mesh.NodeSet{2}.node.ATTR.id=bcPrescribeList(:);

%MeshDomains section
febio_spec.MeshDomains.SolidDomain.ATTR.name=partName1;
febio_spec.MeshDomains.SolidDomain.ATTR.mat=materialName1;

febio_spec.MeshDomains.ShellDomain.ATTR.name=partName2;
febio_spec.MeshDomains.ShellDomain.ATTR.mat=materialName2;

%MeshData secion
%-> Element data
meshDataName1='ThicknessData1';
febio_spec.MeshData.ElementData.ATTR.name=meshDataName1;
febio_spec.MeshData.ElementData.ATTR.elem_set=partName2;
febio_spec.MeshData.ElementData.ATTR.var='shell thickness';
febio_spec.MeshData.ElementData.elem.ATTR.lid=(1:size(Fs,1))';
febio_spec.MeshData.ElementData.elem.VAL=0.1*ones(size(Fs));

%-> Node data
meshDataName_Ux='DisplacementData_X';
febio_spec.MeshData.NodeData{1}.ATTR.name=meshDataName_Ux;
febio_spec.MeshData.NodeData{1}.ATTR.node_set=nodeSetName2;
febio_spec.MeshData.NodeData{1}.ATTR.data_type='scalar';
febio_spec.MeshData.NodeData{1}.node.ATTR.lid=(1:numel(bcPrescribeList))';
febio_spec.MeshData.NodeData{1}.node.VAL=Ux(:);

meshDataName_Uy='DisplacementData_Y';
febio_spec.MeshData.NodeData{2}.ATTR.name=meshDataName_Uy;
febio_spec.MeshData.NodeData{2}.ATTR.node_set=nodeSetName2;
febio_spec.MeshData.NodeData{2}.ATTR.data_type='scalar';
febio_spec.MeshData.NodeData{2}.node.ATTR.lid=(1:numel(bcPrescribeList))';
febio_spec.MeshData.NodeData{2}.node.VAL=Uy(:);

meshDataName_Uz='DisplacementData_Z';
febio_spec.MeshData.NodeData{3}.ATTR.name=meshDataName_Uz;
febio_spec.MeshData.NodeData{3}.ATTR.node_set=nodeSetName2;
febio_spec.MeshData.NodeData{3}.ATTR.data_type='scalar';
febio_spec.MeshData.NodeData{3}.node.ATTR.lid=(1:numel(bcPrescribeList))';
febio_spec.MeshData.NodeData{3}.node.VAL=Uz(:);

%Boundary condition section
% -> Fix boundary conditions
febio_spec.Boundary.bc{1}.ATTR.type='fix';
febio_spec.Boundary.bc{1}.ATTR.node_set=nodeSetName1;
febio_spec.Boundary.bc{1}.dofs='x';

febio_spec.Boundary.bc{2}.ATTR.type='prescribe';
febio_spec.Boundary.bc{2}.ATTR.node_set=nodeSetName2;
febio_spec.Boundary.bc{2}.dof='x';
febio_spec.Boundary.bc{2}.scale.ATTR.type='map';
febio_spec.Boundary.bc{2}.scale.ATTR.lc=1;
febio_spec.Boundary.bc{2}.scale.VAL=meshDataName_Ux;
febio_spec.Boundary.bc{2}.relative=0;

febio_spec.Boundary.bc{3}.ATTR.type='prescribe';
febio_spec.Boundary.bc{3}.ATTR.node_set=nodeSetName2;
febio_spec.Boundary.bc{3}.dof='y';
febio_spec.Boundary.bc{3}.scale.ATTR.type='map';
febio_spec.Boundary.bc{3}.scale.ATTR.lc=1;
febio_spec.Boundary.bc{3}.scale.VAL=meshDataName_Uy;
febio_spec.Boundary.bc{3}.relative=0;

febio_spec.Boundary.bc{4}.ATTR.type='prescribe';
febio_spec.Boundary.bc{4}.ATTR.node_set=nodeSetName2;
febio_spec.Boundary.bc{4}.dof='z';
febio_spec.Boundary.bc{4}.scale.ATTR.type='map';
febio_spec.Boundary.bc{4}.scale.ATTR.lc=1;
febio_spec.Boundary.bc{4}.scale.VAL=meshDataName_Uz;
febio_spec.Boundary.bc{4}.relative=0;

%Contact section
febio_spec.Contact.contact{1}.ATTR.type='sliding-elastic';
febio_spec.Contact.contact{1}.ATTR.surface_pair=febio_spec.Mesh.SurfacePair{1}.ATTR.name;
febio_spec.Contact.contact{1}.two_pass=1;
febio_spec.Contact.contact{1}.laugon=laugon;
febio_spec.Contact.contact{1}.tolerance=0.2;
febio_spec.Contact.contact{1}.gaptol=0;
febio_spec.Contact.contact{1}.minaug=minaug;
febio_spec.Contact.contact{1}.maxaug=maxaug;
febio_spec.Contact.contact{1}.search_tol=0.01;
febio_spec.Contact.contact{1}.search_radius=0.1;
febio_spec.Contact.contact{1}.symmetric_stiffness=0;
febio_spec.Contact.contact{1}.auto_penalty=1;
febio_spec.Contact.contact{1}.penalty=contactPenalty;
febio_spec.Contact.contact{1}.fric_coeff=fric_coeff;

%LoadData section
% -> load_controller
febio_spec.LoadData.load_controller{1}.ATTR.id=1;
febio_spec.LoadData.load_controller{1}.ATTR.type='loadcurve';
febio_spec.LoadData.load_controller{1}.interpolate='LINEAR';
febio_spec.LoadData.load_controller{1}.points.point.VAL=[0 0; 1 1];

%Output section
% -> log file
febio_spec.Output.logfile.ATTR.file=febioLogFileName;
febio_spec.Output.logfile.node_data{1}.ATTR.file=febioLogFileName_disp;
febio_spec.Output.logfile.node_data{1}.ATTR.data='ux;uy;uz';
febio_spec.Output.logfile.node_data{1}.ATTR.delim=',';
febio_spec.Output.logfile.node_data{1}.VAL=1:size(V,1);

febio_spec.Output.logfile.element_data{1}.ATTR.file=febioLogFileName_strain;
febio_spec.Output.logfile.element_data{1}.ATTR.data='E1';
febio_spec.Output.logfile.element_data{1}.ATTR.delim=',';
febio_spec.Output.logfile.element_data{1}.VAL=1:size(E,1);

Quick viewing of the FEBio input file structure

The febView function can be used to view the xml structure in a MATLAB figure window.

febView(febio_spec); %Viewing the febio file febView(febio_spec)

Exporting the FEBio input file

Exporting the febio_spec structure to an FEBio input file is done using the febioStruct2xml function.

febioStruct2xml(febio_spec,febioFebFileName); %Exporting to file and domNode

Running the FEBio analysis

To run the analysis defined by the created FEBio input file the runMonitorFEBio function is used. The input for this function is a structure defining job settings e.g. the FEBio input file name. The optional output runFlag informs the user if the analysis was run succesfully.

febioAnalysis.run_filename=febioFebFileName; %The input file name
febioAnalysis.run_logname=febioLogFileName; %The name for the log file
febioAnalysis.disp_on=1; %Display information on the command window
febioAnalysis.runMode=runMode;%'internal';

[runFlag]=runMonitorFEBio(febioAnalysis);%START FEBio NOW!!!!!!!!
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-------->    RUNNING/MONITORING FEBIO JOB    <-------- 11-Dec-2020 12:23:13
FEBio path: /home/kevin/FEBioStudio/bin/febio3
# Attempt removal of existing log files                11-Dec-2020 12:23:13
 * Removal succesful                                   11-Dec-2020 12:23:13
# Attempt removal of existing .xplt files              11-Dec-2020 12:23:13
 * Removal succesful                                   11-Dec-2020 12:23:13
# Starting FEBio...                                    11-Dec-2020 12:23:13
  Max. total analysis time is: Inf s

===========================================================================
         ________    _________   _______       __     _________            
        |        |\ |        |\ |       \\    |  |\  /         \\          
        |    ____|| |    ____|| |    __  ||   |__|| |    ___    ||         
        |   |\___\| |   |\___\| |   |\_| ||    \_\| |   //  \   ||         
        |   ||__    |   ||__    |   ||_| ||   |  |\ |  ||    |  ||         
        |       |\  |       |\  |         \\  |  || |  ||    |  ||         
        |    ___||  |    ___||  |    ___   || |  || |  ||    |  ||         
        |   |\__\|  |   |\__\|  |   |\__|  || |  || |  ||    |  ||         
        |   ||      |   ||___   |   ||__|  || |  || |   \\__/   ||         
        |   ||      |        |\ |          || |  || |           ||         
        |___||      |________|| |_________//  |__||  \_________//          
                                                                           
      F I N I T E   E L E M E N T S   F O R   B I O M E C H A N I C S      
                                                                           
  version 3.1.0
  FEBio is a registered trademark.                                         
  copyright (c) 2006-2020 - All rights reserved                            
                                                                           
===========================================================================

Default linear solver: pardiso
Reading file /mnt/data/MATLAB/GIBBON/data/temp/tempModel.feb ...SUCCESS!

Setting parameter "scale" to : 0
Setting parameter "scale" to : 0
Setting parameter "scale" to : 0

 ]0;(0%) tempModel.feb - FEBio 3.1.0  
===== beginning time step 1 : 0.1 =====

Setting parameter "scale" to : 0.1
Setting parameter "scale" to : 0.1
Setting parameter "scale" to : 0.1

Reforming stiffness matrix: reformation #1

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1204068
 1
 Nonlinear solution status: time= 0.1
	stiffness updates             = 0
	right hand side evaluations   = 2
	stiffness matrix reformations = 1
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.324789e+00    7.584011e-06    0.000000e+00 
	   energy              7.228943e+00    1.726148e-02    7.228943e-02 
	   displacement        3.969440e+01    3.969440e+01    3.969440e-05 
Reforming stiffness matrix: reformation #2

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1219458
 2
 Nonlinear solution status: time= 0.1
	stiffness updates             = 0
	right hand side evaluations   = 3
	stiffness matrix reformations = 2
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.324789e+00    7.396574e-10    0.000000e+00 
	   energy              7.228943e+00    2.282119e-07    7.228943e-02 
	   displacement        3.969440e+01    5.235246e-03    3.953105e-05 
Reforming stiffness matrix: reformation #3

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1214328
 3
 Nonlinear solution status: time= 0.1
	stiffness updates             = 0
	right hand side evaluations   = 4
	stiffness matrix reformations = 3
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.324789e+00    5.892873e-13    0.000000e+00 
	   energy              7.228943e+00    1.968581e-09    7.228943e-02 
	   displacement        3.969440e+01    9.798117e-04    3.952929e-05 
Reforming stiffness matrix: reformation #4

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1214328
 4
 Nonlinear solution status: time= 0.1
	stiffness updates             = 0
	right hand side evaluations   = 5
	stiffness matrix reformations = 4
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.324789e+00    3.272893e-15    0.000000e+00 
	   energy              7.228943e+00    1.633847e-11    7.228943e-02 
	   displacement        3.969440e+01    2.798631e-06    3.952927e-05 

convergence summary
    number of iterations   : 4
    number of reformations : 4

------- converged at time : 0.1


Data Record #1
===========================================================================
Step = 1
Time = 0.1
Data = ux;uy;uz
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt

Data Record #2
===========================================================================
Step = 1
Time = 0.1
Data = E1
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_strain_out.txt
 ]0;(10%) tempModel.feb - FEBio 3.1.0  
===== beginning time step 2 : 0.2 =====

Setting parameter "scale" to : 0.2
Setting parameter "scale" to : 0.2
Setting parameter "scale" to : 0.2

Reforming stiffness matrix: reformation #1

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1213788
 1
 Nonlinear solution status: time= 0.2
	stiffness updates             = 0
	right hand side evaluations   = 2
	stiffness matrix reformations = 1
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.612325e+00    7.500742e-05    0.000000e+00 
	   energy              7.942113e+00    1.581578e-02    7.942113e-02 
	   displacement        4.004952e+01    4.004952e+01    4.004952e-05 
Reforming stiffness matrix: reformation #2

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1339158
 2
 Nonlinear solution status: time= 0.2
	stiffness updates             = 0
	right hand side evaluations   = 3
	stiffness matrix reformations = 2
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.612325e+00    9.202031e-07    0.000000e+00 
	   energy              7.942113e+00    3.989023e-05    7.942113e-02 
	   displacement        4.004952e+01    2.447198e+00    4.264266e-05 
Reforming stiffness matrix: reformation #3

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1330122
 3
 Nonlinear solution status: time= 0.2
	stiffness updates             = 0
	right hand side evaluations   = 5
	stiffness matrix reformations = 3
	step from line search         = 0.314181
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.612325e+00    5.776941e-07    0.000000e+00 
	   energy              7.942113e+00    3.679815e-06    7.942113e-02 
	   displacement        4.004952e+01    2.107536e-02    4.273925e-05 
Reforming stiffness matrix: reformation #4

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1334028
 4
 Nonlinear solution status: time= 0.2
	stiffness updates             = 0
	right hand side evaluations   = 6
	stiffness matrix reformations = 4
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.612325e+00    1.501680e-10    0.000000e+00 
	   energy              7.942113e+00    1.254046e-07    7.942113e-02 
	   displacement        4.004952e+01    7.377851e-02    4.337891e-05 
Reforming stiffness matrix: reformation #5

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1330608
 5
 Nonlinear solution status: time= 0.2
	stiffness updates             = 0
	right hand side evaluations   = 7
	stiffness matrix reformations = 5
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.612325e+00    1.647446e-15    0.000000e+00 
	   energy              7.942113e+00    5.118944e-12    7.942113e-02 
	   displacement        4.004952e+01    7.196695e-05    4.336872e-05 
Reforming stiffness matrix: reformation #6

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1330608
 6
 Nonlinear solution status: time= 0.2
	stiffness updates             = 0
	right hand side evaluations   = 8
	stiffness matrix reformations = 6
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.612325e+00    7.384010e-22    0.000000e+00 
	   energy              7.942113e+00    7.045404e-17    7.942113e-02 
	   displacement        4.004952e+01    8.385253e-10    4.336869e-05 

convergence summary
    number of iterations   : 6
    number of reformations : 6

------- converged at time : 0.2


Data Record #1
===========================================================================
Step = 2
Time = 0.2
Data = ux;uy;uz
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt

Data Record #2
===========================================================================
Step = 2
Time = 0.2
Data = E1
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_strain_out.txt
 ]0;(20%) tempModel.feb - FEBio 3.1.0  
===== beginning time step 3 : 0.3 =====

Setting parameter "scale" to : 0.3
Setting parameter "scale" to : 0.3
Setting parameter "scale" to : 0.3

Reforming stiffness matrix: reformation #1

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1330608
 1
 Nonlinear solution status: time= 0.3
	stiffness updates             = 0
	right hand side evaluations   = 2
	stiffness matrix reformations = 1
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.943771e+00    8.149392e-05    0.000000e+00 
	   energy              8.707078e+00    1.486487e-02    8.707078e-02 
	   displacement        5.395081e+01    5.395081e+01    5.395081e-05 
Reforming stiffness matrix: reformation #2

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1446888
 2
 Nonlinear solution status: time= 0.3
	stiffness updates             = 0
	right hand side evaluations   = 3
	stiffness matrix reformations = 2
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.943771e+00    7.314125e-07    0.000000e+00 
	   energy              8.707078e+00    4.534297e-05    8.707078e-02 
	   displacement        5.395081e+01    5.255089e+00    6.873564e-05 
Reforming stiffness matrix: reformation #3

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1445808
 3
 Nonlinear solution status: time= 0.3
	stiffness updates             = 0
	right hand side evaluations   = 4
	stiffness matrix reformations = 3
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.943771e+00    2.720599e-08    0.000000e+00 
	   energy              8.707078e+00    4.261656e-06    8.707078e-02 
	   displacement        5.395081e+01    2.491715e-01    7.314691e-05 
Reforming stiffness matrix: reformation #4

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1445178
 4
 Nonlinear solution status: time= 0.3
	stiffness updates             = 0
	right hand side evaluations   = 5
	stiffness matrix reformations = 4
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.943771e+00    1.468455e-11    0.000000e+00 
	   energy              8.707078e+00    3.642593e-09    8.707078e-02 
	   displacement        5.395081e+01    1.243894e-03    7.343074e-05 
Reforming stiffness matrix: reformation #5

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1444962
 5
 Nonlinear solution status: time= 0.3
	stiffness updates             = 0
	right hand side evaluations   = 6
	stiffness matrix reformations = 5
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            1.943771e+00    1.104028e-17    0.000000e+00 
	   energy              8.707078e+00    8.932524e-14    8.707078e-02 
	   displacement        5.395081e+01    1.286193e-06    7.343754e-05 

convergence summary
    number of iterations   : 5
    number of reformations : 5

------- converged at time : 0.3


Data Record #1
===========================================================================
Step = 3
Time = 0.3
Data = ux;uy;uz
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt

Data Record #2
===========================================================================
Step = 3
Time = 0.3
Data = E1
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_strain_out.txt
 ]0;(30%) tempModel.feb - FEBio 3.1.0  
===== beginning time step 4 : 0.4 =====

Setting parameter "scale" to : 0.4
Setting parameter "scale" to : 0.4
Setting parameter "scale" to : 0.4

Reforming stiffness matrix: reformation #1

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1444962
 1
 Nonlinear solution status: time= 0.4
	stiffness updates             = 0
	right hand side evaluations   = 2
	stiffness matrix reformations = 1
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            2.323139e+00    9.101520e-05    0.000000e+00 
	   energy              9.507621e+00    1.398799e-02    9.507621e-02 
	   displacement        1.073963e+02    1.073963e+02    1.073963e-04 
Reforming stiffness matrix: reformation #2

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1566150
 2
 Nonlinear solution status: time= 0.4
	stiffness updates             = 0
	right hand side evaluations   = 3
	stiffness matrix reformations = 2
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            2.323139e+00    8.556717e-07    0.000000e+00 
	   energy              9.507621e+00    5.364565e-05    9.507621e-02 
	   displacement        1.073963e+02    8.076087e+00    1.472972e-04 
Reforming stiffness matrix: reformation #3

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1564098
 3
 Nonlinear solution status: time= 0.4
	stiffness updates             = 0
	right hand side evaluations   = 4
	stiffness matrix reformations = 3
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            2.323139e+00    2.717414e-09    0.000000e+00 
	   energy              9.507621e+00    5.376289e-07    9.507621e-02 
	   displacement        1.073963e+02    3.556142e-01    1.576698e-04 
Reforming stiffness matrix: reformation #4

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1561680
 4
 Nonlinear solution status: time= 0.4
	stiffness updates             = 0
	right hand side evaluations   = 5
	stiffness matrix reformations = 4
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            2.323139e+00    4.345935e-12    0.000000e+00 
	   energy              9.507621e+00    5.209703e-09    9.507621e-02 
	   displacement        1.073963e+02    8.591540e-04    1.581830e-04 
Reforming stiffness matrix: reformation #5

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1559748
 5
 Nonlinear solution status: time= 0.4
	stiffness updates             = 0
	right hand side evaluations   = 6
	stiffness matrix reformations = 5
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            2.323139e+00    8.672839e-17    0.000000e+00 
	   energy              9.507621e+00    4.516008e-13    9.507621e-02 
	   displacement        1.073963e+02    1.429648e-06    1.581955e-04 

convergence summary
    number of iterations   : 5
    number of reformations : 5

------- converged at time : 0.4


Data Record #1
===========================================================================
Step = 4
Time = 0.4
Data = ux;uy;uz
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt

Data Record #2
===========================================================================
Step = 4
Time = 0.4
Data = E1
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_strain_out.txt
 ]0;(40%) tempModel.feb - FEBio 3.1.0  
===== beginning time step 5 : 0.5 =====

Setting parameter "scale" to : 0.5
Setting parameter "scale" to : 0.5
Setting parameter "scale" to : 0.5

Reforming stiffness matrix: reformation #1

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1559748
 1
 Nonlinear solution status: time= 0.5
	stiffness updates             = 0
	right hand side evaluations   = 2
	stiffness matrix reformations = 1
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            2.754694e+00    1.643907e-05    0.000000e+00 
	   energy              1.034280e+01    1.339140e-02    1.034280e-01 
	   displacement        2.336530e+02    2.336530e+02    2.336530e-04 
Reforming stiffness matrix: reformation #2

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1559748
 2
 Nonlinear solution status: time= 0.5
	stiffness updates             = 0
	right hand side evaluations   = 3
	stiffness matrix reformations = 2
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            2.754694e+00    8.914556e-08    0.000000e+00 
	   energy              1.034280e+01    3.375987e-06    1.034280e-01 
	   displacement        2.336530e+02    9.477604e-02    2.336745e-04 
Reforming stiffness matrix: reformation #3

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1558038
 3
 Nonlinear solution status: time= 0.5
	stiffness updates             = 0
	right hand side evaluations   = 4
	stiffness matrix reformations = 3
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            2.754694e+00    5.200386e-10    0.000000e+00 
	   energy              1.034280e+01    6.138271e-08    1.034280e-01 
	   displacement        2.336530e+02    1.743654e-03    2.334927e-04 
Reforming stiffness matrix: reformation #4

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1558038
 4
 Nonlinear solution status: time= 0.5
	stiffness updates             = 0
	right hand side evaluations   = 5
	stiffness matrix reformations = 4
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            2.754694e+00    2.040154e-14    0.000000e+00 
	   energy              1.034280e+01    4.029516e-11    1.034280e-01 
	   displacement        2.336530e+02    4.359485e-05    2.333316e-04 

convergence summary
    number of iterations   : 4
    number of reformations : 4

------- converged at time : 0.5


Data Record #1
===========================================================================
Step = 5
Time = 0.5
Data = ux;uy;uz
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt

Data Record #2
===========================================================================
Step = 5
Time = 0.5
Data = E1
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_strain_out.txt
 ]0;(50%) tempModel.feb - FEBio 3.1.0  
===== beginning time step 6 : 0.6 =====

Setting parameter "scale" to : 0.6
Setting parameter "scale" to : 0.6
Setting parameter "scale" to : 0.6

Reforming stiffness matrix: reformation #1

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1558038
 1
 Nonlinear solution status: time= 0.6
	stiffness updates             = 0
	right hand side evaluations   = 2
	stiffness matrix reformations = 1
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            3.242822e+00    1.523465e-05    0.000000e+00 
	   energy              1.120015e+01    1.332074e-02    1.120015e-01 
	   displacement        2.315368e+02    2.315368e+02    2.315368e-04 
Reforming stiffness matrix: reformation #2

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1556472
 2
 Nonlinear solution status: time= 0.6
	stiffness updates             = 0
	right hand side evaluations   = 3
	stiffness matrix reformations = 2
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            3.242822e+00    9.647249e-08    0.000000e+00 
	   energy              1.120015e+01    8.546595e-06    1.120015e-01 
	   displacement        2.315368e+02    8.338597e-02    2.248338e-04 
Reforming stiffness matrix: reformation #3

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1556472
 3
 Nonlinear solution status: time= 0.6
	stiffness updates             = 0
	right hand side evaluations   = 4
	stiffness matrix reformations = 3
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            3.242822e+00    9.175469e-10    0.000000e+00 
	   energy              1.120015e+01    9.866474e-08    1.120015e-01 
	   displacement        2.315368e+02    2.375608e-03    2.247070e-04 
Reforming stiffness matrix: reformation #4

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1556472
 4
 Nonlinear solution status: time= 0.6
	stiffness updates             = 0
	right hand side evaluations   = 5
	stiffness matrix reformations = 4
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            3.242822e+00    3.891048e-14    0.000000e+00 
	   energy              1.120015e+01    6.572922e-11    1.120015e-01 
	   displacement        2.315368e+02    1.840568e-04    2.243624e-04 

convergence summary
    number of iterations   : 4
    number of reformations : 4

------- converged at time : 0.6


Data Record #1
===========================================================================
Step = 6
Time = 0.6
Data = ux;uy;uz
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt

Data Record #2
===========================================================================
Step = 6
Time = 0.6
Data = E1
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_strain_out.txt
 ]0;(60%) tempModel.feb - FEBio 3.1.0  
===== beginning time step 7 : 0.7 =====

Setting parameter "scale" to : 0.7
Setting parameter "scale" to : 0.7
Setting parameter "scale" to : 0.7

Reforming stiffness matrix: reformation #1

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1556472
 1
 Nonlinear solution status: time= 0.7
	stiffness updates             = 0
	right hand side evaluations   = 2
	stiffness matrix reformations = 1
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            3.792127e+00    1.411762e-05    0.000000e+00 
	   energy              1.208490e+01    1.277990e-02    1.208490e-01 
	   displacement        2.209828e+02    2.209828e+02    2.209828e-04 
Reforming stiffness matrix: reformation #2

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1551198
 2
 Nonlinear solution status: time= 0.7
	stiffness updates             = 0
	right hand side evaluations   = 3
	stiffness matrix reformations = 2
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            3.792127e+00    7.171547e-08    0.000000e+00 
	   energy              1.208490e+01    7.367863e-06    1.208490e-01 
	   displacement        2.209828e+02    7.617408e-02    2.147048e-04 
Reforming stiffness matrix: reformation #3

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1551198
 3
 Nonlinear solution status: time= 0.7
	stiffness updates             = 0
	right hand side evaluations   = 4
	stiffness matrix reformations = 3
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            3.792127e+00    5.310428e-10    0.000000e+00 
	   energy              1.208490e+01    6.521569e-08    1.208490e-01 
	   displacement        2.209828e+02    2.156056e-03    2.141708e-04 
Reforming stiffness matrix: reformation #4

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1551198
 4
 Nonlinear solution status: time= 0.7
	stiffness updates             = 0
	right hand side evaluations   = 5
	stiffness matrix reformations = 4
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            3.792127e+00    9.046028e-15    0.000000e+00 
	   energy              1.208490e+01    2.355296e-11    1.208490e-01 
	   displacement        2.209828e+02    9.910797e-05    2.139246e-04 

convergence summary
    number of iterations   : 4
    number of reformations : 4

------- converged at time : 0.7


Data Record #1
===========================================================================
Step = 7
Time = 0.7
Data = ux;uy;uz
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt

Data Record #2
===========================================================================
Step = 7
Time = 0.7
Data = E1
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_strain_out.txt
 ]0;(70%) tempModel.feb - FEBio 3.1.0  
===== beginning time step 8 : 0.8 =====

Setting parameter "scale" to : 0.8
Setting parameter "scale" to : 0.8
Setting parameter "scale" to : 0.8

Reforming stiffness matrix: reformation #1

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1551198
 1
 Nonlinear solution status: time= 0.8
	stiffness updates             = 0
	right hand side evaluations   = 2
	stiffness matrix reformations = 1
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            4.407392e+00    1.292858e-05    0.000000e+00 
	   energy              1.300043e+01    1.226402e-02    1.300043e-01 
	   displacement        2.117044e+02    2.117044e+02    2.117044e-04 
Reforming stiffness matrix: reformation #2

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1546068
 2
 Nonlinear solution status: time= 0.8
	stiffness updates             = 0
	right hand side evaluations   = 4
	stiffness matrix reformations = 2
	step from line search         = 0.513601
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            4.407392e+00    3.343047e-06    0.000000e+00 
	   energy              1.300043e+01    1.165739e-05    1.300043e-01 
	   displacement        2.117044e+02    7.450871e-02    2.067918e-04 
Reforming stiffness matrix: reformation #3

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1546068
 3
 Nonlinear solution status: time= 0.8
	stiffness updates             = 0
	right hand side evaluations   = 5
	stiffness matrix reformations = 3
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            4.407392e+00    2.091230e-09    0.000000e+00 
	   energy              1.300043e+01    2.361461e-07    1.300043e-01 
	   displacement        2.117044e+02    1.328821e-02    2.045782e-04 
Reforming stiffness matrix: reformation #4

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1546068
 4
 Nonlinear solution status: time= 0.8
	stiffness updates             = 0
	right hand side evaluations   = 6
	stiffness matrix reformations = 4
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            4.407392e+00    3.198032e-13    0.000000e+00 
	   energy              1.300043e+01    4.689305e-10    1.300043e-01 
	   displacement        2.117044e+02    9.420870e-04    2.038350e-04 
Reforming stiffness matrix: reformation #5

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1546554
 5
 Nonlinear solution status: time= 0.8
	stiffness updates             = 0
	right hand side evaluations   = 7
	stiffness matrix reformations = 5
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            4.407392e+00    4.328115e-19    0.000000e+00 
	   energy              1.300043e+01    2.012060e-14    1.300043e-01 
	   displacement        2.117044e+02    2.297692e-08    2.038353e-04 

convergence summary
    number of iterations   : 5
    number of reformations : 5

------- converged at time : 0.8


Data Record #1
===========================================================================
Step = 8
Time = 0.8
Data = ux;uy;uz
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt

Data Record #2
===========================================================================
Step = 8
Time = 0.8
Data = E1
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_strain_out.txt
 ]0;(80%) tempModel.feb - FEBio 3.1.0  
===== beginning time step 9 : 0.9 =====

Setting parameter "scale" to : 0.9
Setting parameter "scale" to : 0.9
Setting parameter "scale" to : 0.9

Reforming stiffness matrix: reformation #1

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1546554
 1
 Nonlinear solution status: time= 0.9
	stiffness updates             = 0
	right hand side evaluations   = 2
	stiffness matrix reformations = 1
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            5.093559e+00    1.197529e-05    0.000000e+00 
	   energy              1.394779e+01    1.179425e-02    1.394779e-01 
	   displacement        2.020095e+02    2.020095e+02    2.020095e-04 
Reforming stiffness matrix: reformation #2

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1544358
 2
 Nonlinear solution status: time= 0.9
	stiffness updates             = 0
	right hand side evaluations   = 4
	stiffness matrix reformations = 2
	step from line search         = 0.580017
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            5.093559e+00    2.501713e-06    0.000000e+00 
	   energy              1.394779e+01    6.794365e-06    1.394779e-01 
	   displacement        2.020095e+02    8.411679e-02    1.968078e-04 
Reforming stiffness matrix: reformation #3

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1542648
 3
 Nonlinear solution status: time= 0.9
	stiffness updates             = 0
	right hand side evaluations   = 5
	stiffness matrix reformations = 3
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            5.093559e+00    6.462523e-10    0.000000e+00 
	   energy              1.394779e+01    1.965626e-07    1.394779e-01 
	   displacement        2.020095e+02    1.307611e-02    1.945237e-04 
Reforming stiffness matrix: reformation #4

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1542648
 4
 Nonlinear solution status: time= 0.9
	stiffness updates             = 0
	right hand side evaluations   = 6
	stiffness matrix reformations = 4
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            5.093559e+00    1.582301e-12    0.000000e+00 
	   energy              1.394779e+01    3.319156e-10    1.394779e-01 
	   displacement        2.020095e+02    1.929586e-04    1.942418e-04 

convergence summary
    number of iterations   : 4
    number of reformations : 4

------- converged at time : 0.9


Data Record #1
===========================================================================
Step = 9
Time = 0.9
Data = ux;uy;uz
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt

Data Record #2
===========================================================================
Step = 9
Time = 0.9
Data = E1
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_strain_out.txt
 ]0;(90%) tempModel.feb - FEBio 3.1.0  
===== beginning time step 10 : 1 =====

Setting parameter "scale" to : 1
Setting parameter "scale" to : 1
Setting parameter "scale" to : 1

Reforming stiffness matrix: reformation #1

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1542648
 1
 Nonlinear solution status: time= 1
	stiffness updates             = 0
	right hand side evaluations   = 2
	stiffness matrix reformations = 1
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            5.855723e+00    1.118634e-05    0.000000e+00 
	   energy              1.492784e+01    1.136292e-02    1.492784e-01 
	   displacement        1.920907e+02    1.920907e+02    1.920907e-04 
Reforming stiffness matrix: reformation #2

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1542648
 2
 Nonlinear solution status: time= 1
	stiffness updates             = 0
	right hand side evaluations   = 3
	stiffness matrix reformations = 2
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            5.855723e+00    2.080651e-07    0.000000e+00 
	   energy              1.492784e+01    1.206073e-05    1.492784e-01 
	   displacement        1.920907e+02    8.525751e-02    1.864757e-04 
Reforming stiffness matrix: reformation #3

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1542648
 3
 Nonlinear solution status: time= 1
	stiffness updates             = 0
	right hand side evaluations   = 4
	stiffness matrix reformations = 3
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            5.855723e+00    1.156413e-09    0.000000e+00 
	   energy              1.492784e+01    1.529527e-07    1.492784e-01 
	   displacement        1.920907e+02    4.542470e-03    1.854408e-04 
Reforming stiffness matrix: reformation #4

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1542648
 4
 Nonlinear solution status: time= 1
	stiffness updates             = 0
	right hand side evaluations   = 5
	stiffness matrix reformations = 4
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            5.855723e+00    1.900615e-13    0.000000e+00 
	   energy              1.492784e+01    1.467448e-10    1.492784e-01 
	   displacement        1.920907e+02    2.006775e-04    1.851309e-04 
Reforming stiffness matrix: reformation #5

===== reforming stiffness matrix:
	Nr of equations ........................... : 22534
	Nr of nonzeroes in stiffness matrix ....... : 1542648
 5
 Nonlinear solution status: time= 1
	stiffness updates             = 0
	right hand side evaluations   = 6
	stiffness matrix reformations = 5
	step from line search         = 1.000000
	convergence norms :     INITIAL         CURRENT         REQUIRED
	   residual            5.855723e+00    3.145843e-20    0.000000e+00 
	   energy              1.492784e+01    7.097645e-16    1.492784e-01 
	   displacement        1.920907e+02    1.839152e-09    1.851307e-04 

convergence summary
    number of iterations   : 5
    number of reformations : 5

------- converged at time : 1


Data Record #1
===========================================================================
Step = 10
Time = 1
Data = ux;uy;uz
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt

Data Record #2
===========================================================================
Step = 10
Time = 1
Data = E1
File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_strain_out.txt
 ]0;(100%) tempModel.feb - FEBio 3.1.0  

 N O N L I N E A R   I T E R A T I O N   I N F O R M A T I O N

	Number of time steps completed .................... : 10

	Total number of equilibrium iterations ............ : 46

	Average number of equilibrium iterations .......... : 4.6

	Total number of right hand evaluations ............ : 59

	Total number of stiffness reformations ............ : 46


 L I N E A R   S O L V E R   S T A T S

	Total calls to linear solver ........ : 46

	Avg iterations per solve ............ : 1

	Time in linear solver: 0:00:14

 ]0;(0%) tempModel.feb - FEBio 3.1.0  
 Elapsed time : 0:00:29


 N O R M A L   T E R M I N A T I O N

 * Log file found.                                     11-Dec-2020 12:23:42
# Parsing log file...                                  11-Dec-2020 12:23:42
    number of iterations   : 4                         11-Dec-2020 12:23:42
    number of reformations : 4                         11-Dec-2020 12:23:42
------- converged at time : 0.1                        11-Dec-2020 12:23:42
    number of iterations   : 6                         11-Dec-2020 12:23:42
    number of reformations : 6                         11-Dec-2020 12:23:42
------- converged at time : 0.2                        11-Dec-2020 12:23:42
    number of iterations   : 5                         11-Dec-2020 12:23:42
    number of reformations : 5                         11-Dec-2020 12:23:42
------- converged at time : 0.3                        11-Dec-2020 12:23:42
    number of iterations   : 5                         11-Dec-2020 12:23:42
    number of reformations : 5                         11-Dec-2020 12:23:42
------- converged at time : 0.4                        11-Dec-2020 12:23:42
    number of iterations   : 4                         11-Dec-2020 12:23:42
    number of reformations : 4                         11-Dec-2020 12:23:42
------- converged at time : 0.5                        11-Dec-2020 12:23:42
    number of iterations   : 4                         11-Dec-2020 12:23:42
    number of reformations : 4                         11-Dec-2020 12:23:42
------- converged at time : 0.6                        11-Dec-2020 12:23:42
    number of iterations   : 4                         11-Dec-2020 12:23:42
    number of reformations : 4                         11-Dec-2020 12:23:42
------- converged at time : 0.7                        11-Dec-2020 12:23:42
    number of iterations   : 5                         11-Dec-2020 12:23:42
    number of reformations : 5                         11-Dec-2020 12:23:42
------- converged at time : 0.8                        11-Dec-2020 12:23:42
    number of iterations   : 4                         11-Dec-2020 12:23:42
    number of reformations : 4                         11-Dec-2020 12:23:42
------- converged at time : 0.9                        11-Dec-2020 12:23:42
    number of iterations   : 5                         11-Dec-2020 12:23:42
    number of reformations : 5                         11-Dec-2020 12:23:42
------- converged at time : 1                          11-Dec-2020 12:23:42
 Elapsed time : 0:00:29                                11-Dec-2020 12:23:42
 N O R M A L   T E R M I N A T I O N
# Done                                                 11-Dec-2020 12:23:42
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Import FEBio results

if runFlag==1 %i.e. a succesful run

Importing nodal displacements from a log file

    dataStruct=importFEBio_logfile(fullfile(savePath,febioLogFileName_disp),1,1);

    %Access data
    N_disp_mat=dataStruct.data; %Displacement
    timeVec=dataStruct.time; %Time

    %Create deformed coordinate set
    V_DEF=N_disp_mat+repmat(V,[1 1 size(N_disp_mat,3)]);

Plotting the simulated results using anim8 to visualize and animate deformations

    DN_magnitude=sqrt(sum(N_disp_mat(:,:,end).^2,2)); %Current displacement magnitude

    % Create basic view and store graphics handle to initiate animation
    hf=cFigure; %Open figure
    gtitle([febioFebFileNamePart,': Press play to animate']);
    title('Displacement magnitude [mm]','Interpreter','Latex')
    hp=gpatch(Fb,V_DEF(:,:,end),DN_magnitude,'k',1); %Add graphics object to animate
    hp.FaceColor='interp';
    hp2=gpatch(Fs,V,'w','k',1); %A static graphics object

    axisGeom(gca,fontSize);
    colormap(gjet(250)); colorbar;
    caxis([0 max(DN_magnitude)]);
    axis(axisLim(V_DEF)); %Set axis limits statically
    camlight headlight;

    % Set up animation features
    animStruct.Time=timeVec; %The time vector
    for qt=1:1:size(N_disp_mat,3) %Loop over time increments
        DN_magnitude=sqrt(sum(N_disp_mat(:,:,qt).^2,2)); %Current displacement magnitude

        %Set entries in animation structure
        animStruct.Handles{qt}=[hp hp hp2]; %Handles of objects to animate
        animStruct.Props{qt}={'Vertices','CData','Vertices'}; %Properties of objects to animate
        animStruct.Set{qt}={V_DEF(:,:,qt),DN_magnitude,V_DEF(:,:,qt)}; %Property values for to set in order to animate
    end
    anim8(hf,animStruct); %Initiate animation feature
    drawnow;

Importing element stress from a log file

    dataStruct=importFEBio_logfile(fullfile(savePath,febioLogFileName_strain),1,1);

    %Access data
    E_strain_mat=dataStruct.data;
    E_strain_mat(isnan(E_strain_mat))=0;

Plotting the simulated results using anim8 to visualize and animate deformations

    [CV]=faceToVertexMeasure(E,V,E_strain_mat(:,:,end));

    % Create basic view and store graphics handle to initiate animation
    hf=cFigure; %Open figure
    gtitle([febioFebFileNamePart,': Press play to animate']);
    title('$\varepsilon_{1}$ [.]','Interpreter','Latex')
    hp=gpatch(Fb,V_DEF(:,:,end),CV,'k',1); %Add graphics object to animate
    hp.FaceColor='interp';
    hp2=gpatch(Fs,V,'w','k',1); %A static graphics object

    axisGeom(gca,fontSize);
    colormap(gjet(250)); colorbar;
    caxis([min(E_strain_mat(:)) max(E_strain_mat(:))]);
    axis(axisLim(V_DEF)); %Set axis limits statically
    camlight headlight;

    % Set up animation features
    animStruct.Time=timeVec; %The time vector
    for qt=1:1:size(N_disp_mat,3) %Loop over time increments

        [CV]=faceToVertexMeasure(E,V,E_strain_mat(:,:,qt));

        %Set entries in animation structure
        animStruct.Handles{qt}=[hp hp hp2]; %Handles of objects to animate
        animStruct.Props{qt}={'Vertices','CData','Vertices'}; %Properties of objects to animate
        animStruct.Set{qt}={V_DEF(:,:,qt),CV,V_DEF(:,:,qt)}; %Property values for to set in order to animate
    end
    anim8(hf,animStruct); %Initiate animation feature
    drawnow;
end

GIBBON www.gibboncode.org

Kevin Mattheus Moerman, [email protected]

GIBBON footer text

License: https://github.com/gibbonCode/GIBBON/blob/master/LICENSE

GIBBON: The Geometry and Image-based Bioengineering add-On. A toolbox for image segmentation, image-based modeling, meshing, and finite element analysis.

Copyright (C) 2006-2020 Kevin Mattheus Moerman

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.