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 [2016/10/19 09:16] papeleuxdoc:user:frequencyanalysis:use [2022/04/19 17:17] (current) – [Vizualisation of eigen modes] boman
Line 12: Line 12:
 ==== FrequencyAnalysisMethod ==== ==== FrequencyAnalysisMethod ====
 Actually two Frequency Analysis Method are implemented in Metafor Actually two Frequency Analysis Method are implemented in Metafor
-  * a Power Iteration Frequency Analysis Method+  * a Power Iterations Frequency Analysis Method
   * a Lanczos Frequency Analysis Method (the most efficient one)   * a Lanczos Frequency Analysis Method (the most efficient one)
 Common commands (according to the fact freqAnaly is a FrequencyAnalysisMethod :  Common commands (according to the fact freqAnaly is a FrequencyAnalysisMethod : 
Line 32: Line 32:
 </code> </code>
  
-=== PowerIterationFrequencyAnalysisMethod === +=== PowerIterationsFrequencyAnalysisMethod === 
-Defining a PowerIterationFrequencyAnalysisMethod allows to build the few first eigen values / eigen vectors (eigen vectors are intrinsiquely computed during orthogonalisation process).+Defining a PowerIterationsFrequencyAnalysisMethod allows to build the few first eigen values / eigen vectors (eigen vectors are intrinsiquely computed during orthogonalisation process).
  
 <code> <code>
-    freqAnaly = PowerIterationFrequencyAnalysisMethod(domain)    +    freqAnaly = PowerIterationsFrequencyAnalysisMethod(domain)    
 </code> </code>
 === LanczosFrequencyAnalysisMethod === === LanczosFrequencyAnalysisMethod ===
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.1476861363.txt.gz · Last modified: 2016/10/19 09:16 by papeleux

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki