Kernel Scripts-abaqus内核脚本示例
作者:cad 提交日期:2009-1-10| 分类: | 访问量:
Kernel Scripts-abaqus内核脚本示例
Add Generalized Mass Acoustic Fraction to odb file
Description: This script takes Generalized Mass Acoustic Fraction from the data (jobname.dat) file and adds it to the ABAQUS output database (jobname.odb) file. This is the only variable in a *FREQUENCY analysis that is present in the .dat file
but not in the .odb file.
To use this script:
1) Run a job which has coupled structural acoustic coupling eigenvalue step in it (jobName).
2) After the analysis completes, run the attached script as follows
abaqus python add_acoustic_fraction.py -file jobName
In the modified odb file, history output dialog, look for the output variable ACFRAC, with the description 'Generalized mass acoustic fraction'. This contains the data in similar form as the other variables for a *FREQUENCY procedure and shows mode number against acoustic fraction.
find_attached
Description: A user asked if there is a way in the Visualization module (/Viewer) to automatically find elements attached to another element. This can be done using this script which displays all the elements adjacent to the specified element(s).
Run it as follows:
1) Load your output database file in the Visualization module (or ABAQUS/Viewer).
2) From the main menu, select, File->Run Script and choose find_attached.py
3) Enter the element numbers seperated by a comma
4) The display will be updated to show all the elements adjacent to the specified elements (auto-fit if necessary).
Limitations:
So far, the script only runs with output database files that have been created from flattened input files (without Part Instances and Assemblies)
Get max Mises value from an output database
Description: This script reads all the von Mises stresses in an output database and obtains the maximum value. It then prints this value along with the element, section point, and integration point numbers where it occurred. It also changes the display in the current viewport to an undeformed filled plot centroid;
the element with the maximum Mises stress is colored red.
importcsv.py
Description: This is a python script to read arbitrary nodal or elemental scalar data from a comma-separated text file and store it as a new result step in the specified odb. The input format is fairly flexible since it uses python regular expressions and any column headings are preserved as field variable names in the odb. No Screenshot
available !
lp_excel.py
Description: A python script than opens and reads an ODB file and creates a series of Excel files containing plots. It also preforms a transformation of the stress from x,y,z into cylindrical coordinates.
This script may be run from the command line.
SynchVp
Description: This script enables synchronization of views between 2 viewports in the Visualization module of ABAQUS/CAE.
[ 此贴被tozhou在2007-03-05 21:09重新编辑 ]
附件: Kernel Scripts.rar (220 K) 下载次数:1
*本文摘自:http://www.jxcad.com.cn/read.php?tid=231208&fpage=14