Discussion:
importing ANSYS models into ABAQUS
pieper_chris
2004-09-16 18:07:13 UTC
Permalink
Does anyone have any experience/suggestions regarding importing
ANSYS model definitions into Abaqus for analysis? Thanks!

Chris Pieper



------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/PMYolB/TM
--------------------------------------------------------------------~->
Dave Lindeman
2004-09-16 18:53:51 UTC
Permalink
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_chris
Does 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
--------------------------------------------------------------------~->
pieper_chris
2004-09-16 19:29:54 UTC
Permalink
Thanks Dave!

Just need a little clarification (I'm not an ANSYS user...) -- when
you say "you can APDL..." is that a term an ANSYS user would
understand? I see what you're saying (to some degree), but I don't
understand the APDL verb... Can you clarify?

Thanks,

Chris
Post by Dave Lindeman
I do this frequently. You can APDL to develop a script that will write out
*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
Post by Dave Lindeman
increased by using *VGET, *VMASK, etc. to gather the necessary
information
Post by Dave Lindeman
(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
Post by Dave Lindeman
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,
Post by Dave Lindeman
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
=============================================
Sr. CAE Specialist (TEL) 651-733-6383
3M Company (FAX) 651-736-7615
=============================================
----- Original Message -----
Sent: Thursday, September 16, 2004 1:07 PM
Subject: [ABAQUS] importing ANSYS models into ABAQUS
Post by pieper_chris
Does 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
--------------------------------------------------------------------~->
Dave Lindeman
2004-09-16 20:02:46 UTC
Permalink
Sorry, I was assuming you were an ANSYS user (and actually, I meant to type
"you can use APDL" -- i.e. APDL is a noun, not a verb). APDL stands for
"ANSYS Parametric Design Language". It's the scripting language of ANSYS.
So, what I was demonstrating was using this scripting language to open a
text file, extract various information from the database, and write it out
to the file. If you go to www.ansys.net and do a search on "ABAQUS" you'll
find a couple of scripts that illustrate the output of an ABAQUS input file.
They're a little out of date (e.g., they use FORTRAN formatting), but they
provide a starting point.

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 2:29 PM
Subject: [ABAQUS] Re: importing ANSYS models into ABAQUS
Post by pieper_chris
Thanks Dave!
Just need a little clarification (I'm not an ANSYS user...) -- when
you say "you can APDL..." is that a term an ANSYS user would
understand? I see what you're saying (to some degree), but I don't
understand the APDL verb... Can you clarify?
Thanks,
Chris
Post by Dave Lindeman
I do this frequently. You can APDL to develop a script that will
write out
Post by Dave Lindeman
*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
Post by Dave Lindeman
easier since it directly supports an integer format (as well as
strings).
Post by Dave Lindeman
The length of the script can be reduced, and the speed of
execution greatly
Post by Dave Lindeman
increased by using *VGET, *VMASK, etc. to gather the necessary
information
Post by Dave Lindeman
(e.g., the nodal coordinates for a set of nodes), then writing the
array
Post by Dave Lindeman
contents out using a single *VWRITE statement. *VGET and *VMASK
can be a
Post by Dave Lindeman
little confusing to explain and use, so I've simply show the brute-
force *DO
Post by Dave Lindeman
loop method.
This may seem like a lot of work, but once you've done it for one
model, the
Post by Dave Lindeman
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
Post by Dave Lindeman
complete model definitions (i.e., models including material
properties,
Post by Dave Lindeman
contact surfaces, load step definitions, etc.). Of course, if you
have
Post by Dave Lindeman
access to a third party program (FEMAP, PATRAN, HyperMesh, etc.),
then you
Post by Dave Lindeman
can use them to perform the translation (but they may not support
all of the
Post by Dave Lindeman
necessary features, elements, etc., whereas you can make your APDL
script do
Post by Dave Lindeman
everything).
Regards,
Dave
=============================================
Sr. CAE Specialist (TEL) 651-733-6383
3M Company (FAX) 651-736-7615
=============================================
----- Original Message -----
Sent: Thursday, September 16, 2004 1:07 PM
Subject: [ABAQUS] importing ANSYS models into ABAQUS
Post by pieper_chris
Does 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
http://groups.yahoo.com/group/abaqus
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/PMYolB/TM
--------------------------------------------------------------------~->
BIRAB BIRAB
2004-09-16 18:44:11 UTC
Permalink
Hi

I would like to ask you if you have any mesh generator
like Hypermesh or ANSA, Idyas etc...
you use these softwear to convert your file.
if no you can send me your file and I try to convert.

D. Dhafar AL GALIB
Post by pieper_chris
Does anyone have any experience/suggestions
regarding importing
ANSYS model definitions into Abaqus for analysis?
Thanks!
Chris Pieper
------------------------ Yahoo! Groups Sponsor
--------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/PMYolB/TM
--------------------------------------------------------------------~->
Post by pieper_chris
http://groups.yahoo.com/group/abaqus
Yahoo! Groups Links
Vous manquez d’espace pour stocker vos mails ?
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com



------------------------ 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
--------------------------------------------------------------------~->
Pieper, Chris
2004-09-16 19:51:05 UTC
Permalink
Thank you, I do not currently have access to these mesh generation programs... I am looking for a general method as I potentially have many models to convert. It sounds like it may be a good option to purchase one of these programs. Thanks for the offer, but I will pursue the commercial route.

Chris

-----Original Message-----
From: BIRAB BIRAB [mailto:***@yahoo.com]
Sent: Thursday, September 16, 2004 1:44 PM
To: ***@yahoogroups.com
Cc: ***@yahoo.com
Subject: Re: [ABAQUS] importing ANSYS models into ABAQUS


Hi

I would like to ask you if you have any mesh generator
like Hypermesh or ANSA, Idyas etc...
you use these softwear to convert your file.
if no you can send me your file and I try to convert.

D. Dhafar AL GALIB
Post by pieper_chris
Does anyone have any experience/suggestions
regarding importing
ANSYS model definitions into Abaqus for analysis?
Thanks!
Chris Pieper
------------------------ Yahoo! Groups Sponsor
--------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/PMYolB/TM
--------------------------------------------------------------------~->
Post by pieper_chris
http://groups.yahoo.com/group/abaqus
Yahoo! Groups Links
Vous manquez d'espace pour stocker vos mails ?
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
Dave Lindeman
2004-09-16 20:13:30 UTC
Permalink
Chris:

Do you have access to ANSYS, or is someone simply shipping you ANSYS
databases that you need to import into ANSYS? If it's the latter, than you
can ask that someone to dump the ANSYS database to an ASCII file (CDWRITE
command). You'll then have to write a program that reads this file and
creates a *inp file. Not necessarily a pretty task, and a major undertaking
if you're hoping to produce a general-purpose translator, but it's a
possibility.

If you're looking at third-party solutions, AI*Environment is another
possibility (actually, since it's an ANSYS product, I suppose it's more like
a second-party solution in this case).

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 2:51 PM
Subject: RE: [ABAQUS] importing ANSYS models into ABAQUS
Post by Pieper, Chris
Thank you, I do not currently have access to these mesh generation
programs... I am looking for a general method as I potentially have many
models to convert. It sounds like it may be a good option to purchase one
of these programs. Thanks for the offer, but I will pursue the commercial
route.
Post by Pieper, Chris
Chris
-----Original Message-----
Sent: Thursday, September 16, 2004 1:44 PM
Subject: Re: [ABAQUS] importing ANSYS models into ABAQUS
Hi
I would like to ask you if you have any mesh generator
like Hypermesh or ANSA, Idyas etc...
you use these softwear to convert your file.
if no you can send me your file and I try to convert.
D. Dhafar AL GALIB
Post by pieper_chris
Does anyone have any experience/suggestions
regarding importing
ANSYS model definitions into Abaqus for analysis?
Thanks!
Chris Pieper
------------------------ Yahoo! Groups Sponsor
http://groups.yahoo.com/group/abaqus
Yahoo! Groups Links
Vous manquez d'espace pour stocker vos mails ?
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés
pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur
http://fr.messenger.yahoo.com
Post by Pieper, Chris
http://groups.yahoo.com/group/abaqus
Yahoo! Groups Links
--------------------------------------------------------------------------
----
Post by Pieper, Chris
This e-mail is intended for the use of the addressee(s) only and may
contain privileged, confidential, or proprietary information that is exempt
from disclosure under law. If you have received this message in error,
please inform us promptly by reply e-mail, then delete the e-mail and
destroy any printed copy. Thank you.
============================================================================
==
Post by Pieper, Chris
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
--------------------------------------------------------------------~->
Pieper, Chris
2004-09-17 11:19:29 UTC
Permalink
Thanks Dave,

There are a couple of ANSYS users (with access to ANSYS) in our company,
however, we intend to move away from ANSYS and consolidate our FEA
packages -- therefore, we will have ANSYS only for a short time
longer... I will find out how many models we have out there and how
many of them should be translated. I appreciate your helpful comments!


Thank you,

Chris

-----Original Message-----
From: Dave Lindeman [mailto:***@mmm.com]
Sent: Thursday, September 16, 2004 3:03 PM
To: ***@yahoogroups.com
Subject: Re: [ABAQUS] Re: importing ANSYS models into ABAQUS


Sorry, I was assuming you were an ANSYS user (and actually, I meant to
type
"you can use APDL" -- i.e. APDL is a noun, not a verb). APDL stands for
"ANSYS Parametric Design Language". It's the scripting language of
ANSYS.
So, what I was demonstrating was using this scripting language to open a
text file, extract various information from the database, and write it
out
to the file. If you go to www.ansys.net and do a search on "ABAQUS"
you'll
find a couple of scripts that illustrate the output of an ABAQUS input
file.
They're a little out of date (e.g., they use FORTRAN formatting), but
they
provide a starting point.

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 2:29 PM
Subject: [ABAQUS] Re: importing ANSYS models into ABAQUS
Post by pieper_chris
Thanks Dave!
Just need a little clarification (I'm not an ANSYS user...) -- when
you say "you can APDL..." is that a term an ANSYS user would
understand? I see what you're saying (to some degree), but I don't
understand the APDL verb... Can you clarify?
Thanks,
Chris
Post by Dave Lindeman
I do this frequently. You can APDL to develop a script that will
write out
Post by Dave Lindeman
*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
Post by Dave Lindeman
easier since it directly supports an integer format (as well as
strings).
Post by Dave Lindeman
The length of the script can be reduced, and the speed of
execution greatly
Post by Dave Lindeman
increased by using *VGET, *VMASK, etc. to gather the necessary
information
Post by Dave Lindeman
(e.g., the nodal coordinates for a set of nodes), then writing the
array
Post by Dave Lindeman
contents out using a single *VWRITE statement. *VGET and *VMASK
can be a
Post by Dave Lindeman
little confusing to explain and use, so I've simply show the brute-
force *DO
Post by Dave Lindeman
loop method.
This may seem like a lot of work, but once you've done it for one
model, the
Post by Dave Lindeman
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
Post by Dave Lindeman
complete model definitions (i.e., models including material
properties,
Post by Dave Lindeman
contact surfaces, load step definitions, etc.). Of course, if you
have
Post by Dave Lindeman
access to a third party program (FEMAP, PATRAN, HyperMesh, etc.),
then you
Post by Dave Lindeman
can use them to perform the translation (but they may not support
all of the
Post by Dave Lindeman
necessary features, elements, etc., whereas you can make your APDL
script do
Post by Dave Lindeman
everything).
Regards,
Dave
=============================================
Sr. CAE Specialist (TEL) 651-733-6383
3M Company (FAX) 651-736-7615
=============================================
----- Original Message -----
Sent: Thursday, September 16, 2004 1:07 PM
Subject: [ABAQUS] importing ANSYS models into ABAQUS
Post by pieper_chris
Does 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
http://groups.yahoo.com/group/abaqus
Yahoo! Groups Links
Loading...