granularJet.cpp File Reference
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cmath>
#include "ChuteWithHopper.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <Species/LinearViscoelasticFrictionSpecies.h>
#include <cstring>

Classes

class  GranularJet
 

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)
77 {
79 
80  // Particle properties
81  problem.setSilbert();
82  // Problem parameters
83  problem.setName("GranularJet");
84 
85  //Corrections
86  problem.setRoughBottomType(MONOLAYER_DISORDERED);
87 
88  // Chute properties
89  problem.setChuteAngle(20);
90  problem.setChuteLength(700 * .25); //700=40cm
91  problem.setChuteWidth(400 * .25); //400=24cm
92  problem.setMaxFailed(6);
93  problem.makeChutePeriodic();
94  problem.setHopperDimension(2);
95  problem.setHopperLift(200); //250=15cm
96  Mdouble exitHeight = 25;
97  Mdouble exitLength = 3.0 * exitHeight;
98  Mdouble hopperAngle = 45.0;
99  Mdouble hopperLength = 4.0 * exitLength;
100  Mdouble hopperHeight = hopperLength;
101  problem.setHopper(exitLength, exitHeight, hopperAngle, hopperLength, hopperHeight);
102  problem.setZMax(200);
103 
104  problem.dataFile.setFileType(FileType::NO_FILE);
105  problem.fStatFile.setFileType(FileType::NO_FILE);
106  problem.restartFile.setFileType(FileType::MULTIPLE_FILES_PADDED);
107 
108  //solve
109  problem.readArguments(argc, argv);
110  problem.solve();
111 }
@ MONOLAYER_DISORDERED
Definition: Chute.h:32
@ MULTIPLE_FILES_PADDED
each time-step will be written into/read from separate files numbered consecutively,...
@ NO_FILE
file will not be created/read
Definition: granular_jet_thomas.cpp:17
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References MONOLAYER_DISORDERED, MULTIPLE_FILES_PADDED, NO_FILE, and problem.