NASTRAN 110.docx
《NASTRAN 110.docx》由会员分享,可在线阅读,更多相关《NASTRAN 110.docx(49页珍藏版)》请在冰豆网上搜索。
NASTRAN110
MSC.SoftwareCorporation
2MacArthurPlace
SantaAna,CA92707USA
Tel:
(714)540-8900
Fax:
(714)784-4056
Web:
Tokyo,JapanUnitedStatesMunich,Germany
Tel:
81-3-3505-0266SoftwareSupportTel:
(49)(89)4319870
Fax:
81-3-3505-0914Tel:
1-800-732-7284Fax:
(49)(89)4361716
Fax:
(714)979-2990
Workbook:
DMAPandDatabaseApplicationsinMSC.NastranV2001
NAS110ExerciseWorkbook
August2002
PartNumberNA*V2001*Z*Z*Z*SM-NAS110-WBK
DISCLAIMER
MSC.SoftwareCorporationreservestherighttomakechangesinspecificationsandotherinformationcontainedinthisdocumentwithoutpriornotice.
Theconcepts,methods,andexamplespresentedinthistextareforillustrativeandeducationalpurposesonly,andarenotintendedtobeexhaustiveortoapplytoanyparticularengineeringproblemordesign.MSC.SoftwareCorporationassumesnoliabilityorresponsibilitytoanypersonorcompanyfordirectorindirectdamagesresultingfromtheuseofanyinformationcontainedherein.
UserDocumentation:
Copyright2002MSC.SoftwareCorporation.PrintedinU.S.A.AllRightsReserved.
Thisnoticeshallbemarkedonanyreproductionofthisdocumentation,inwholeorinpart.Anyreproductionordistributionofthisdocument,inwholeorinpart,withoutthepriorwrittenconsentofMSC.SoftwareCorporationisprohibited.
MSCisaregisteredtrademarkoftheMSC.SoftwareCorporation.NASTRANisaregisteredtrademarkoftheNationalAeronauticsandSpaceAdministration.MSC.NastranisanenhancedproprietaryversiondevelopedandmaintainedbyMSC.SoftwareCorporation.MSC.andMSC.PatranaretrademarksofMSC.SoftwareCorporation.
Allothertrademarksarethepropertyoftheirrespectiveowners.
TABLEOFCONTENTS
WorkshopDescriptionPage#
1.SimpleDmapUsingParametersDefinedInside3
TheDMAP.
2.SimpleDmapUsingParametersDefinedInside7
theBulkData.
3.ReadMatrixUsingDMIandWriteMatrix13
UsingOutput2andOUTPUT4Formats.
4.ReadMatricesPreviouslyCreatedinWorkshop#318
andPerformEigenvalueAnalysis.
5.SolveLinearEquationUsingAnIterativeScheme.22
6.CreateReducedStiffnessMatrixandPunchitout26
inDMIGFormat.
7.DMAPtoCalculateElementStrainEnergydueto36
DMIG.
8.DMAPtoPerformRigidBodyCheck.43
Workshop#1
SimpleDMAPUsingParametersDefinedInsidetheDMAP
Workshop#1
Objective:
∙CalculatetheaverageandstandarddeviationusingDMAPwithparametersdefinedinsidethedmap.
Procedure:
Thereare15studentsinanalgebraclass.Thefollowingaretestscoresfromarecenttest:
92,85,70,82,90,82,32,94,100,50,95,80,65,100,and70
WriteaDMAPusingparameterstorepresentthetestscoresandcalculatetheaverageandstandarddeviationforthetest.AssignthetestscoresinsidetheDMAP.UsetheMESSAGEmoduletolabeltheoutput.
AVG=1/N
STD=SQRT[{(X1-AVG)**2+(X2-AVG)**2+…+(Xn-AVG)**2}/N]
Theresultsfromthef06fileisshownbelow.
^^^
^^^AVERAGETESTSCORE=7.913333E+01
^^^
^^^
^^^STANDARDDEVIATION=1.846751E+01
^^^
SolutionFileforWorkshop#1
$soln1.dat
$
SOLAVGSTD
COMPILEAVGSTDLIST
SUBDMAPAVGSTD
$
$DECLAREPARAMETERS
$
TYPEPARM,,RS,N,sc1,sc2,sc3,sc4,sc5,sc6,sc7,sc8,sc9,sc10
TYPEPARM,,RS,N,sc11,sc12,sc13,sc14,sc15
TYPEPARM,,RS,N,AVG,STD
$
sc1=92.
sc2=85.
sc3=70.
sc4=82.
sc5=90.
sc6=82.
sc7=32.
sc8=94.
sc9=100.
sc10=50.
sc11=95.
sc12=80.
sc13=65.
sc14=100.
sc15=70.
$
$23456789
AVG=(sc1+sc2+sc3+sc4+sc5+sc6+sc7+sc8+sc9+
sc10+sc11+sc12+sc13+sc14+sc15)/15.
$
MESSAGE//''$PRINTBLANKLINE
MESSAGE//'AVERAGETESTSCORE='/AVG$
MESSAGE//''$
$
STD=SQRT(((sc1-AVG)**2+(sc2-AVG)**2+(sc3-AVG)**2+
(sc4-AVG)**2+(sc5-AVG)**2+(sc6-AVG)**2+
(sc7-AVG)**2+(sc8-AVG)**2+(sc9-AVG)**2+
(sc10-AVG)**2+(sc11-AVG)**2+(sc12-AVG)**2+
(sc13-AVG)**2+(sc14-AVG)**2+(sc15-AVG)**2)
/15.)
$
MESSAGE//''$
MESSAGE//'STANDARDDEVIATION='/STD$
MESSAGE//''$
$
END
$
CEND
$
TITLE=WORKSHOP#1--USEPARAMETERSTO
SolutionFileforWorkshop#1(cont.)
SUBTITLE=CALCULATEAVERAGEANDSTANDARDDEVIATION
$
BEGINBULK
ENDDATA
Workshop#2
SimpleDMAPUsingParametersDefinedInsidetheBulkDataSection
Workshop#2
Objective:
∙CalculatetheAverageandStandardDeviationUsingDMAPwithParametersDefinedInsidetheBulkDataSection
Procedure:
Repeatworkshop#1byreadinginthetestscoresfromthebulkdatasectioninsteadofdefiningtheminsidetheDMAP.Notethattheprefacemodules—IFP1,XSORT,andIFPareneeded.Thesemodulesareprovidedinthepreface.datfile.Performthisworkshopusingtwodifferentmethods.
a.Createyourownsolutionname(asinworkshop#1)andbringintheprefacemodulesusingtheincludecommand.
b.RepeatstepausingSOL100.NotethatSOL100hastheprefacemodulesalreadybuiltin.
Theresultsfromthef06fileisshownbelow.
^^^
^^^AVERAGETESTSCORE=7.913333E+01
^^^
^^^
^^^STANDARDDEVIATION=1.846751E+01
^^^
SolutionforWorkshop#2A
$
$soln2a.dat
$
SOLavgstd
compileavgstd$
subdmapsvgstd$
$
include'preface.dat'
$
$DECLAREPARAMETERS
$
TYPEPARM,,RS,y,sc1,sc2,sc3,sc4,sc5,sc6,sc7,sc8,sc9,sc10
TYPEPARM,,RS,y,sc11,sc12,sc13,sc14,sc15
TYPEPARM,,I,Y,NSTUDENT
TYPEPARM,,RS,N,AVG,STD,nstudr
$
nstudr=real(nstudent)
AVG=(sc1+sc2+sc3+sc4+sc5+sc6+sc7+sc8+sc9+
sc10+sc11+sc12+sc13+sc14+sc15)/nstudr
$
MESSAGE//''$PRINTBLANKLINE
MESSAGE//'AVERAGETESTSCORE='/AVG$
MESSAGE//''$
$
STD=SQRT(((sc1-AVG)**2+(sc2-AVG)**2+(sc3-AVG)**2+
(sc4-AVG)**2+(sc5-AVG)**2+(sc6-AVG)**2+
(sc7-AVG)**2+(sc8-AVG)**2+(sc9-AVG)**2+
(sc10-AVG)**2+(sc11-AVG)**2+(sc12-AVG)**2+
(sc13-AVG)**2+(sc14-AVG)**2+(sc15-AVG)**2)
/nstudr)
$
MESSAGE//''$
MESSAGE//'STANDARDDEVIATION='/STD$
MESSAGE//''$
$
END
$
CEND
$
TITLE=WORKSHOP#2--READPARAMETERSFROMBULKDATASECTION
SUBTITLE=CALCULATEAVERAGEANDSTANDARDDEVIATION
$
BEGINBULK
$
PARAM,sc1,92.
PARAM,sc2,85.
PARAM,sc3,70.
PARAM,sc4,82.
PARAM,sc5,90.
PARAM,sc6,82.
PARAM,sc7,32.
SolutionforWorkshop#2A(cont.)
PARAM,sc8,94.
PARAM,sc9,100.
PARAM,sc10,50.
PARAM,sc11,95.
PARAM,sc12,80.
PARAM,sc13,65.
PARAM,sc14,100.
PARAM,sc15,70.
$
param,nstudent,15
$
ENDDATA
SolutionforWorkshop#2B
$
$soln2b.dat
$
SOL100
compileuserdmaplist$
alter2$
$
$DECLAREPARAMETERS
$
TYPEPARM,,RS,y,sc1,sc2,sc3,sc4,sc5,sc6,sc7,sc8,sc9,sc10
TYPEPARM,,RS,y,sc11,sc12,sc13,sc14,sc15
TYPEPARM,,I,Y,NSTUDENT
TYPEPARM,,RS,N,AVG,STD,nstudr
$
nstudr=real(nstudent)
AVG=(sc1+sc2+sc3+sc4+sc5+sc6+sc7+sc8+sc9+
sc10+sc11+sc12+sc13+sc14+sc15)/nstudr
$
MESSAGE//''$PRINTBLANKLINE
MESSAGE//'AVERAGETESTSCORE='/AVG$
MESSAGE//''$
$
STD=SQRT(((sc1-AVG)**2+(sc2-AVG)**2+(sc3-AVG)**2+
(sc4-AVG)**2+(sc5-AVG)**2+(sc6-AVG)**2+
(sc7-AVG)**2+(sc8-AVG)**2+(sc9-AVG)**2+
(sc10-AVG)**2+(sc11-AVG)**2+(sc12-AVG)**2+
(sc13-AVG)**2+(sc14-AVG)**2+(sc15-AVG)**2)
/nstudr)
$
MESSAGE//''$
MESSAGE//'STANDARDDEVIATION='/STD$
MESSAGE//''$
$
END
$
CEND
$
TITLE=WORKSHOP#2--READPARAMETERSFROMBULKDATASECTION
SUBTITLE=CALCULATEAVERAGEANDSTANDARDDEVIATION
$
BEGINBULK
$
PARAM,sc1,92.
PARAM,sc2,85.
PARAM,sc3,70.
PARAM,sc4,82.
PARAM,sc5,90.
PARAM,sc6,82.
PARAM,sc7,32.
PARAM,sc8,94.
PARAM,sc9,100.
PARAM,sc10,50.
SolutionforWorkshop#2B(cont.)
PARAM,sc11,95.
PARAM,sc12,80.
PARAM,sc13,65.
PARAM,sc14,100.
PARAM,sc15,70.
$
param,nstudent,15
$
ENDDATA
Workshop#3
ReadMatrixUsingDMIandWriteMatrixUsingOUTPUT2andOUTPUT4Formats.
Workshop#3
Objective:
∙ReadmatrixAusingDMIandWriteAusingOUTPUT2andOUTPUT4inbothbinaryandasciiformat.
Procedure:
ReadthefollowingmatrixAusingDMI.
ProvidecheckstoensurethatmatrixAisreadinandprintmatrixAusingMATPRNandMATPRT.
Writeoutmatrixusingthefollowingformats:
∙OUTPUT2inasciiformat.
∙OUTPUT2inbinaryformat.
∙OUTPUT4inasciiformat.
∙OUTPUT4inbinaryformat.
PARTIALF06RESULTS
^^^MATRIXMASSREADINOK,MATPRNFOLLOWS
1USEMTRXINTOREADDMIGENTRIESMARCH19,2000MSC.NASTRAN12/14/99PAGE5
0
0MATRIXA(GINONAME101)ISADBPREC4COLUMNX4ROWSYMMETRCMATRIX.
0COLUMN1ROWS1THRU2--------------------------------------------------
ROW
1)2.0000D+00-1.0000D+00
0COLUMN2ROWS1THRU3--------------------------------------------------
ROW
1)-1.0000D+002.0000D+00-1.0000D+00
0COLUMN3ROWS2THRU4--------------------------------------------------
ROW
2)-1.0000D+002.0000D+00-1.0000D+00
0COLUMN4ROWS3THRU4--------------------------------------------------
ROW
3)-1.0000D+002.0000D+00
0THENUMBEROFNON-ZEROTERMSINTHEDENSESTCOLUMN=3
0THEDENSITYOFTHISMATRIXIS62.50PERCENT.
^^^MAPTRTFOLLOWS
1USEMTRXINTOREADDMIGENTRIESMARCH19,2000MSC.NASTRAN12/14/99PAGE6
0
INTERMEDIATEMATRIX...A
COLUMN1
12.000000E+00-1.000000E+000.000000E+000.000000E+004
COLUMN2
1-1.000000E+002.000000E+00-1.000000E+000.000000E+004
COLUMN3
10.000000E+00-1.000000E+002.000000E+00-1.000000E+004
COLUMN4
10.000000E+000.000000E+00-1.000000E+002.000000E+004
***USERINFORMATIONMESSAGE4114(OUTPN2)
DATABLOCKAWRITTENONFORTRANUNIT41,TRL=
101446266250
(MAXIMUMPOSSIBLEFORTRANRECORDSIZE=2000WORDS.)
(MAXIMUMSIZEOFFORTRANRECORDSWRITTEN=7WORDS.)
(NUMBEROFFORTRANRECORDSWRITTEN=3