SMS:ADH Run Model: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{SMS_Dev}}
__NOINDEX__
 
{{SMS Deprecated Feature}}
To access the ADH model wrapper, select the ''ADH'' | '''Run Model''' menu item.
To access the ADH model wrapper, select the ''ADH'' | '''Run Model''' menu item.


If the simulation has been changed and not yet saved, you will be prompted to do so before running the model. You will also be prompted to locate the Pre-ADH and ADH executables prior to running each if SMS does not know the location or find the executable. Model executable locations can be managed in on the ''File Locations'' tab of the [[SMS:Preferences| ''Preferences'' dialog]], accessed from the ''Edit'' | '''Preferences...''' menu item.
If the simulation has been changed and not yet saved, a prompt will appear to do so before running the model. A prompt will also appear asking to locate the Pre-ADH and ADH executables prior to running each if SMS does not know the location or find the executable. Model executable locations can be managed in on the ''File Locations'' tab of the [[SMS:Preferences| ''Preferences'' dialog]], accessed from the ''Edit'' | '''Preferences...''' menu item.


Pre-ADH takes the simulation input files (*.3dm, *.bc, and *.hot), performs some checks and creates the *.adh model input file. ADH reads the model input file, performs calculations and writes solution files (*.dat).
Pre-ADH takes the simulation input files (*.3dm, *.bc, and *.hot), performs some checks and creates the *.adh model input file. ADH reads the model input file, performs calculations and writes solution files (*.dat).
 
<blockquote style="margin-top:0px; margin-bottom:0px;">
 
{| style="text-align:center"
{| style="text-align:center"
| width="160" | '''Simulation Input''' || rowspan=4 | [[Image:Right arrow.png | 30px]] || width="90" rowspan=4 style="border:2px solid black;background:#efefef;" | '''Pre-ADH''' || rowspan=4 | [[Image:Right arrow.png | 30px]] || width="80" | '''Model Input''' || rowspan=4 | [[Image:Right arrow.png | 30px]] || width="90" rowspan=4 style="border:2px solid black;background:#efefef;" |  '''ADH''' || rowspan=4 | [[Image:Right arrow.png | 30px]] || width="120" | '''Solution Output'''
| width="160" | '''Simulation Input''' || rowspan=4 | [[Image:Right arrow.png | 30px]] || width="90" rowspan=4 style="border:2px solid black;background:#efefef;" | '''Pre-ADH''' || rowspan=4 | [[Image:Right arrow.png | 30px]] || width="80" | '''Model Input''' || rowspan=4 | [[Image:Right arrow.png | 30px]] || width="90" rowspan=4 style="border:2px solid black;background:#efefef;" |  '''ADH''' || rowspan=4 | [[Image:Right arrow.png | 30px]] || width="120" | '''Solution Output'''
Line 18: Line 17:
|-
|-
|}
|}
 
</blockquote>
 
If Pre-ADH is not successful (the *.adh file is not written) then SMS will not allow ADH to be executed. Upon completion of ADH, the solution files can be automatically loaded into SMS or opened manually.
If Pre-ADH is not successful (the *.adh file is not written) then SMS will not allow ADH to be executed. Upon completion of ADH, the solution files can be automatically loaded into SMS or opened manually.


== Dialog Description ==
== Dialog Description ==
=== Progress ===
=== Progress ===


Line 40: Line 37:
''Load Solution'' check box is available only for ADH and is enabled upon successful completion of ADH. Check this option to automatically load the solution datasets into SMS.
''Load Solution'' check box is available only for ADH and is enabled upon successful completion of ADH. Check this option to automatically load the solution datasets into SMS.


''Abort'' / ''Run ADH'' / ''Exit'' button controls the progress of the model wrapper.
'''Abort''' / '''Run ADH''' / '''Exit''' button controls the progress of the model wrapper.
 
{|-
|[[File:PreADH.png|thumb|400 px| The Pre-ADH model run dialog]]
|[[File:ADH Run.png|thumb|400 px|The ADH model run dialog]]
|}


==Related Topics==
==Related Topics==
Line 47: Line 49:


{{Template:Navbox SMS}}
{{Template:Navbox SMS}}
[[Category:SMS_Dev]]
[[Category:ADH|R]]
[[Category:ADH|R]]
[[Category:ADH Dialogs|R]]
[[Category:Needs Update]]

Latest revision as of 20:13, 11 September 2023

To access the ADH model wrapper, select the ADH | Run Model menu item.

If the simulation has been changed and not yet saved, a prompt will appear to do so before running the model. A prompt will also appear asking to locate the Pre-ADH and ADH executables prior to running each if SMS does not know the location or find the executable. Model executable locations can be managed in on the File Locations tab of the Preferences dialog, accessed from the Edit | Preferences... menu item.

Pre-ADH takes the simulation input files (*.3dm, *.bc, and *.hot), performs some checks and creates the *.adh model input file. ADH reads the model input file, performs calculations and writes solution files (*.dat).

Simulation Input Right arrow.png Pre-ADH Right arrow.png Model Input Right arrow.png ADH Right arrow.png Solution Output
Geometry (*.3dm) ADH Input Solution Datasets
Boundary Condition (*.bc) (*.adh) (*.dat)
Hot Start (*.hot)

If Pre-ADH is not successful (the *.adh file is not written) then SMS will not allow ADH to be executed. Upon completion of ADH, the solution files can be automatically loaded into SMS or opened manually.

Dialog Description

Progress

Status line is blank for Pre-ADH and provides time step computation information for ADH.

Progress bar and text shows the percentage of completion.

Run Time displays the time since starting the executable. This is updated when the progress is updated.

Output

Pre-ADH Output or ADH Output field displays the last 1000 lines of commentary given by the running executable.

Output Text To File allows all commentary provided by the executable to be saved to a text file (*.txt). This button is enabled upon completion of the executable.

Load Solution check box is available only for ADH and is enabled upon successful completion of ADH. Check this option to automatically load the solution datasets into SMS.

Abort / Run ADH / Exit button controls the progress of the model wrapper.

The Pre-ADH model run dialog
The ADH model run dialog

Related Topics

ADH