Scripts_Collection_Catalogue.pdf

(1053 KB) Pobierz
905268939.038.png
BE T A CAE Systems S.A.
Kato Scholari, Thessaloniki
GR-575 00 Epanomi
Greece
Tel. : +30-2392021420, +30 2311993300
Fax. : +30-2392021417
http://www.beta-cae.gr
Queries & Services : ansa@beta-cae.gr
905268939.039.png
A N SA v13.x.x
March 2012
1. Introduction
How to take advantage of this document.
Along with the ANSA software, a collection of created scripts is provided to assist the user with operations
that are not directly available with the standard functions.
This document eases the navigation over the functions and contributes to quickly spot useful scripts for
each case or problem.
The user can search in terms of typing key words because, each function has a name followed by a brief
description where, its scope, usage and possible prerequisites are mentioned.
How to load script functions.
1.A file named user_ANSA_TRANSL is located at the installation directory of ANSA, in the “config” folder.
This file contains all the user script functions.
Copy
the file to the .BETA folder, at the location where the ANSA.defaults resides, or at the user's
directory where the ANSA.defaults are going to be used.
Rename
it as ANSA_TRANSL.
When ANSA is launched, all the script functions are automatically loaded too. This can be also verified
through the “Ansa info” window.
2.Load individual script functions, following the next:
Choose the File>Script>Load/Import. The difference is that the first deletes previous loaded functions
whereas, the latter adds the new picked function in the list of the already loaded ones.
Navigate in the ANSA installation directory and click on the .../ansa_v13xx/docs/scripts folder.
From the list, pick the desired one and click Open. The function has been loaded.
A window called User Script Buttons found in “Windows” menubar, lists all the available functions,
according to the previous step. In addition, by clicking on a function with the Ctrl button is pressed, its
description is displayed.
BE T A CAE Systems S.A.
Scripts Collection Catalogue
1
905268939.040.png 905268939.041.png 905268939.001.png 905268939.002.png 905268939.003.png 905268939.004.png 905268939.005.png 905268939.006.png
A N SA v13.x.x
March 2012
2. Functions
Name Description
AbaqusAssembly
ANSA_EXEC_DIR/docs/scripts/File/
Opens File Manager to read Abaqus files with *ASSEMBLY,
*PART and *INSTANCE keywords
and save again as ansa and export Abaqus input files. The names
of these files contain the
initial name of file plus "_new" and are placed at the same location
of initial file.
AbqSpringToNasCbush1d
ANSA_EXEC_DIR/docs/scripts/
Elements/
Converts Abaqus spring elements to Nastran Cbush1d elements.
AbaqusToDynaCurves
ANSA_EXEC_DIR/docs/scripts/
Auxiliaries/
Transfers all Abaqus curves and tables in Dyna deck.
AddMidNodesToSet
ANSA_EXEC_DIR/docs/scripts/Nodes/
Creates a set with the mid-nodes of 2nd order solids of Abaqus :
For case tetra --> "G5" to "G10" nodes of the C3D10 tetrahedron
For case penta --> "G7" to "G15" nodes of the C3D15
pentahedron
For case hexa --> "G9" to "G20" nodes of the C3D20
hexahedron
AND_Connectivity
ANSA_EXEC_DIR/docs/scripts/
Auxiliaries/
The user is prompted to select any number of
Connections/Connectors/GEB_xx. On middle click, the function
brings to visible their connectivity.
AnsaToIges
ANSA_EXEC_DIR/docs/scripts/File/
Opens ANSA files and output as *.iges in same directory. The
filenames must not have spaces.
BeamOrntNodeToSet
ANSA_EXEC_DIR/docs/scripts/File/
Creates a SET with the Orientation nodes of the CBEAMs, CBARs
. The user is asked to give the name of the set.
BlueConsGridsInSet
ANSA_EXEC_DIR/docs/scripts/Nodes/
Places the grids of blue CONS into a set. The name of set is "Blue
Cons Grids". The model must be meshed.
Calculator
ANSA_EXEC_DIR/docs/scripts/General/
Opens the ANSA calculator.
It searches for visible macros and elements and adds them in new
properties with the extension “baffle”. It should be used in
conjunction with the function ISOLATE>BAFFLES.
ChangeBafflesProperty
ANSA_EXEC_DIR/docs/scripts/CFD/
ChangeCouplingsType
ANSA_EXEC_DIR/docs/scripts/
Constraints/
Changes the type of the visible Abaqus Couplings from Coupling
on Set to Couplings on Nodes. The unused SETs are deleted.
Works on visible couplings.
BE T A CAE Systems S.A.
Scripts Collection Catalogue
2
 
