50 void write(std::ostream& os,
bool writeAllParticles =
false)
const override;
69 if (funfr_ < 0.0 || funfr_ > 1.0)
71 logger(
WARN,
"Filling Ratio is below 0 or above 1, default value of 0.33 is used!");
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
Creates chutes with different bottoms. Inherits from Mercury3D (-> MercuryBase -> DPMBase).
Definition: Chute.h:65
ReadOptions
Definition: DPMBase.h:254
double get_funD() const
Get minimum funnel diameter:
Definition: Funnel.h:119
void set_funrmax(double funrmax_)
Definition: Funnel.h:129
void cleanChute()
Here we define the outflow.
Definition: Funnel.cc:346
double funr
Definition: Funnel.h:156
double get_funH() const
Get funnel Heigth:
Definition: Funnel.h:107
double funO[2]
Definition: Funnel.h:157
double get_funOx() const
Definition: Funnel.h:92
virtual void create_inflow_particle()
Sets variable values for particles that are created at the inflow.
Definition: Funnel.cc:94
const double * get_funO() const
Get funnel origin of the funnel:
Definition: Funnel.h:90
double get_funa() const
Get funnel angle:
Definition: Funnel.h:104
void read(std::istream &is, ReadOptions opt=ReadOptions::ReadAll) override
This function reads all funnel data.
Definition: Funnel.cc:80
double funD
Definition: Funnel.h:161
double funHf
Definition: Funnel.h:160
virtual void create_funnel()
Create the funnel.
Definition: Funnel.cc:159
double funnz
Definition: Funnel.h:162
virtual void setupInitialConditions() override
initialise particle position, velocity, radius
Definition: Funnel.cc:137
double get_fundiag() const
Definition: Funnel.h:96
void set_funH(double funH_)
Set funnel Heigth:
Definition: Funnel.h:127
double funa
Definition: Funnel.h:158
double fundiag
Definition: Funnel.h:164
virtual void update_funnel()
Updates the parameters for the funnel;.
Definition: Funnel.cc:262
double get_funOy() const
Definition: Funnel.h:94
void set_fundiag(double fundiag_)
Definition: Funnel.h:131
double funfr
Definition: Funnel.h:163
double get_funr()
Get funnel radius:
Definition: Funnel.h:83
void set_funa(double funa_)
Set funnel angle:
Definition: Funnel.h:101
double get_funrmax() const
Definition: Funnel.h:98
virtual void check_funnel()
Check the funnel parameters.
Definition: Funnel.cc:279
void set_funO(double x, double y)
Set funnel origin of the funnel:
Definition: Funnel.h:86
double funH
Definition: Funnel.h:159
virtual bool readNextArgument(int &i, int argc, char *argv[]) override
Interprets the i^th command-line argument.
Definition: Funnel.cc:373
void set_funr(double funr_)
Set funnel radius:
Definition: Funnel.h:134
double get_funnz() const
Get the funnel number of particles along the funnel heigth:
Definition: Funnel.h:65
void setName_()
Definition: Funnel.cc:424
virtual void create_walls()
Create or update the walls.
Definition: Funnel.cc:317
double funrmax
Definition: Funnel.h:165
void set_funD(double funD_)
Set minimum funnel diameter:
Definition: Funnel.h:116
Funnel()
This is the default constructor. All it does is set sensible defaults.
Definition: Funnel.h:42
double get_funHf() const
Get falling heigth:
Definition: Funnel.h:113
void set_funfr(double funfr_)
Set the filling ratio.
Definition: Funnel.h:68
void set_funHf(double funHf_)
Set falling heigth:
Definition: Funnel.h:110
void set_funO(double *x)
Definition: Funnel.h:87
SphericalParticle inflowParticle_
Definition: Funnel.h:124
void write(std::ostream &os, bool writeAllParticles=false) const override
This function prints all funnel data in human readable format.
Definition: Funnel.cc:45
void constructor()
This is the actual constructor.
Definition: Funnel.cc:32
void set_funnz(double funnz_)
Set funnel number of particles along the funnel heigth:
Definition: Funnel.h:62
double get_funfr() const
Get the filling ratio.
Definition: Funnel.h:80
A spherical particle is the most simple particle used in MercuryDPM.
Definition: SphericalParticle.h:37
const Mdouble pi
Definition: ExtendedMath.h:45
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51