欢迎来到天天文库
浏览记录
ID:34815664
大小:50.76 KB
页数:22页
时间:2019-03-11
《2气体Modeling a System (INPREP) .pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、WhatisanINPREPfile?Page1of22WhatisanINPREPfile?ThenextstepinbuildingamodeliscreatingadatafileforSPSthatdescribesthephysicalaspectsofthepipelinesystem.ThisdatafileiscalledtheINPREPfileanditisanASCIIfilethatisbothcreatedandeditedbyyou.Itcontainscommandsthatdefinethegeneralaspectsofthemodelanddetai
2、ledinformationontheelementsthatmakeupthesystem.ThissectiondescribeshowtotaketheinformationgatheredintheprevioussectionanduseittocreateanINPREPfile.ThissectionalsodescribeshowtorunthecompletedINPREPfilethroughPREPRandhowtocorrectsomecommonmistakes.Formoredetails,seetheHelpandReference.Creatingthe
3、modelfileTocreatethemodelfile,anystandardtexteditorcanbeused.ForUNIX,programssuchasemacs,VI,andthevariousgraphicaltexteditorsarecommonlyused.ForWindowsmachines,theNotepadorasimilareditormaybeused.Otherprograms,suchasMicrosoft®Wordmaybeused,butthefilesmustbeexportedorsavedasASCIItextfiles.Thefile
4、namefortheINPREPfilemustendwiththeINPREPsuffix.Somedatarequiremultipleinputlines.Normally,additionalinputlinesstartwithaplus(+)followedbyaspace.Anotherconventioncommonlyusedisthecharactersequence/*,whichmakestherestofthelineacomment.Defaultinputvaluesareusedbyplacinga*asaplaceholder.Examplesofth
5、esewillbepresentedinoursampleINPREPfile.RecommendedandrequiredstructureINPREPfilesaredividedintotwomajorsections:generalandequipment.Thegeneralsectionappearsfirstandcontainsglobalinformationthatappliestothewholemodel,suchastheenvironmentalconditionsandtheequationofstatetouseforfluidpropertycalcu
6、lations.Theequipmentsectionstartswiththe=EQUIPMENTline.Itcontainstheelementsanddatathatdefineallthephysicalcomponentsofthesystem.ThefollowingisanoutlineofthecontentofatypicalINPREPfile.AllofthetypesofinformationshownarerequiredineveryINPREPfile.Itisrecommendedthattheybeincludedintheorderpresente
7、dbelow.GeneralInformationTitleTypeofsystemfile://C:DocumentsandSettingsuserLocalSettingsTemp~hh245.htm2008-5-6WhatisanINPREPfile?Page2of22UnitsThermalmodeEquationofstateCustodyconditionsPipelineparametersDatali
此文档下载收益归作者所有