Advertisement
apthorpe

Sample sludge code input file

Nov 26th, 2011
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.08 KB | None | 0 0
  1. *-------------------------------------------------------------
  2. CONTROL
  3. *-------------------------------------------------------------
  4. TITLE
  5.  
  6. CHXMIX: Illustrate heat transfer in composite heat sinks when
  7. the gas thermal conductivity in the gap between the
  8. heat sinks is derived from the gas mixture in a region.
  9.  
  10. END TITLE
  11. *
  12. TIMING
  13. TSTART 0. ! START TIME, >0 FOR RESTART RUN
  14. TLAST 36000. ! END TIME (Seconds) - 10 HOURS
  15. DTMIN 0.001 ! MIN TIMESTEP (Seconds)
  16. DTMAX ! MAX TIMESTEP (Seconds)
  17. 0. 3.0
  18. 36000. 3.0
  19. 1.0E6 3.0
  20. DTPRIN 3600. ! PRINT INTERVAL (Seconds)
  21. PLTMIN 10. ! MIN PLOT INTERVAL (Seconds)
  22. PLTMAX 100. ! MAX INTERVAL WITHOUT PLOT (Seconds)
  23. DTRST 3600. ! RESTART INTERVAL (Seconds)
  24. FTPCH 0.005 ! FRACTIONAL CHANGE IN T AND P
  25. FAECH 0.005 ! FRACTIONAL CHANGE IN AEROSOL MASS
  26. FPPLCH 0.03 ! FRACTIONAL CHANGE FOR PLOTTING
  27. END TIMING
  28. *
  29. COMPOUNDS 2
  30. ARGON HELIUM
  31. END COMPOUNDS
  32. *
  33. PRINT-T
  34.  
  35. 1,1 1,8 1,15 2,1 2,8 2,15
  36.  
  37. 3,1 3,8 3,15 4,1 4,8 4,15
  38.  
  39. 5,1 5,8 5,15 6,1 6,8 6,15
  40.  
  41. END PRINT-T
  42. *
  43. PLOT 1
  44. PRESSURE 4 1 2 3 10 ! Pressure
  45. GAS-T 4 1 2 3 10 ! Gas temperature
  46. HS-TI 6 1 2 3 4 5 6 ! Inner heat sink temperature
  47. HS-TA 6 1 2 3 4 5 6 ! Average heat sink temperature
  48. HS-TO 6 1 2 3 4 5 6 ! Outer heat sink temperature
  49. QSW 6 1 2 3 4 5 6 ! Heat input to sandwich heat sink
  50. QGAS-HSI 6 1 2 3 4 5 6 ! Heat input to heat sink from gas
  51. QGAS-HSO 6 1 2 3 4 5 6 ! Heat input to heat sink from gas
  52. QRAD-HSI 6 1 2 3 4 5 6 ! Rad heat input to heat sink
  53. QRAD-HSO 6 1 2 3 4 5 6 ! RAd heat input to heat sink
  54. GAS-X HELIUM 4 1 2 3 10 ! Gas Mole Fraction
  55. GAS-X ARGON 4 1 2 3 10 ! Gas Mole Fraction
  56. GAS-MASS HELIUM 4 1 2 3 10 ! Gas Mass (Species), kg
  57. GAS-MASS ARGON 4 1 2 3 10 ! Gas Mass (Species), kg
  58. END PLOT
  59. *
  60. PLOT 2
  61. HS-T 1 5 1 2 3 4 5 ! Heat sink 1 detail
  62. HS-T 1 5 6 7 8 9 10 ! Heat sink 1 detail
  63. HS-T 1 5 11 12 13 14 15 ! Heat sink 1 detail
  64. HS-T 2 5 1 2 3 4 5 ! Heat sink 2 detail
  65. HS-T 2 5 6 7 8 9 10 ! Heat sink 2 detail
  66. HS-T 2 5 11 12 13 14 15 ! Heat sink 2 detail
  67. HS-T 3 5 1 2 3 4 5 ! Heat sink 3 detail
  68. HS-T 3 5 6 7 8 9 10 ! Heat sink 3 detail
  69. HS-T 3 5 11 12 13 14 15 ! Heat sink 3 detail
  70. HS-T 4 5 1 2 3 4 5 ! Heat sink 4 detail
  71. HS-T 4 5 6 7 8 9 10 ! Heat sink 4 detail
  72. HS-T 4 5 11 12 13 14 15 ! Heat sink 4 detail
  73. HS-T 5 5 1 2 3 4 5 ! Heat sink 5 detail
  74. HS-T 5 5 6 7 8 9 10 ! Heat sink 5 detail
  75. HS-T 5 5 11 12 13 14 15 ! Heat sink 5 detail
  76. HS-T 6 5 1 2 3 4 5 ! Heat sink 6 detail
  77. HS-T 6 5 6 7 8 9 10 ! Heat sink 6 detail
  78. HS-T 6 5 11 12 13 14 15 ! Heat sink 6 detail
  79. END PLOT
  80. *
  81. * Run diagnostics
  82. *
  83. PLOT 3
  84. DELT
  85. ITDX
  86. ITERJN
  87. CPU
  88. END PLOT
  89. *
  90. REPORT 1
  91. QSW INDEX=1 TIME=1800
  92. QSW INDEX=3 TIME=1800
  93. QSW INDEX=5 TIME=1800
  94.  
  95. QSW INDEX=1 TIME=7200
  96. QSW INDEX=3 TIME=7200
  97. QSW INDEX=5 TIME=7200
  98.  
  99. QSW INDEX=1 END
  100. QSW INDEX=3 END
  101. QSW INDEX=5 END
  102.  
  103. GAS-X HELIUM INDEX=3 TIME=1800
  104. GAS-X ARGON INDEX=3 TIME=1800
  105.  
  106. GAS-X HELIUM INDEX=3 TIME=7200
  107. GAS-X ARGON INDEX=3 TIME=7200
  108.  
  109. GAS-X HELIUM INDEX=3 END
  110. GAS-X ARGON INDEX=3 END
  111. END REPORT
  112. *
  113. ACTIVE MODELS
  114. IJUNC 1 ! Junction flow model
  115. ICCFLW 0 ! Counter-current flow model
  116. IHSINK 1 ! Heat sinks
  117. ICNDS 0 ! Condensation
  118. IHXPOL 0 ! Heat and Mass transfer on liquid pool
  119. IASED 0 ! Aerosol Sedimentation
  120. IALEAK 0 ! Aerosol Leakage
  121. IFOG 0 ! Fog formation
  122. ISRC 1 ! User-defined sources
  123. IMCO 0 ! MCO models
  124. ISENS 0 ! Sensitivity runs
  125. END ACTIVE MODELS
  126. *
  127. OPTIONS
  128. CELSIUS
  129. IPLTYP 2 ! 1=wrap around, 2=no wrap (spreadsheet format)
  130. END OPTIONS
  131. *
  132. *-----------------------------------------------------------------------
  133. * SOURCE GROUP:
  134. * ENTER: TIME, TEMP, FLOWRATES, POWER
  135. *
  136. SOURCES
  137. SOURCE 1
  138. REGION 3 GASES 1
  139. PLUME RADIUS 1.0 ELEVATION 10.0 DOWN
  140. ARGON
  141. * Time Temp kg/s Power
  142. 0.0 50.0 0.0 0.E0
  143. 3600.0 50.0 0.08 0.E0
  144. 32400.0 50.0 0.30 0.E0
  145. END REGION
  146. END SOURCES
  147. *
  148. END CONTROL
  149. *
  150. *-------------------------------------------------------------------
  151. VOLUMES
  152. *-------------------------------------------------------------------
  153. *
  154. REGIONS 1 10
  155. LABEL HE_TANK AMBIENT
  156. VOLUME 1000.0 1.0E6
  157. ZTOP 10.0 100.0
  158. ELEVATION 0.0 -1.0
  159. SED_AREA 50.0 1000.0
  160. TEMP_GAS 50.0 20.0
  161. PRESSURE 1.01325E5 1.01325E5
  162. END REGIONS
  163. *
  164. REGIONS 2 3
  165. LABEL AR_TANK PURGE_TANK
  166. SAME_AS 1 1
  167. END REGIONS
  168. *
  169. * Gas composition of each region; specify mole fraction of each
  170. * gas. No more than five columns at a time.
  171. *
  172. GASES 1 2 3 10
  173. HELIUM 1.0 0.0 1.0 1.0
  174. ARGON 0.0 1.0 0.0 0.0
  175. END GASES
  176. *
  177. END VOLUMES
  178. *
  179. *-------------------------------------------------------------------
  180. HEAT_SINKS
  181. *-------------------------------------------------------------------
  182. * Syntax:
  183. * IGEOM 1 for plane, 0 or 2 for cylinder
  184. * IMATHS material type
  185. * XRI Inner Radius (m)
  186. * XRO Outer Radius (m) for cylindrical,
  187. * thickness (m) for planar
  188. * AHS One-sided average heat sink area (m^2)
  189. * XZHS Axial length for conduction ( m)
  190. * TIINIT Initial inside surface temperature (C)
  191. * TOINIT Initial outside surface temperature (C)
  192. * IMSLAB Number of slabs, 3 is minimum. Use 1 for lumped heat
  193. * sink
  194. * IREGI Region index for inner surface or 0 (insulated)
  195. * or -1 for constant temperature
  196. * TIHS Region surface temperature when IREGI = -1 (C)
  197. * IREGO Region index for outer surface or 0 (insulated)
  198. * or -1 for constant temperature
  199. * TOHS Region surface temperature when IREGO = -1 (C)
  200. * XLHS Characteristic length for natural convection (m)
  201. * If different from material type:
  202. * RHO Density (kg/m^3),
  203. * KHS Thermal Conductivity (W/m/K)
  204. * CPHS Specific Heat (J/kg/K)
  205. * QV Volumetric Heat Generation (W/m^3)
  206. * EHSI Emissivity of inner surface
  207. * User has an option to input a temperature dependent
  208. * emissivity by inputting a negative integer for the
  209. * emissivity and supplying the corresponding temperature
  210. * versus emissivity look-up table. See TTABLE & ETABLE
  211. * keywords.
  212. * EHSO Emissivity of outer surface
  213. ******************************************************************
  214. *
  215. SINKS 1 2
  216. LABEL HOT_1 COLD_1
  217. IGEOM 1 1 ! Planar geometry
  218. IMATHS 1 1 ! Copper
  219. IORIHS 0 0 ! Vertical orientation
  220. IMSLAB 15 15 ! 14 nodes plus 2 half-nodes
  221. IREGO -1 0 ! Outer boundary condition: 50C vs Reg. 1
  222. IREGI 0 -1 ! Inner boundary condition: Reg 1. vs 20C
  223. TOHS 50.0 0.0 ! Fixed outer surface temperature
  224. TIHS 0.0 20.0 ! Fixed inner surface temperature
  225. XRI 0.0 0.0 ! Inner radius
  226. XRO 0.01 0.01 ! Thickness
  227. AHS 1.0 1.0 ! Mean cross-sectional area
  228. TOINIT 50.0 20.0 ! Outside surface initial temperature
  229. TIINIT 50.0 20.0 ! Inside surface initial temperature
  230. XZHS 1.0 1.0 ! Axial conduction length
  231. ZTHS 2.0 2.0 ! Upper coordinate
  232. ZBHS 1.0 1.0 ! Lower coordinate
  233. VHS 0.01 0.01 ! Volume
  234. END
  235. *
  236. SINKS 3 4
  237. LABEL HOT_2 COLD_2
  238. SAME_AS 1 2
  239. IREGO -1 0 ! Outer boundary: 50C vs Reg. 2
  240. IREGI 0 -1 ! Inner boundary: Reg 2. vs 20C
  241. END
  242. *
  243. SINKS 5 6
  244. LABEL HOT_3 COLD_3
  245. SAME_AS 1 2
  246. IREGO -1 0 ! Outer boundary: 50C vs Reg. 3
  247. IREGI 0 -1 ! Inner boundary: Reg 3. vs 20C
  248. END
  249. *
  250. MATERIAL LIBRARY
  251. * Name IMATHS RHO KHS CP QV EHSI EHSO
  252. COPPER 1 8954. 398.0 384. 0. 0.7 0.7
  253. STAINLESS-STEEL 2 8000. 16.0 500. 0. 0.3 0.3
  254. END MATERIAL LIBRARY
  255. *
  256. * Composite heat sinks:
  257. *
  258. COMPOSITE NET=1 1 2
  259. IFLIP 0 0
  260. FMULT 1.0 1.0
  261. XGAP 0.01
  262. KGAP HELIUM
  263. END COMPOSITE
  264. *
  265. COMPOSITE NET=2 3 4
  266. IFLIP 0 0
  267. FMULT 1.0 1.0
  268. XGAP 0.01
  269. KGAP ARGON
  270. END COMPOSITE
  271. *
  272. COMPOSITE NET=3 5 6
  273. IFLIP 0 0
  274. FMULT 1.0 1.0
  275. XGAP 0.01
  276. KGAP REGION-3
  277. END COMPOSITE
  278. *
  279. END HEAT_SINKS
  280. *
  281. *-------------------------------------------------------------------
  282. JUNCTIONS
  283. *-------------------------------------------------------------------
  284. PATHS 1
  285. LABEL VENT
  286. IJTYP 1
  287. ICCJN 1
  288. IHORIZ 0
  289. AJN 0.01
  290. CJN 1.0
  291. IR1 3
  292. IR2 10
  293. Z1JN 10.0
  294. Z2JN 11.0
  295. END PATHS
  296. END JUNCTIONS
  297. *-------------------------------------------------------------------
  298. * __END__
  299.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement