<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://nemesis-project.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://nemesis-project.org/index.php?action=history&amp;feed=atom&amp;title=Example%3ATransient_03</id>
		<title>Example:Transient 03 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://nemesis-project.org/index.php?action=history&amp;feed=atom&amp;title=Example%3ATransient_03"/>
		<link rel="alternate" type="text/html" href="https://nemesis-project.org/index.php?title=Example:Transient_03&amp;action=history"/>
		<updated>2026-04-21T17:04:12Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.24</generator>

	<entry>
		<id>https://nemesis-project.org/index.php?title=Example:Transient_03&amp;diff=1874&amp;oldid=prev</id>
		<title>Fotis at 18:43, 31 January 2007</title>
		<link rel="alternate" type="text/html" href="https://nemesis-project.org/index.php?title=Example:Transient_03&amp;diff=1874&amp;oldid=prev"/>
				<updated>2007-01-31T18:43:27Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
from numpy import array,arange&lt;br /&gt;
from matplotlib import use&lt;br /&gt;
from matplotlib.pylab import plot,xlabel,ylabel,title,grid,savefig&lt;br /&gt;
&lt;br /&gt;
steps=1000&lt;br /&gt;
timestep=0.01&lt;br /&gt;
for k in range(0,8):&lt;br /&gt;
	&lt;br /&gt;
	domain.dim(1)&lt;br /&gt;
	material.uniElastic(1,1000.,0.2,10.)&lt;br /&gt;
	section.user(1,1.)&lt;br /&gt;
&lt;br /&gt;
	node.add(1,0.)&lt;br /&gt;
	node.add(2,1.)&lt;br /&gt;
&lt;br /&gt;
	element.bar(1,1,2,1,1)&lt;br /&gt;
	node.fix(1,1)&lt;br /&gt;
&lt;br /&gt;
	lc.define(1)&lt;br /&gt;
	load.sin(2,1,10.,150.,0.)&lt;br /&gt;
	&lt;br /&gt;
	tracker.node(1,2)&lt;br /&gt;
	domain.RayleighDamping(0.0001*k,0.25*k)&lt;br /&gt;
	analysis.transient()&lt;br /&gt;
	imposer.elimination()&lt;br /&gt;
	algorithm.linear()&lt;br /&gt;
	control.Newmark(0.25,0.5,timestep)&lt;br /&gt;
	soe.full()&lt;br /&gt;
	analysis.run(1,steps)&lt;br /&gt;
&lt;br /&gt;
	t=arange(0,(steps+1)*timestep,timestep)&lt;br /&gt;
	s=[]&lt;br /&gt;
	for i in range(tracker.steps(1)):&lt;br /&gt;
		s.append(tracker.data(1,i)[ 5])&lt;br /&gt;
	s=array(s)	&lt;br /&gt;
	domain.clear()&lt;br /&gt;
	plot(t, s, linewidth=1.0)&lt;br /&gt;
xlabel('time')&lt;br /&gt;
ylabel('u')&lt;br /&gt;
title('Rayleight damping')&lt;br /&gt;
grid(True)&lt;br /&gt;
savefig('RayleighDamping.png')&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Examples]]&lt;/div&gt;</summary>
		<author><name>Fotis</name></author>	</entry>

	</feed>