FEMFAT 5.0
Good morning everyone,
How do I create a Custom output file format without manual editing it afterwards that is compatible to FEMFAT.
It should only show the node sets.
$$---------------------------------------------$
$$ $
$$ NASTRAN Input Deck for FEMFAT $
$$ Manualy edited $
$$ $
$$----------------------------------------------$
CEND
SET 5027 = 1100 THRU 1134
$HMSET 5027 1 'LH-CHN-1'
SET 5028 = 1200 THRU 1233
$HMSET 5028 1 'LH-CHN-2'
SET 5029 = 600 THRU 624
$HMSET 5029 1 'LH-CHN-3'
BEGIN BULK
$
ENDDATA
Thank you for your consideration and time to help me with this.
Best answer will be shown in the User conference.
Regards, Harry Tempelman
Answers
-
Hi Htempelman
make an output template file, this is a minimum example
*sets()
*before()
*string('CEND') *end()
*format()
*if([type == 1])
*counterset(counter1,0)
*variableset(variable1,999999999)
*variableset(variable2,0)
*loopif([counter1 < idsmax])
*pointerset(pointer1,ids,counter1)
*if([pointer1.pointervalue < variable1])
*variableset(variable1,pointer1.pointervalue)
*endif()
*if([pointer1.pointervalue > variable2])
*variableset(variable2,pointer1.pointervalue)
*endif()
*counterinc(counter1)
*endloop()
*string('SET') *field(integer,id,0) *string(' = ')
*field(integer,variable1,0) *string(' THRU ') *field(integer,variable2,0) *end()
*string('$HMSET ') *field(integer,id,0) *string(' ') *field(integer,type,0)
*quote() *field(string,name,0) *quote() *end()
*endif()
*output()
0 -
Thank you so much.
Regards, Harry
0