DEMO_febio_0015_cube_fibers_transiso
Below is a demonstration for:
- Building geometry for a cube with hexahedral elements
- Defining the boundary conditions
- Coding the febio structure
- Running the model
- Importing and visualizing the displacement and stress results
Contents
Keywords
- febio_spec version 3.0
- febio, FEBio
- uniaxial loading
- compression, tension, compressive, tensile
- displacement control, displacement boundary condition
- hexahedral elements, hex8
- cube, box, rectangular
- static, solid
- hyperelastic, Ogden
- displacement logfile
- stress logfile
clear; close all; clc;
Plot settings
fontSize=20; faceAlpha1=0.8; markerSize=40; markerSize2=20; 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_stress=[febioFebFileNamePart,'_stress_out.txt']; %Log file name for exporting stress %Specifying dimensions and number of elements cubeSize=10; sampleWidth=cubeSize; %Width sampleThickness=cubeSize; %Thickness sampleHeight=cubeSize; %Height pointSpacing=2; %Desired point spacing between nodes numElementsWidth=round(sampleWidth/pointSpacing); %Number of elemens in dir 1 numElementsThickness=round(sampleThickness/pointSpacing); %Number of elemens in dir 2 numElementsHeight=round(sampleHeight/pointSpacing); %Number of elemens in dir 3 %Define applied displacement appliedStrain=0.5; %Linear strain (Only used to compute applied stretch) loadingOption='compression'; % or 'tension' switch loadingOption case 'compression' stretchLoad=1-appliedStrain; %The applied stretch for uniaxial loading case 'tension' stretchLoad=1+appliedStrain; %The applied stretch for uniaxial loading end displacementMagnitude=(stretchLoad*sampleHeight)-sampleHeight; %The displacement magnitude %Material parameter set k_factor=100; %Bulk modulus factor fiberType=2; switch fiberType case 1 c1=1e-3; %Shear-modulus-like parameter m1=2; %Material parameter setting degree of non-linearity of ground matrix ksi=c1*1000; alphaPar=2; beta=3; k=0.5.*(c1+ksi)*k_factor; %Bulk modulus case 2 Q=0.5; c=6.115e-04; c1=Q*c; m1=2.007; ksi_p=9.0590e-05; beta=3.294*ones(1,3); f_transiso=235.1; k=(2*c1+ksi_p)*k_factor; ksi=[f_transiso*ksi_p ksi_p ksi_p]; end alphaFib=(45/180)*pi; % FEA control settings numTimeSteps=20; %Number of time steps desired max_refs=25; %Max reforms max_ups=0; %Set to zero to use full-Newton iterations opt_iter=6; %Optimum number of iterations max_retries=5; %Maximum number of retires dtmin=(1/numTimeSteps)/100; %Minimum time step size dtmax=1/numTimeSteps; %Maximum time step size
Creating model geometry and mesh
A box is created with tri-linear hexahedral (hex8) elements using the hexMeshBox function. The function offers the boundary faces with seperate labels for the top, bottom, left, right, front, and back sides. As such these can be used to define boundary conditions on the exterior.
% Create a box with hexahedral elements cubeDimensions=[sampleWidth sampleThickness sampleHeight]; %Dimensions cubeElementNumbers=[numElementsWidth numElementsThickness numElementsHeight]; %Number of elements outputStructType=2; %A structure compatible with mesh view [meshStruct]=hexMeshBox(cubeDimensions,cubeElementNumbers,outputStructType); %Access elements, nodes, and faces from the structure E=meshStruct.elements; %The elements V=meshStruct.nodes; %The nodes (vertices) Fb=meshStruct.facesBoundary; %The boundary faces Cb=meshStruct.boundaryMarker; %The "colors" or labels for the boundary faces elementMaterialIndices=ones(size(E,1),1); %Element material indices
Plotting model boundary surfaces and a cut view
hFig=cFigure; subplot(1,2,1); hold on; title('Model boundary surfaces and labels','FontSize',fontSize); gpatch(Fb,V,Cb,'k',faceAlpha1); colormap(gjet(6)); icolorbar; axisGeom(gca,fontSize); hs=subplot(1,2,2); hold on; title('Cut view of solid mesh','FontSize',fontSize); optionStruct.hFig=[hFig hs]; meshView(meshStruct,optionStruct); axisGeom(gca,fontSize); drawnow;

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 supported node sets FX=Fb(Cb==1,:); %Face orthogonal to X FY=Fb(Cb==3,:); %Face orthogonal to Y FZ=Fb(Cb==5,:); %Face orthogonal to Z indAll=1:1:size(V,1); bcSupportList_X=indAll(ismember(indAll,FX) & ismember(indAll,FZ)); %Node set part of selected face bcSupportList_Y=indAll(ismember(indAll,FY) & ismember(indAll,FZ)); %Node set part of selected face bcSupportList_Z=unique(FZ(:)); %Node set part of selected face %Prescribed displacement nodes F_fix=Fb(Cb==6,:); %The current face set bcPrescribeList=unique(F_fix(:)); %Node set part of selected face
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(Fb,V,'kw','k',0.5); hl(1)=plotV(V(bcSupportList_X,:),'r.','MarkerSize',markerSize*2); hl(2)=plotV(V(bcSupportList_Y,:),'g.','MarkerSize',markerSize*2); hl(3)=plotV(V(bcSupportList_Z,:),'b.','MarkerSize',markerSize); hl(4)=plotV(V(bcPrescribeList,:),'k.','MarkerSize',markerSize); legend(hl,{'BC x support','BC y support','BC z support','BC z prescribe'}); axisGeom(gca,fontSize); camlight headlight; drawnow;

