Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


doc:user:frequencyanalysis:use

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:user:frequencyanalysis:use [2017/03/08 18:04] papeleuxdoc:user:frequencyanalysis:use [2022/04/19 17:17] (current) – [Vizualisation of eigen modes] boman
Line 63: Line 63:
 <code> <code>
   freqAnalyValExt = FrequencyAnalysisValueExtractor(freqAnaly)   freqAnalyValExt = FrequencyAnalysisValueExtractor(freqAnaly)
-  freqAnalyValExt.saveToFaFac(False)+  freqAnalyValExt.setSaveFaFac(False)
 </code> </code>
 (be care to the potential CPU cost of this operation as FrequencyAnalysis will be computed at each time step) (be care to the potential CPU cost of this operation as FrequencyAnalysis will be computed at each time step)
Line 84: Line 84:
         for i in range(domain.getInteractionSet().size()):         for i in range(domain.getInteractionSet().size()):
             win.add(domain.getInteractionSet().getInteraction(i))             win.add(domain.getInteractionSet().getInteraction(i))
-        domain.setAnalysis(freqAnaly); 
         for i in range(nbEigenVal):         for i in range(nbEigenVal):
             freqAnaly.showEigenVector(i)             freqAnaly.showEigenVector(i)
             win.update()             win.update()
-            print "Eigen Vector ", i , "EigenValue = ", freqAnaly.getEigenValue(i) +            print"Eigen Vector ", i , "EigenValue = ", freqAnaly.getEigenValue(i
-            raw_input("press enter to continue")+            input("press enter to continue")
     except NameError:     except NameError:
         pass         pass
 </code> </code>
  
doc/user/frequencyanalysis/use.1488992670.txt.gz · Last modified: 2017/03/08 18:04 by papeleux

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki