import .inp file generated by Texgen to Hypermesh

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
bluezoe
Regular
Posts: 13
Joined: Tue Aug 20, 2019 2:38 am

import .inp file generated by Texgen to Hypermesh

Post by bluezoe »

Hi,
When I trying to import the .inp file to Hypermesh, It seem to be a syntax error.

Code: Select all

Error:      Option INPUT = z1.ori is not supported in *DISTRIBUTION card
                Resolution:  Option is skipped. Edit the deck to include them back.
Warning:  Unsupported information found in the input deck.
                Resolution:  Unsupported text is moved to control cards. Check help for further information.
Warning:  *ORIENTATION card with NAME= TexGenOrientations has invalid input coordinates (a,b) 
                Resolution:  Invalid system axis.  So, the attribute id is not attached for this card.
Summary:Feinput finished with 1 errors and 2 warnings.
Then I edited the orientation part in inp file

Code: Select all

********************
*** ORIENTATIONS ***
********************
** Orientation vectors
** 1st vector represents the fibre direction
** 2nd vector is an arbitrary vector perpendicular to the first
*Distribution Table, Name=TexGenOrientationVectors
COORD3D,COORD3D
*Distribution, Location=Element, Table=TexGenOrientationVectors, Name=TexGenOrientationVectors,Input=z1.ori
*Orientation, Name=TexGenOrientations, Definition=coordinates
TexGenOrientationVectors
0,1

Code: Select all

*Distribution Table, Name=TexGenOrientationVectors
COORD3D,COORD3D
*Distribution, Location=Element, Table=TexGenOrientationVectors, Name=TexGenOrientationVectors,
*include,Input=z1.ori
*Orientation, Name=TexGenOrientations, Definition=coordinates
TexGenOrientationVectors
0,1
It is then imported successfully, but there was only one local coordinate system though the TexGenOrientationVectors contains all the details.
Attachments
1636942576(1).png
1636942576(1).png (72.24 KiB) Viewed 8105 times
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: import .inp file generated by Texgen to Hypermesh

Post by louisepb »

Hi Zoe,

I'm afraid that I'm not familiar with Hypermesh. The .inp file is set up so that ABAQUS can read the orientations from the .ori file. I think you will need to find out how Hypermesh can read in orientations (if it can) and work out a way to get the information from the .ori file into Hypermesh. It may be that you need to write a script to do it but I don't really know anything about this. Maybe ask on a Hypermesh forum?

Best wishes,
Louise
bluezoe
Regular
Posts: 13
Joined: Tue Aug 20, 2019 2:38 am

Re: import .inp file generated by Texgen to Hypermesh

Post by bluezoe »

Hi,
I found that the system collector stored the TxeGenOrientations as a table.
After editing the element type, I can export ANSYS inp file from Hypermesh in which each element has been assigned a local coordinate system.

Thanks for your reply.
zoe
Post Reply