Page 194 - TransAT_Tutorial_Manual
P. 194

TransAT Tutorial Manual                                                        4.5. Spillway



               phases. In this example water is located at the entrance part of the domain between the inlet
               and pipe spillway. In the Initial Conditions tab, the initial conditions for the simulation are
               set. In this tutorial advanced initial conditions are used.


























                                          Figure 4.29: Spillway: Initial Conditions

                   The initial velocity can be defined in a C++ file initialconditions.cxx. A template of an
               initial condition file can be found in the reference folder (spillway in Tutorials folder).

                   • Copy the file initialconditions.cxx from the subfolder Tutorials/4.5 - spillway of the
                     Public/Documents/TransAT5.7 folder to your project folder.



                   • Select Advanced Initial Conditions
                   • Click    to compile the initial conditions. This step is optional and only checks that
                     the initialcondition.cxx file is written properly and can be compiled. The flow field will be
                     initialised later in the Execute window.


               Output Management
                  In the Output Management tab, the parameters of the outputs of the simulation are set. In
               this example, only the visualization output will be defined.

                   • Click Output Management on the left-hand side of the TransATUI

                   • Set the Output File Format and Frequency of output files from Iteration / timestep
                     number as follows






                c 
Ascomp AG Switzerland                    184                                  Version 5.7
   189   190   191   192   193   194   195   196   197   198   199