Commit 7a66c87b authored by Andreas Zilian's avatar Andreas Zilian
Browse files

Minor corrections.

parent 09288714
%% Example Beam1b
%% Example Beam1c
% A one-dimensional beam composed of a single beam finite element: 2-point bending
addpath([ '..' filesep '..' filesep '..' filesep ]);
%% Definition of sections
......@@ -16,7 +16,7 @@ t2 = mafe.TimeFunction( 6.2832, 1.0, 0.0 ); % cosine time function for vertical
% vector of time functions
tfuns = [ t1, t2 ];
%% Definition of member loads
l1 = mafe.EleLoad( mafe.DofType.Disp2, -1); % [N/m]
l1 = mafe.EleLoad( mafe.DofType.Disp2, -1 ); % [N/m]
%% Definition of nodes in the system
% Node 1
n1 = mafe.Node1D( [0.0] );
......@@ -56,7 +56,7 @@ ana_fd.analyse();
%% Apply initial conditions
ana_fd.applyInitialConditions( u0, v0 );
deltaT = 0.0125; % tiem step size for time-domain analysis
deltaT = 0.0125; % time step size for time-domain analysis
%% Select an analysis type: dynamic in time domain
ana_td = mafe.FeAnalysisDynamicTD( fep, tfuns );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment