Page 307 - TransAT_Tutorial_Manual
P. 307

TransAT Tutorial Manual                                                    7.2. coupling slug



               Initial conditions
                  In the Initial Conditions tab, the initial conditions for the simulation are set. In this tutorial
               advanced initial conditions are used.

                   The initial velocity can be defined in a C++ file initialconditions.cxx. A template of an
               initial condition file can be found in in the reference folder (Tutorials/coupling slugs in TransAT
               installation folder). For the simulation, a ready-made initial conditions file will be used.

                   • Copy the file initial conditions file initialconditions.cxx from the sub-folder Tutorials/8.2 -
                     coupling slugs of the Public/Documents/TransAT5.7 folder to the project folder.

               To initialise the variables in the domain,

                   • 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
                  The Output Management tab is used to define the output of the simulation, in particular the
               format of the visualization files, the variables to be output, as well as the frequency of generation
               of the output.

                   • 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

                     Output F i l e Format : Paraview
                     Frequency of output f i l e s  : 100



                   • Click                  to select the variables for which data is to be saved
                   • Activate the following variables in the Output Variables window then click  to save the
                     settings and close the window

                     Primary v a r i a b l e s :
                       Pressure      : ON
                       U−Velocity    : ON
                       W−Velocity    : ON
                       Temperature : ON

                     Material Properties






                c 
Ascomp AG Switzerland                    297                                  Version 5.7
   302   303   304   305   306   307   308   309   310   311   312