欢迎来到天天文库
浏览记录
ID:34815794
大小:59.67 KB
页数:25页
时间:2019-03-11
《6液体Modeling a System (INPREP) .pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、WhatisanINPREPfile?Page1of25WhatisanINPREPfile?ThenextstepinbuildingamodeliscreatingadatafileforSPSthatdescribesthephysicalaspectsofthepipelinesystem.ThisdatafileiscalledtheINPREPfileanditisanASCIIfilethatisbothcreatedandeditedbyyou.Itcontainscommandsthatde
2、finethegeneralaspectsofthemodelanddetailedinformationontheelementsthatmakeupthesystem.ThissectiondescribeshowtotaketheinformationgatheredintheprevioussectionanduseittocreateanINPREPfile.ThissectionalsodescribeshowtorunthecompletedINPREPfilethroughPREPRandho
3、wtocorrectsomecommonmistakes.Formoredetails,seetheHelpandReference.CreatingthemodelfileTocreatethemodelfile,anystandardtexteditorcanbeused.ForUNIX,programssuchasemacs,VI,andthevariousgraphicaltexteditorsarecommonlyused.ForWindowsmachines,theNotepadorasimila
4、reditormaybeused.Otherprograms,suchasMicrosoft®Wordmaybeused,butthefilesmustbeexportedorsavedasASCIItextfiles.ThefilenamefortheINPREPfilemustendwiththeINPREPsuffix.Somedatarequiremultipleinputlines.Normally,additionalinputlinesstartwithaplus(+)followedbyasp
5、ace.Anotherconventioncommonlyusedisthecharactersequence/*,whichmakestherestofthelineacomment.Defaultinputvaluesareusedbyplacinga*asaplaceholder.ExamplesofthesewillbepresentedinoursampleINPREPfile.RecommendedandrequiredstructureINPREPfilesaredividedintotwoma
6、jorsections:generalandequipment.Thegeneralsectionappearsfirstandcontainsglobalinformationthatappliestothewholemodel,suchastheenvironmentalconditionsandtheequationofstatetouseforfluidpropertycalculations.Theequipmentsectionstartswiththe=EQUIPMENTline.Itconta
7、instheelementsanddatathatdefineallthephysicalcomponentsofthesystem.ThefollowingisanoutlineofthecontentofatypicalINPREPfile.AllofthetypesofinformationshownarerequiredineveryINPREPfile.Itisrecommendedthattheybeincludedintheorderpresentedbelow.GeneralInformat
8、ionTitleTypeofsystemfile://C:DocumentsandSettingsuserLocalSettingsTemp~hhEE5C.htm2008-5-4WhatisanINPREPfile?Page2of25UnitsThermalmodeEquationofstateCustodyconditionsPipelineparametersDatal
此文档下载收益归作者所有