I do this frequently. You can APDL to develop a script that will write out
a *.inp file. For example:
*CFOPEN,jobname,inp
*VWRITE
*HEADING
*VWRITE
The title of my analysis
NSEL,....
*VWRITE
*NODE,NSET=nodeSetName
*GET,numberOfNodes,NODE,,COUNT
nodeNumber = 0
*DO,i,1,numberOfNodes,1
nodeNumber = NDNEXT(nodeNumber)
*VWRITE,nodeNumber,NX(nodeNumber),NY(nodeNumber),NZ(nodeNumber)
%7i,%16.9e,%16.9e,%16.9e
*ENDDO
ESEL,....
*VWRITE
*ELEMENT,ELSET=elementSetName,TYPE=C2D4
*GET,numberOfElements,NODE,,COUNT
elementNumber = 0
*DO,i,1,numberOfElements,1
elementNumber = ELNEXT(elementNumber)
ni = NELEM(elementNumber,1)
nj = NELEM(elementNumber,2)
nk = NELEM(elementNumber,3)
nl = NELEM(elementNumber,4)
*VWRITE,elementNumber,ni,nj,nk,nl
%7i,%7i,%7i,%7i,%7i
*ENDDO
etc.
*CFCLOS
Note that the use of C formatting for the *VWRITE statements is generally
easier since it directly supports an integer format (as well as strings).
The length of the script can be reduced, and the speed of execution greatly
increased by using *VGET, *VMASK, etc. to gather the necessary information
(e.g., the nodal coordinates for a set of nodes), then writing the array
contents out using a single *VWRITE statement. *VGET and *VMASK can be a
little confusing to explain and use, so I've simply show the brute-force *DO
loop method.
This may seem like a lot of work, but once you've done it for one model, the
majority of what you'll need for the next model can simply be
cut-and-pasted. With a little work and creativity you can write out
complete model definitions (i.e., models including material properties,
contact surfaces, load step definitions, etc.). Of course, if you have
access to a third party program (FEMAP, PATRAN, HyperMesh, etc.), then you
can use them to perform the translation (but they may not support all of the
necessary features, elements, etc., whereas you can make your APDL script do
everything).
Regards,
Dave
=============================================
Dave Lindeman ***@mmm.com
Sr. CAE Specialist (TEL) 651-733-6383
3M Company (FAX) 651-736-7615
=============================================
----- Original Message -----
From: "pieper_chris" <***@kcc.com>
To: <***@yahoogroups.com>
Sent: Thursday, September 16, 2004 1:07 PM
Subject: [ABAQUS] importing ANSYS models into ABAQUS
Post by pieper_chrisDoes anyone have any experience/suggestions regarding importing
ANSYS model definitions into Abaqus for analysis? Thanks!
Chris Pieper
http://groups.yahoo.com/group/abaqus
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/PMYolB/TM
--------------------------------------------------------------------~->