905268939.007.png 905268939.008.png 905268939.009.png 905268939.010.png 905268939.011.png 905268939.012.png 905268939.013.png 905268939.014.png 905268939.015.png 905268939.016.png 905268939.017.png 905268939.018.png 905268939.019.png 905268939.020.png 905268939.021.png 905268939.022.png 905268939.023.png 905268939.024.png
A N SA v13.x.x
March 2012
ChangePlinksType
ANSA_EXEC_DIR/docs/scripts/
Elements/
Changes the type of the Plinks from "1 (set)" to "1 (parts)" . The
sets are not deleted.
CheckCoincidentNodes
ANSA_EXEC_DIR/docs/scripts/Checks/
Checks the database for coincident nodes according to a given
tolerance. A check list pops up listing all the nodes that are
coincident with at least one other node. Also a set is created
containing all these nodes .
Works with the current deck and on all nodes.
CheckDBHistoryNodesLocations
ANSA_EXEC_DIR/docs/scripts/Checks/
Function that identifies nodes of DATABASE_HISTORY definitions
(LS-DYNA) that lie within a distance smaller than a specified
tolerance. Results are reported in the Checks List.
CheckDuplicate
ANSA_EXEC_DIR/docs/scripts/Checks/
Checks the database for duplicate elements and deletes the
elements according to their max or min Id.
CheckDuplicateCWelds
ANSA_EXEC_DIR/docs/scripts/
Checks/
Checks for duplicate CWELDs. Only visible CWELDS are
considered. Duplicates are reported separated in two groups,
according to user input: Duplicates with min/max id and rest of
duplicate CWELDs.
Fix function available: Deletes the selected group of CWELDs.
XS, YS, ZS fields of CWELDS with type ELPAT or PARTPAT are
not taken into account.
CheckDuplicatePoints
ANSA_EXEC_DIR/docs/scripts/
Checks/
Checks for duplicate geometric points and reports them in the
check list. Optionally they can be deleted using the fix function.
CheckDynaContacts
ANSA_EXEC_DIR/docs/scripts/
Checks/
Reads an LS-DYNA message file that is specified by the user. The
following warnings are reported in the Checks List:
-Penetrating nodes of sliding contacts (Fix function is available. It
moves the nodes to the locations that are indicated in the
initialization file.)
-Untied nodes of tied contacts
-Nodes of tied contact that will be moved by initialization
-Nodes of tied contact that belong to both master and slave sets.
CheckEmptySets
ANSA_EXEC_DIR/docs/scripts/
Checks/
Checks the sets of the database whether they are empty.
CheckFreeOld
ANSA_EXEC_DIR/docs/scripts/
Checks/
Checks for corner nodes that belong only to one shell. This check
was the common CHECK>FREE in ANSA 12.0.x and older
versions.
BE T A CAE Systems S.A.
Scripts Collection Catalogue
3
905268939.025.png 905268939.026.png 905268939.027.png 905268939.028.png 905268939.029.png 905268939.030.png 905268939.031.png 905268939.032.png 905268939.033.png 905268939.034.png 905268939.035.png 905268939.036.png 905268939.037.png
Zgłoś jeśli naruszono regulamin