Page 291 - TransAT_Tutorial_Manual
P. 291

TransAT Tutorial Manual                                                   7.1. Oilseparation



               Initial conditions
                  It is necessary to initialise the simulation, in order to give the initial location of the different
               phases. 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 the reference folder (oil separation in Tutorials).

                   • Copy the file initialconditions.cxx from the subfolder Tutorials/8.1 - oil separation of the
                     Tutorials/Documents/TransAT5.7 folder to the 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 this tab the parameters of the outputs of the simulation will be 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

                     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
                       V−Velocity    : ON
                     Material Properties
                       Density : ON
                       Viscosity : ON

                     Geometry :






                c 
Ascomp AG Switzerland                    281                                  Version 5.7
   286   287   288   289   290   291   292   293   294   295   296