FreeCooling2DinWalls.cpp File Reference
#include <iostream>
#include <Species/LinearViscoelasticSpecies.h>
#include "Mercury2D.h"
#include "Walls/InfiniteWall.h"
#include <ctime>
#include <Boundaries/PeriodicBoundary.h>
#include <Boundaries/CubeInsertionBoundary.h>

Classes

class  FreeCooling2DinWalls
 todo{This code is not working as is wanted} More...
 

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )
71 {
72 
73  logger(INFO, "In this file 32^2 particles with the same velocity are placed "
74  "in a bi-axial box. This makes them collide with the walls and eachother. "
75  "Afterwards the same run is performed with hgrid on. It tests the working "
76  "(and speedup) of the hgrid.");
77 
79  problem.setName("FreeCooling2DinWalls");
80 
81  problem.N = 100;
82 
83  problem.setGravity(Vec3D(0.0, 0.0, 0.0));
84  problem.setTimeStep(5e-5);
85  problem.setSaveCount(2000);
86  problem.setTimeMax(1000.0);
87  problem.setMax({0.01, 0.01, 0.0});
88 
89 
90  problem.setHGridMaxLevels(1);
91  problem.setHGridCellOverSizeRatio(1.2);
92  problem.setHGridUpdateEachTimeStep(false);
93  problem.setFileType(FileType::ONE_FILE);
94  //problem.setParticlesWriteVTK(true);
95  //problem.wallHandler.setWriteVTK(true);
96 
97  problem.solve();
98  return 0;
99 }
Array< double, 1, 3 > e(1./3., 0.5, 2.)
@ ONE_FILE
all data will be written into/ read from a single file called name_
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
todo{This code is not working as is wanted}
Definition: FreeCooling2DinWalls.cpp:21
Definition: Kernel/Math/Vector.h:30
#define INFO(i)
Definition: mumps_solver.h:54
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References e(), INFO, logger, ONE_FILE, and problem.