Download - RELAP5 Input Builder GUIs THUMB & PYGMALION
![Page 1: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/1.jpg)
Idaho National Engineering and Environmental Laboratory
RELAP5 Input Builder GUIsTHUMB & PYGMALION
Presented byMichael Cutforth &Dr. George L. Mesina
2002 RELAP5 International RELAP5Users Seminar
September 4-6, 2002
![Page 2: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/2.jpg)
Idaho National Engineering and Environmental Laboratory
201-GA50
Outline
• GUI Background
• THUMB Design & Purpose
• THUMB Status
• THUMB Future Developments
• PYGMALION GUI
![Page 3: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/3.jpg)
Idaho National Engineering and Environmental Laboratory
301-GA50
GUI Background Information• Widely used
– Few applications remain without one• Many benefits
– Organizes work, clarifies requirements, gives help,prevents omissions and incorrect input
– Conveys information by multiple visual means• Good GUI construction tools available, for example
– JAVA Language– J-Builder
![Page 4: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/4.jpg)
Idaho National Engineering and Environmental Laboratory
401-GA50
RELAP5-Related Input GUIs• Older GUIs
– ATHENA Aid– TROPIC
• Engineering Code Pre-Processor (ECPP)– For RETRAN only– Uses Microsoft Foundation Classes
• SNAP for RELAP5/Mod3.2– No 3D input– No input for special RELAP5-3D capabilities
![Page 5: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/5.jpg)
Idaho National Engineering and Environmental Laboratory
501-GA50
THUMB Purpose• Provide model builder for RELAP5-3D
– 3D input, special RELAP5-3D model input• Visual means of model construction• Reduce input file construction time• Convenience: reduce user need to memorize card
formats• Information: hyperlinks to manuals• Prevention: reduce card format errors and omissions
![Page 6: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/6.jpg)
Idaho National Engineering and Environmental Laboratory
601-GA50
THUMB Design Issues• Platform independent (via JAVA)• Native look and feel (JAVA)• Drag and drop input model construction• Data entry via menu/dialog• Object-oriented programming
– Faster, more efficient development– Reduced maintenance cost
![Page 7: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/7.jpg)
Idaho National Engineering and Environmental Laboratory
701-GA50
THUMB Prototype Is Partially Built• Three TH components are fully functional
– Pipe, single junction, time dependent volume– Not complete (e.g. no sequential expansion)
• Data handling by entry widgets– Lists all data– Flags required data– Catches illegal or omitted values.
• Saves and reopens model builder sessions• Constructs viable RELAP5-3D input files
![Page 8: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/8.jpg)
Idaho National Engineering and Environmental Laboratory
801-GA50
THUMB Main Level Screen
![Page 9: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/9.jpg)
Idaho National Engineering and Environmental Laboratory
901-GA50
THUMB Pipe Component Screen
![Page 10: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/10.jpg)
Idaho National Engineering and Environmental Laboratory
1001-GA50
THUMB Single Junction Screen
![Page 11: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/11.jpg)
Idaho National Engineering and Environmental Laboratory
1101-GA50
THUMB Time Dependent VolumeScreen
![Page 12: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/12.jpg)
Idaho National Engineering and Environmental Laboratory
1201-GA50
Miscellaneous Screens
![Page 13: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/13.jpg)
Idaho National Engineering and Environmental Laboratory
1301-GA50
Miscellaneous Slides
![Page 14: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/14.jpg)
Idaho National Engineering and Environmental Laboratory
1401-GA50
THUMB-created Input File forEdwards-O'Brien Blowdown
=edwards pipe problem
*
0000100 new transnt * Problem Type *?
0000102 si si * input units, output units * ?
*0000110 air * Noncondensable Gas * ?
*0000115 1.0 * Mass Fraction * ?
*
* Time Step Data *?
0000201 0.02 1.0E-7 0.0010 007 2 10 100
0000202 0.1 1.0E-7 0.0010 007 10 20 100
0000203 0.5 1.0E-7 0.0010 007 10 50 100
*
*
*---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1----
* Pipe Number: 3 Pipe Name: edwards
*---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1----
* Description: none
*---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1----
*
* W1 W2 W3 *?
30000 "edwards" pipe
30001 20 * Number of Cells *?
30101 0.00456037 20 * Pipe Flow Area *?
*30201 0.0 19 * Pipe Junction Flow Area *?
30301 0.204801 20 * Pipe Volume Length *?
![Page 15: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/15.jpg)
Idaho National Engineering and Environmental Laboratory
1501-GA50
Input File (Continued)30401 0.0 20 * Pipe Volume Volumes *?
*30501 0.0 20 * Pipe Volume Azimuthal Angle *?
30601 0.0 20 * Volume Inclination Angle *?
*30701 0.0 20 * Volume Elevation Change *?
30801 1.177911E-6 0.0 20 * wall roughness & hy dia *?
*30901 0.0 0.0 19 * FFEL Coefficient, RFEL Coefficient *?
31001 0000000 20 * Pipe Control Flags *?
31101 00000000 19 * Junction Control Flags *?
31201 000 7000000.0 978293.0 2581840.0 0.0 0.0 20 * Initial Conditions *?
31300 0 * Junct. Init. Control Word *
31301 0.0 0.0 0.0 19 * Junct. Init. Conditions *
*---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1----
* Single Junction Number: 4 Single Junction Name: rhtbdy
*---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1----
* Description: none
*---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1----
* W1 W2 W3 *?
40000 "rhtbdy" sngljun
40101 3010000 5000000 0.00396751 0.0 0.0 00000000 1.0 1.0 1.0
*40110 0.0 0.0 1.0 1.0 * Single-Junction Diameter and CCFL Data *?
*40111 0.0 0.0 0.0 0.0 * SingJunct Form Loss Data *?
*40113 0.0 0.0 0.0 0.0 * SingJun Face Placement *?
40201 0 0.0 0.0 0.0 * Initial Conditions *?
![Page 16: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/16.jpg)
Idaho National Engineering and Environmental Laboratory
1601-GA50
Input File (Continued)*---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1----
* Time Dependent Volume Number: 5 Time Dependent Volume Name: none
*---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1----
* Description: none
*---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1---- ----1----
*
* W1 W2 W3 *?
50000 "none" tmdpvol
50101 0.00456037 0.204801 0.0 0.0 0.0 0.0 1.177977E-6 0.0 0
50200 002 * tmdpvol Data Control Word *
50201 0.0 100000.0 1.0 100.0 100000.0 1.0 * Search Variable *
*
.end
![Page 17: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/17.jpg)
Idaho National Engineering and Environmental Laboratory
1701-GA50
THUMB Edwards Pipe Model Shownby RGUI
![Page 18: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/18.jpg)
Idaho National Engineering and Environmental Laboratory
1801-GA50
Manometer Problem• Two vertical lengths of pipe connected by horizontal
pipes at top and bottom• Workaround (no sequential expansion)
– Vertical pipes are modeled as 2 pipes each– Each upper pipe is initialized to all gas– Each lower pipe is initialized to all liquid
• Use of horizontal pipes for aesthetics only– Original RELAP5 model uses SJs instead– Then RGUI does not separate the vertical pipes
![Page 19: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/19.jpg)
Idaho National Engineering and Environmental Laboratory
1901-GA50
THUMB Manometer Shown by RGUI
![Page 20: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/20.jpg)
Idaho National Engineering and Environmental Laboratory
2001-GA50
THUMB Future Developments
• Finish major hydrodynamic components
– SV, TDJ, branch, valves
• Complete input capabilities of all components (e.g.sequential expansion)
• Add drag & drop model-construction feature
• Rewrite prototype as working product
![Page 21: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/21.jpg)
Idaho National Engineering and Environmental Laboratory
2101-GA50
PYGMALIONSteady-state Input File Builder
• Input to PYGI– RELAP5 input file and its restart-plot file– Command-line input directives
• Output– New RELAP5 input file with
• Final hydro conditions as initial conditions• Final values of control variable as initial values
– Screen summary (on “standard error”)• Information about the transcription process
![Page 22: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/22.jpg)
Idaho National Engineering and Environmental Laboratory
2201-GA50
PYGMALION GUI Screen
![Page 23: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/23.jpg)
Idaho National Engineering and Environmental Laboratory
2301-GA50
PYGMALION GUIAvailable through RGUI 3D-Station• Looks much line RELAP5 Run Settings Screen• User selects PYGMALION files and directives
– Input file, restart file, new input file• Find, browse, auto-rename features
– Can save and reopen sets of selections– On-line help
• Summary of PYGMALION goes on 3D-Station• Size of new input file is reported there also
![Page 24: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/24.jpg)
Idaho National Engineering and Environmental Laboratory
2401-GA50
PYGMALION Output on 3D-Station
![Page 25: RELAP5 Input Builder GUIs THUMB & PYGMALION](https://reader033.vdocuments.us/reader033/viewer/2022060918/6299a899d12bf30bb96f8e9c/html5/thumbnails/25.jpg)
Idaho National Engineering and Environmental Laboratory
2501-GA50
Summary
• There are two input model builder GUIs
• THUMB helps user build RELAP5 input files
• Three TH components are now available in THUMB
• THUMB prototype produces correct input decks
• PYGMALION has been equipped with a GUI