DEFINE FIBRE DIRECTIONS
% [R,~]=euler2DCM([0,-alphaFib,0]);
R=euler2DCM([0,-alphaFib,0]);
e1=(R*[1 0 0]')';
e1_dir=e1(ones(size(E,1),1),:);
[e2_dir,e3_dir]=vectorOrthogonalPair(e1_dir);
[VE]=patchCentre(E,V);
Visualizing fiber directions
hf=cFigure; title('Fiber directions','FontSize',fontSize); hold on; gpatch(Fb,V,'kw','none',0.25); hf(1)=quiverVec(VE,e1_dir,pointSpacing,'r'); hf(2)=quiverVec(VE,e2_dir,pointSpacing/2,'g'); hf(3)=quiverVec(VE,e3_dir,pointSpacing/2,'b'); legend(hf,{'e1-direction (fiber)','e2-direction','e3-direction'}); 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.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='solid mixture'; febio_spec.Material.material{1}.ATTR.id=1; febio_spec.Material.material{1}.solid{1}.ATTR.type='Ogden unconstrained'; febio_spec.Material.material{1}.solid{1}.c1=c1; febio_spec.Material.material{1}.solid{1}.m1=m1; febio_spec.Material.material{1}.solid{1}.c2=c1; febio_spec.Material.material{1}.solid{1}.m2=-m1; febio_spec.Material.material{1}.solid{1}.cp=k; switch fiberType case 1 febio_spec.Material.material{1}.solid{2}.ATTR.type='fiber-exp-pow'; febio_spec.Material.material{1}.solid{2}.ksi=ksi; febio_spec.Material.material{1}.solid{2}.alpha=alphaPar; febio_spec.Material.material{1}.solid{2}.beta=beta; febio_spec.Material.material{1}.solid{2}.mat_axis.ATTR.type='user'; case 2 febio_spec.Material.material{1}.solid{2}.ATTR.type='ellipsoidal fiber distribution'; febio_spec.Material.material{1}.solid{2}.ksi=ksi; febio_spec.Material.material{1}.solid{2}.beta=beta; end % Mesh section % -> Nodes febio_spec.Mesh.Nodes{1}.ATTR.name='Object1'; %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 % -> NodeSets nodeSetName1='bcSupportList_X'; nodeSetName2='bcSupportList_Y'; nodeSetName3='bcSupportList_Z'; nodeSetName4='bcPrescribeList'; febio_spec.Mesh.NodeSet{1}.ATTR.name=nodeSetName1; febio_spec.Mesh.NodeSet{1}.node.ATTR.id=bcSupportList_X(:); febio_spec.Mesh.NodeSet{2}.ATTR.name=nodeSetName2; febio_spec.Mesh.NodeSet{2}.node.ATTR.id=bcSupportList_Y(:); febio_spec.Mesh.NodeSet{3}.ATTR.name=nodeSetName3; febio_spec.Mesh.NodeSet{3}.node.ATTR.id=bcSupportList_Z(:); febio_spec.Mesh.NodeSet{4}.ATTR.name=nodeSetName4; febio_spec.Mesh.NodeSet{4}.node.ATTR.id=bcPrescribeList(:); %MeshDomains section febio_spec.MeshDomains.SolidDomain.ATTR.name=partName1; febio_spec.MeshDomains.SolidDomain.ATTR.mat=materialName1; %MeshData section % -> ElementData febio_spec.MeshData.ElementData{1}.ATTR.elem_set=partName1; febio_spec.MeshData.ElementData{1}.ATTR.var='mat_axis'; for q=1:1:size(E,1) febio_spec.MeshData.ElementData{1}.elem{q}.ATTR.lid=q; febio_spec.MeshData.ElementData{1}.elem{q}.a=e1_dir(q,:); febio_spec.MeshData.ElementData{1}.elem{q}.d=e2_dir(q,:); end %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='fix'; febio_spec.Boundary.bc{2}.ATTR.node_set=nodeSetName2; febio_spec.Boundary.bc{2}.dofs='y'; febio_spec.Boundary.bc{3}.ATTR.type='fix'; febio_spec.Boundary.bc{3}.ATTR.node_set=nodeSetName3; febio_spec.Boundary.bc{3}.dofs='z'; % -> Prescribe boundary conditions febio_spec.Boundary.bc{4}.ATTR.type='prescribe'; febio_spec.Boundary.bc{4}.ATTR.node_set=nodeSetName4; febio_spec.Boundary.bc{4}.dof='z'; febio_spec.Boundary.bc{4}.scale.ATTR.lc=1; febio_spec.Boundary.bc{4}.scale.VAL=displacementMagnitude; febio_spec.Boundary.bc{4}.relative=0; %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_stress; febio_spec.Output.logfile.element_data{1}.ATTR.data='s1'; 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 % febView(febioFebFileName);
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='internal';%'internal'; [runFlag]=runMonitorFEBio(febioAnalysis);%START FEBio NOW!!!!!!!!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --------> RUNNING/MONITORING FEBIO JOB <-------- 11-Dec-2020 12:21:47 FEBio path: /home/kevin/FEBioStudio/bin/febio3 # Attempt removal of existing log files 11-Dec-2020 12:21:47 * Removal succesful 11-Dec-2020 12:21:47 # Attempt removal of existing .xplt files 11-Dec-2020 12:21:47 * Removal succesful 11-Dec-2020 12:21:47 # Starting FEBio... 11-Dec-2020 12:21:47 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 ]0;(0%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 1 : 0.05 ===== Setting parameter "scale" to : 0.05 Reforming stiffness matrix: reformation #1 ===== reforming stiffness matrix: Nr of equations ........................... : 600 Nr of nonzeroes in stiffness matrix ....... : 17024 1 Nonlinear solution status: time= 0.05 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.648212e-02 1.325071e-06 0.000000e+00 energy 2.207416e-01 8.072064e-04 2.207416e-03 displacement 5.153583e+00 5.153583e+00 5.153583e-06 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.05 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.648212e-02 1.655020e-13 0.000000e+00 energy 2.207416e-01 5.248010e-09 2.207416e-03 displacement 5.153583e+00 8.340807e-04 5.241649e-06 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.05 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.648212e-02 2.332998e-20 0.000000e+00 energy 2.207416e-01 1.675471e-15 2.207416e-03 displacement 5.153583e+00 3.023972e-07 5.241682e-06 convergence summary number of iterations : 3 number of reformations : 3 ------- converged at time : 0.05 Data Record #1 =========================================================================== Step = 1 Time = 0.05 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 1 Time = 0.05 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(5%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 2 : 0.1 ===== Setting parameter "scale" to : 0.1 Reforming stiffness matrix: reformation #1 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 3.946841e-02 1.406610e-06 0.000000e+00 energy 2.321793e-01 8.634862e-04 2.321793e-03 displacement 5.331079e+00 5.331079e+00 5.331079e-06 Reforming stiffness matrix: reformation #2 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 3.946841e-02 1.984150e-13 0.000000e+00 energy 2.321793e-01 5.799000e-09 2.321793e-03 displacement 5.331079e+00 9.688370e-04 5.422960e-06 Reforming stiffness matrix: reformation #3 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 3.946841e-02 3.040584e-18 0.000000e+00 energy 2.321793e-01 2.158246e-14 2.321793e-03 displacement 5.331079e+00 3.094222e-06 5.423090e-06 convergence summary number of iterations : 3 number of reformations : 3 ------- converged at time : 0.1 Data Record #1 =========================================================================== Step = 2 Time = 0.1 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 2 Time = 0.1 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(10%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 3 : 0.15 ===== Setting parameter "scale" to : 0.15 Reforming stiffness matrix: reformation #1 1 Nonlinear solution status: time= 0.15 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.283992e-02 1.499744e-06 0.000000e+00 energy 2.445169e-01 9.263811e-04 2.445169e-03 displacement 5.517778e+00 5.517778e+00 5.517778e-06 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.15 stiffness updates = 0 right hand side evaluations = 3 stiffness matrix reformations = 2 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 4.283992e-02 2.457978e-13 0.000000e+00 energy 2.445169e-01 6.797811e-09 2.445169e-03 displacement 5.517778e+00 1.112940e-03 5.616096e-06 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.15 stiffness updates = 0 right hand side evaluations = 4 stiffness matrix reformations = 3 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 4.283992e-02 2.726658e-17 0.000000e+00 energy 2.445169e-01 7.240555e-14 2.445169e-03 displacement 5.517778e+00 9.462757e-06 5.616302e-06 Reforming stiffness matrix: reformation #4 4 Nonlinear solution status: time= 0.15 stiffness updates = 0 right hand side evaluations = 5 stiffness matrix reformations = 4 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 4.283992e-02 1.548618e-30 0.000000e+00 energy 2.445169e-01 9.689737e-23 2.445169e-03 displacement 5.517778e+00 1.133349e-12 5.616302e-06 convergence summary number of iterations : 4 number of reformations : 4 ------- converged at time : 0.15 Data Record #1 =========================================================================== Step = 3 Time = 0.15 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 3 Time = 0.15 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(15%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 4 : 0.2 ===== Setting parameter "scale" to : 0.2 Reforming stiffness matrix: reformation #1 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 4.665866e-02 1.600217e-06 0.000000e+00 energy 2.578481e-01 9.949928e-04 2.578481e-03 displacement 5.718066e+00 5.718066e+00 5.718066e-06 Reforming stiffness matrix: reformation #2 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 4.665866e-02 3.082258e-13 0.000000e+00 energy 2.578481e-01 8.205778e-09 2.578481e-03 displacement 5.718066e+00 1.243788e-03 5.824162e-06 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.2 stiffness updates = 0 right hand side evaluations = 4 stiffness matrix reformations = 3 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 4.665866e-02 8.365210e-17 0.000000e+00 energy 2.578481e-01 1.431171e-13 2.578481e-03 displacement 5.718066e+00 1.723142e-05 5.824412e-06 Reforming stiffness matrix: reformation #4 4 Nonlinear solution status: time= 0.2 stiffness updates = 0 right hand side evaluations = 5 stiffness matrix reformations = 4 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 4.665866e-02 2.592354e-30 0.000000e+00 energy 2.578481e-01 3.327020e-22 2.578481e-03 displacement 5.718066e+00 2.258825e-12 5.824412e-06 convergence summary number of iterations : 4 number of reformations : 4 ------- converged at time : 0.2 Data Record #1 =========================================================================== Step = 4 Time = 0.2 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 4 Time = 0.2 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(20%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 5 : 0.25 ===== Setting parameter "scale" to : 0.25 Reforming stiffness matrix: reformation #1 1 Nonlinear solution status: time= 0.25 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.099903e-02 1.706983e-06 0.000000e+00 energy 2.722765e-01 1.069400e-03 2.722765e-03 displacement 5.934454e+00 5.934454e+00 5.934454e-06 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.25 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.099903e-02 3.845319e-13 0.000000e+00 energy 2.722765e-01 9.918461e-09 2.722765e-03 displacement 5.934454e+00 1.359401e-03 6.049491e-06 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.25 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.099903e-02 1.353192e-16 0.000000e+00 energy 2.722765e-01 2.054992e-13 2.722765e-03 displacement 5.934454e+00 2.287409e-05 6.049752e-06 Reforming stiffness matrix: reformation #4 4 Nonlinear solution status: time= 0.25 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.099903e-02 3.977959e-30 0.000000e+00 energy 2.722765e-01 5.821520e-22 2.722765e-03 displacement 5.934454e+00 3.199960e-12 6.049751e-06 convergence summary number of iterations : 4 number of reformations : 4 ------- converged at time : 0.25 Data Record #1 =========================================================================== Step = 5 Time = 0.25 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 5 Time = 0.25 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(25%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 6 : 0.3 ===== Setting parameter "scale" to : 0.3 Reforming stiffness matrix: reformation #1 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 5.595022e-02 1.818879e-06 0.000000e+00 energy 2.879182e-01 1.149671e-03 2.879182e-03 displacement 6.169138e+00 6.169138e+00 6.169138e-06 Reforming stiffness matrix: reformation #2 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 5.595022e-02 4.745360e-13 0.000000e+00 energy 2.879182e-01 1.184056e-08 2.879182e-03 displacement 6.169138e+00 1.470927e-03 6.294151e-06 Reforming stiffness matrix: reformation #3 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 5.595022e-02 1.470161e-16 0.000000e+00 energy 2.879182e-01 2.413479e-13 2.879182e-03 displacement 6.169138e+00 2.491032e-05 6.294402e-06 Reforming stiffness matrix: reformation #4 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 5.595022e-02 4.565398e-30 0.000000e+00 energy 2.879182e-01 6.760528e-22 2.879182e-03 displacement 6.169138e+00 3.631421e-12 6.294401e-06 convergence summary number of iterations : 4 number of reformations : 4 ------- converged at time : 0.3 Data Record #1 =========================================================================== Step = 6 Time = 0.3 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 6 Time = 0.3 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(30%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 7 : 0.35 ===== Setting parameter "scale" to : 0.35 Reforming stiffness matrix: reformation #1 1 Nonlinear solution status: time= 0.35 stiffness updates = 0 right hand side evaluations = 2 stiffness matrix reformations = 1 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 6.161929e-02 1.934375e-06 0.000000e+00 energy 3.049024e-01 1.235779e-03 3.049024e-03 displacement 6.424231e+00 6.424231e+00 6.424231e-06 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.35 stiffness updates = 0 right hand side evaluations = 3 stiffness matrix reformations = 2 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 6.161929e-02 5.783181e-13 0.000000e+00 energy 3.049024e-01 1.392447e-08 3.049024e-03 displacement 6.424231e+00 1.590632e-03 6.560531e-06 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.35 stiffness updates = 0 right hand side evaluations = 4 stiffness matrix reformations = 3 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 6.161929e-02 1.221782e-16 0.000000e+00 energy 3.049024e-01 2.466978e-13 3.049024e-03 displacement 6.424231e+00 2.372472e-05 6.560765e-06 Reforming stiffness matrix: reformation #4 4 Nonlinear solution status: time= 0.35 stiffness updates = 0 right hand side evaluations = 5 stiffness matrix reformations = 4 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 6.161929e-02 4.187862e-30 0.000000e+00 energy 3.049024e-01 5.893306e-22 3.049024e-03 displacement 6.424231e+00 3.504027e-12 6.560765e-06 convergence summary number of iterations : 4 number of reformations : 4 ------- converged at time : 0.35 Data Record #1 =========================================================================== Step = 7 Time = 0.35 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 7 Time = 0.35 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(35%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 8 : 0.4 ===== Setting parameter "scale" to : 0.4 Reforming stiffness matrix: reformation #1 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 6.813507e-02 2.051332e-06 0.000000e+00 energy 3.233731e-01 1.327504e-03 3.233731e-03 displacement 6.702438e+00 6.702438e+00 6.702438e-06 Reforming stiffness matrix: reformation #2 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 6.813507e-02 6.965432e-13 0.000000e+00 energy 3.233731e-01 1.616873e-08 3.233731e-03 displacement 6.702438e+00 1.727848e-03 6.851588e-06 Reforming stiffness matrix: reformation #3 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 6.813507e-02 8.482466e-17 0.000000e+00 energy 3.233731e-01 2.290174e-13 3.233731e-03 displacement 6.702438e+00 2.063771e-05 6.851804e-06 Reforming stiffness matrix: reformation #4 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 6.813507e-02 2.966021e-30 0.000000e+00 energy 3.233731e-01 4.041137e-22 3.233731e-03 displacement 6.702438e+00 3.001378e-12 6.851804e-06 convergence summary number of iterations : 4 number of reformations : 4 ------- converged at time : 0.4 Data Record #1 =========================================================================== Step = 8 Time = 0.4 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 8 Time = 0.4 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(40%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 9 : 0.45 ===== Setting parameter "scale" to : 0.45 Reforming stiffness matrix: reformation #1 1 Nonlinear solution status: time= 0.45 stiffness updates = 0 right hand side evaluations = 2 stiffness matrix reformations = 1 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 7.565318e-02 2.166811e-06 0.000000e+00 energy 3.434903e-01 1.424331e-03 3.434903e-03 displacement 7.006982e+00 7.006982e+00 7.006982e-06 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.45 stiffness updates = 0 right hand side evaluations = 3 stiffness matrix reformations = 2 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 7.565318e-02 8.290366e-13 0.000000e+00 energy 3.434903e-01 1.858402e-08 3.434903e-03 displacement 7.006982e+00 1.886369e-03 7.170761e-06 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.45 stiffness updates = 0 right hand side evaluations = 4 stiffness matrix reformations = 3 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 7.565318e-02 5.217829e-17 0.000000e+00 energy 3.434903e-01 1.986386e-13 3.434903e-03 displacement 7.006982e+00 1.687880e-05 7.170962e-06 Reforming stiffness matrix: reformation #4 4 Nonlinear solution status: time= 0.45 stiffness updates = 0 right hand side evaluations = 5 stiffness matrix reformations = 4 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 7.565318e-02 2.143042e-30 0.000000e+00 energy 3.434903e-01 2.406920e-22 3.434903e-03 displacement 7.006982e+00 2.348521e-12 7.170961e-06 convergence summary number of iterations : 4 number of reformations : 4 ------- converged at time : 0.45 Data Record #1 =========================================================================== Step = 9 Time = 0.45 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 9 Time = 0.45 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(45%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 10 : 0.5 ===== Setting parameter "scale" to : 0.5 Reforming stiffness matrix: reformation #1 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 8.436208e-02 2.276775e-06 0.000000e+00 energy 3.654308e-01 1.525294e-03 3.654308e-03 displacement 7.341482e+00 7.341482e+00 7.341482e-06 Reforming stiffness matrix: reformation #2 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 8.436208e-02 9.742970e-13 0.000000e+00 energy 3.654308e-01 2.116488e-08 3.654308e-03 displacement 7.341482e+00 2.065460e-03 7.521725e-06 Reforming stiffness matrix: reformation #3 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 8.436208e-02 2.968282e-17 0.000000e+00 energy 3.654308e-01 1.642726e-13 3.654308e-03 displacement 7.341482e+00 1.325717e-05 7.521913e-06 Reforming stiffness matrix: reformation #4 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 8.436208e-02 1.658283e-30 0.000000e+00 energy 3.654308e-01 1.243531e-22 3.654308e-03 displacement 7.341482e+00 1.712590e-12 7.521912e-06 convergence summary number of iterations : 4 number of reformations : 4 ------- converged at time : 0.5 Data Record #1 =========================================================================== Step = 10 Time = 0.5 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 10 Time = 0.5 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(50%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 11 : 0.55 ===== Setting parameter "scale" to : 0.55 Reforming stiffness matrix: reformation #1 1 Nonlinear solution status: time= 0.55 stiffness updates = 0 right hand side evaluations = 2 stiffness matrix reformations = 1 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 9.449048e-02 2.375748e-06 0.000000e+00 energy 3.893894e-01 1.628761e-03 3.893894e-03 displacement 7.709598e+00 7.709598e+00 7.709598e-06 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.55 stiffness updates = 0 right hand side evaluations = 3 stiffness matrix reformations = 2 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 9.449048e-02 1.129048e-12 0.000000e+00 energy 3.893894e-01 2.387336e-08 3.893894e-03 displacement 7.709598e+00 2.260577e-03 7.907996e-06 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.55 stiffness updates = 0 right hand side evaluations = 4 stiffness matrix reformations = 3 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 9.449048e-02 1.609243e-17 0.000000e+00 energy 3.893894e-01 1.314023e-13 3.893894e-03 displacement 7.709598e+00 1.015228e-05 7.908174e-06 Reforming stiffness matrix: reformation #4 4 Nonlinear solution status: time= 0.55 stiffness updates = 0 right hand side evaluations = 5 stiffness matrix reformations = 4 step from line search = 1.000000 convergence norms : INITIAL CURRENT REQUIRED residual 9.449048e-02 1.346086e-30 0.000000e+00 energy 3.893894e-01 6.243742e-23 3.893894e-03 displacement 7.709598e+00 1.180463e-12 7.908173e-06 convergence summary number of iterations : 4 number of reformations : 4 ------- converged at time : 0.55 Data Record #1 =========================================================================== Step = 11 Time = 0.55 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 11 Time = 0.55 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(55%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 12 : 0.6 ===== Setting parameter "scale" to : 0.6 Reforming stiffness matrix: reformation #1 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 1.063164e-01 2.456305e-06 0.000000e+00 energy 4.155779e-01 1.732106e-03 4.155779e-03 displacement 8.114764e+00 8.114764e+00 8.114764e-06 Reforming stiffness matrix: reformation #2 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 1.063164e-01 1.278266e-12 0.000000e+00 energy 4.155779e-01 2.653941e-08 4.155779e-03 displacement 8.114764e+00 2.462859e-03 8.333145e-06 Reforming stiffness matrix: reformation #3 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 1.063164e-01 8.172333e-18 0.000000e+00 energy 4.155779e-01 1.004396e-13 4.155779e-03 displacement 8.114764e+00 7.515360e-06 8.333309e-06 convergence summary number of iterations : 3 number of reformations : 3 ------- converged at time : 0.6 Data Record #1 =========================================================================== Step = 12 Time = 0.6 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 12 Time = 0.6 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(60%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 13 : 0.65 ===== Setting parameter "scale" to : 0.65 Reforming stiffness matrix: reformation #1 1 Nonlinear solution status: time= 0.65 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.201783e-01 2.509216e-06 0.000000e+00 energy 4.442249e-01 1.831533e-03 4.442249e-03 displacement 8.560283e+00 8.560283e+00 8.560283e-06 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.65 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.201783e-01 1.425380e-12 0.000000e+00 energy 4.442249e-01 2.909815e-08 4.442249e-03 displacement 8.560283e+00 2.660710e-03 8.798992e-06 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.65 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.201783e-01 4.183853e-18 0.000000e+00 energy 4.442249e-01 7.614166e-14 4.442249e-03 displacement 8.560283e+00 5.581816e-06 8.799145e-06 convergence summary number of iterations : 3 number of reformations : 3 ------- converged at time : 0.65 Data Record #1 =========================================================================== Step = 13 Time = 0.65 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 13 Time = 0.65 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(65%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 14 : 0.7 ===== Setting parameter "scale" to : 0.7 Reforming stiffness matrix: reformation #1 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 1.364878e-01 2.522350e-06 0.000000e+00 energy 4.755719e-01 1.921300e-03 4.755719e-03 displacement 9.046646e+00 9.046646e+00 9.046646e-06 Reforming stiffness matrix: reformation #2 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 1.364878e-01 1.540416e-12 0.000000e+00 energy 4.755719e-01 3.118139e-08 4.755719e-03 displacement 9.046646e+00 2.832134e-03 9.305710e-06 Reforming stiffness matrix: reformation #3 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 1.364878e-01 2.048450e-18 0.000000e+00 energy 4.755719e-01 5.550078e-14 4.755719e-03 displacement 9.046646e+00 4.053267e-06 9.305852e-06 convergence summary number of iterations : 3 number of reformations : 3 ------- converged at time : 0.7 Data Record #1 =========================================================================== Step = 14 Time = 0.7 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 14 Time = 0.7 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(70%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 15 : 0.75 ===== Setting parameter "scale" to : 0.75 Reforming stiffness matrix: reformation #1 1 Nonlinear solution status: time= 0.75 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.557454e-01 2.482225e-06 0.000000e+00 energy 5.098690e-01 1.993730e-03 5.098690e-03 displacement 9.573477e+00 9.573477e+00 9.573477e-06 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.75 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.557454e-01 1.624344e-12 0.000000e+00 energy 5.098690e-01 3.257521e-08 5.098690e-03 displacement 9.573477e+00 2.957760e-03 9.850787e-06 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.75 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.557454e-01 1.008362e-18 0.000000e+00 energy 5.098690e-01 3.967043e-14 5.098690e-03 displacement 9.573477e+00 2.947576e-06 9.850924e-06 convergence summary number of iterations : 3 number of reformations : 3 ------- converged at time : 0.75 Data Record #1 =========================================================================== Step = 15 Time = 0.75 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 15 Time = 0.75 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(75%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 16 : 0.8 ===== Setting parameter "scale" to : 0.8 Reforming stiffness matrix: reformation #1 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 1.785564e-01 2.373919e-06 0.000000e+00 energy 5.473652e-01 2.038462e-03 5.473652e-03 displacement 1.013533e+01 1.013533e+01 1.013533e-05 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.8 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.785564e-01 1.694505e-12 0.000000e+00 energy 5.473652e-01 3.311671e-08 5.473652e-03 displacement 1.013533e+01 3.000099e-03 1.042516e-05 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.8 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.785564e-01 5.538291e-19 0.000000e+00 energy 5.473652e-01 2.918392e-14 5.473652e-03 displacement 1.013533e+01 2.260264e-06 1.042530e-05 convergence summary number of iterations : 3 number of reformations : 3 ------- converged at time : 0.8 Data Record #1 =========================================================================== Step = 16 Time = 0.8 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 16 Time = 0.8 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(80%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 17 : 0.85 ===== Setting parameter "scale" to : 0.85 Reforming stiffness matrix: reformation #1 1 Nonlinear solution status: time= 0.85 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.056508e-01 2.182570e-06 0.000000e+00 energy 5.882973e-01 2.041664e-03 5.882973e-03 displacement 1.071951e+01 1.071951e+01 1.071951e-05 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.85 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.056508e-01 1.780690e-12 0.000000e+00 energy 5.882973e-01 3.268060e-08 5.882973e-03 displacement 1.071951e+01 2.937478e-03 1.101219e-05 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.85 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.056508e-01 3.632005e-19 0.000000e+00 energy 5.882973e-01 2.279537e-14 5.882973e-03 displacement 1.071951e+01 1.889696e-06 1.101236e-05 convergence summary number of iterations : 3 number of reformations : 3 ------- converged at time : 0.85 Data Record #1 =========================================================================== Step = 17 Time = 0.85 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 17 Time = 0.85 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(85%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 18 : 0.9 ===== Setting parameter "scale" to : 0.9 Reforming stiffness matrix: reformation #1 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 2.379012e-01 1.898479e-06 0.000000e+00 energy 6.328727e-01 1.986554e-03 6.328727e-03 displacement 1.130541e+01 1.130541e+01 1.130541e-05 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.9 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.379012e-01 1.925039e-12 0.000000e+00 energy 6.328727e-01 3.119810e-08 6.328727e-03 displacement 1.130541e+01 2.797480e-03 1.158812e-05 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.9 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.379012e-01 2.666850e-19 0.000000e+00 energy 6.328727e-01 1.831555e-14 6.328727e-03 displacement 1.130541e+01 1.662185e-06 1.158832e-05 convergence summary number of iterations : 3 number of reformations : 3 ------- converged at time : 0.9 Data Record #1 =========================================================================== Step = 18 Time = 0.9 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 18 Time = 0.9 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(90%) tempModel.feb - FEBio 3.1.0 ===== beginning time step 19 : 0.95 ===== Setting parameter "scale" to : 0.95 Reforming stiffness matrix: reformation #1 1 Nonlinear solution status: time= 0.95 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.763366e-01 1.523619e-06 0.000000e+00 energy 6.812446e-01 1.853170e-03 6.812446e-03 displacement 1.186610e+01 1.186610e+01 1.186610e-05 Reforming stiffness matrix: reformation #2 2 Nonlinear solution status: time= 0.95 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.763366e-01 2.270270e-12 0.000000e+00 energy 6.812446e-01 2.902276e-08 6.812446e-03 displacement 1.186610e+01 2.700174e-03 1.212123e-05 Reforming stiffness matrix: reformation #3 3 Nonlinear solution status: time= 0.95 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.763366e-01 2.054020e-19 0.000000e+00 energy 6.812446e-01 1.494863e-14 6.812446e-03 displacement 1.186610e+01 1.484391e-06 1.212144e-05 convergence summary number of iterations : 3 number of reformations : 3 ------- converged at time : 0.95 Data Record #1 =========================================================================== Step = 19 Time = 0.95 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 19 Time = 0.95 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_out.txt ]0;(95%) tempModel.feb - FEBio 3.1.0 MUST POINT CONTROLLER: adjusting time step. dt = 0.05 ===== beginning time step 20 : 1 ===== Setting parameter "scale" to : 1 Reforming stiffness matrix: reformation #1 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 3.221529e-01 1.081711e-06 0.000000e+00 energy 7.334872e-01 1.619266e-03 7.334872e-03 displacement 1.236452e+01 1.236452e+01 1.236452e-05 Reforming stiffness matrix: reformation #2 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 3.221529e-01 3.268303e-12 0.000000e+00 energy 7.334872e-01 2.695294e-08 7.334872e-03 displacement 1.236452e+01 2.991432e-03 1.256921e-05 Reforming stiffness matrix: reformation #3 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 3.221529e-01 1.431800e-19 0.000000e+00 energy 7.334872e-01 1.217465e-14 7.334872e-03 displacement 1.236452e+01 1.240319e-06 1.256939e-05 convergence summary number of iterations : 3 number of reformations : 3 ------- converged at time : 1 Data Record #1 =========================================================================== Step = 20 Time = 1 Data = ux;uy;uz File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_disp_out.txt Data Record #2 =========================================================================== Step = 20 Time = 1 Data = s1 File = /mnt/data/MATLAB/GIBBON/data/temp/tempModel_stress_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 .................... : 20 Total number of equilibrium iterations ............ : 69 Average number of equilibrium iterations .......... : 3.45 Total number of right hand evaluations ............ : 89 Total number of stiffness reformations ............ : 69 L I N E A R S O L V E R S T A T S Total calls to linear solver ........ : 69 Avg iterations per solve ............ : 1 Time in linear solver: 0:00:01 ]0;(100%) tempModel.feb - FEBio 3.1.0 Elapsed time : 0:00:02 N O R M A L T E R M I N A T I O N * Log file found. 11-Dec-2020 12:21:49 # Parsing log file... 11-Dec-2020 12:21:49 number of iterations : 3 11-Dec-2020 12:21:49 number of reformations : 3 11-Dec-2020 12:21:49 ------- converged at time : 0.05 11-Dec-2020 12:21:49 number of iterations : 3 11-Dec-2020 12:21:49 number of reformations : 3 11-Dec-2020 12:21:49 ------- converged at time : 0.1 11-Dec-2020 12:21:49 number of iterations : 4 11-Dec-2020 12:21:49 number of reformations : 4 11-Dec-2020 12:21:49 ------- converged at time : 0.15 11-Dec-2020 12:21:49 number of iterations : 4 11-Dec-2020 12:21:49 number of reformations : 4 11-Dec-2020 12:21:49 ------- converged at time : 0.2 11-Dec-2020 12:21:49 number of iterations : 4 11-Dec-2020 12:21:49 number of reformations : 4 11-Dec-2020 12:21:49 ------- converged at time : 0.25 11-Dec-2020 12:21:49 number of iterations : 4 11-Dec-2020 12:21:49 number of reformations : 4 11-Dec-2020 12:21:49 ------- converged at time : 0.3 11-Dec-2020 12:21:49 number of iterations : 4 11-Dec-2020 12:21:49 number of reformations : 4 11-Dec-2020 12:21:49 ------- converged at time : 0.35 11-Dec-2020 12:21:49 number of iterations : 4 11-Dec-2020 12:21:49 number of reformations : 4 11-Dec-2020 12:21:49 ------- converged at time : 0.4 11-Dec-2020 12:21:49 number of iterations : 4 11-Dec-2020 12:21:49 number of reformations : 4 11-Dec-2020 12:21:49 ------- converged at time : 0.45 11-Dec-2020 12:21:49 number of iterations : 4 11-Dec-2020 12:21:49 number of reformations : 4 11-Dec-2020 12:21:49 ------- converged at time : 0.5 11-Dec-2020 12:21:49 number of iterations : 4 11-Dec-2020 12:21:49 number of reformations : 4 11-Dec-2020 12:21:49 ------- converged at time : 0.55 11-Dec-2020 12:21:49 number of iterations : 3 11-Dec-2020 12:21:49 number of reformations : 3 11-Dec-2020 12:21:49 ------- converged at time : 0.6 11-Dec-2020 12:21:49 number of iterations : 3 11-Dec-2020 12:21:49 number of reformations : 3 11-Dec-2020 12:21:49 ------- converged at time : 0.65 11-Dec-2020 12:21:49 number of iterations : 3 11-Dec-2020 12:21:49 number of reformations : 3 11-Dec-2020 12:21:49 ------- converged at time : 0.7 11-Dec-2020 12:21:49 number of iterations : 3 11-Dec-2020 12:21:49 number of reformations : 3 11-Dec-2020 12:21:49 ------- converged at time : 0.75 11-Dec-2020 12:21:49 number of iterations : 3 11-Dec-2020 12:21:49 number of reformations : 3 11-Dec-2020 12:21:49 ------- converged at time : 0.8 11-Dec-2020 12:21:49 number of iterations : 3 11-Dec-2020 12:21:49 number of reformations : 3 11-Dec-2020 12:21:49 ------- converged at time : 0.85 11-Dec-2020 12:21:49 number of iterations : 3 11-Dec-2020 12:21:49 number of reformations : 3 11-Dec-2020 12:21:49 ------- converged at time : 0.9 11-Dec-2020 12:21:49 number of iterations : 3 11-Dec-2020 12:21:49 number of reformations : 3 11-Dec-2020 12:21:49 ------- converged at time : 0.95 11-Dec-2020 12:21:49 number of iterations : 3 11-Dec-2020 12:21:49 number of reformations : 3 11-Dec-2020 12:21:49 ------- converged at time : 1 11-Dec-2020 12:21:49 Elapsed time : 0:00:02 11-Dec-2020 12:21:49 N O R M A L T E R M I N A T I O N # Done 11-Dec-2020 12:21:49 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
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.Marker='.'; hp.MarkerSize=markerSize2; hp.FaceColor='interp'; gpatch(Fb,V,0.5*ones(1,3),'k',0.25); %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]; %Handles of objects to animate animStruct.Props{qt}={'Vertices','CData'}; %Properties of objects to animate animStruct.Set{qt}={V_DEF(:,:,qt),DN_magnitude}; %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_stress),1,1);
%Access data
E_stress_mat=dataStruct.data;
E_stress_mat(isnan(E_stress_mat))=0;
Plotting the simulated results using anim8 to visualize and animate deformations
[CV]=faceToVertexMeasure(E,V,E_stress_mat(:,:,end)); % Create basic view and store graphics handle to initiate animation hf=cFigure; %Open figure gtitle([febioFebFileNamePart,': Press play to animate']); title('$\sigma_{1}$ [MPa]','Interpreter','Latex') hp=gpatch(Fb,V_DEF(:,:,end),CV,'k',1); %Add graphics object to animate hp.Marker='.'; hp.MarkerSize=markerSize2; hp.FaceColor='interp'; gpatch(Fb,V,0.5*ones(1,3),'k',0.25); %A static graphics object axisGeom(gca,fontSize); colormap(gjet(250)); colorbar; caxis([min(E_stress_mat(:)) max(E_stress_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_stress_mat(:,:,qt)); %Set entries in animation structure animStruct.Handles{qt}=[hp hp]; %Handles of objects to animate animStruct.Props{qt}={'Vertices','CData'}; %Properties of objects to animate animStruct.Set{qt}={V_DEF(:,:,qt),CV}; %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/.