Hi,
I need to write a one string to the any file which is exported for any solver.
like for in nastran
*cardcreate('SUBTITLE')
*attributeupdateint(cards,5,3240,1,2,0,1)
*attributeupdatestring(cards,5,282,1,2,0,'hello this file is written by %username%')
*feoutput('C:/Altair/hw8.0sr1/templates/feoutput/nastran/general','C:/TEMP.dat',1,0,0)
But a single proc for any solver.....
The cards and attributes are separate for every solver. You could create a macro that would enter in the text you want into the appropriate attribute fields for each solver (like 'subtitle' for Nastran, 'readme' for Dyna, etc).
Another option would be to add this line of text to the output templates for the solvers you want. These are text files that are very easy to modify. For example, in the general1 file of the nastran feoutput template:
would add a similar line of text to the input deck.
Eric