hemocell
Loading...
Searching...
No Matches
constantConversion.h
Go to the documentation of this file.
1/*
2This file is part of the HemoCell library
3
4HemoCell is developed and maintained by the Computational Science Lab
5in the University of Amsterdam. Any questions or remarks regarding this library
6can be sent to: info@hemocell.eu
7
8When using the HemoCell library in scientific work please cite the
9corresponding paper: https://doi.org/10.3389/fphys.2017.00563
10
11The HemoCell library is free software: you can redistribute it and/or
12modify it under the terms of the GNU Affero General Public License as
13published by the Free Software Foundation, either version 3 of the
14License, or (at your option) any later version.
15
16The library is distributed in the hope that it will be useful,
17but WITHOUT ANY WARRANTY; without even the implied warranty of
18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19GNU Affero General Public License for more details.
20
21You should have received a copy of the GNU Affero General Public License
22along with this program. If not, see <http://www.gnu.org/licenses/>.
23*/
24#ifndef HEMO_constantConversion_h
25#define HEMO_constantConversion_h
26//This class converses SI things to LBM things for classes like the HO model.
27#include "config.h"
28#include "constant_defaults.h"
29#include "multiBlock/multiDataField3D.h"
30
31namespace hemo {
32 class Parameters {
33
34 //Variables for the simulation
35 public:
36 static T dt,dx,dm,df;
37 static T nu_p,rho_p,kBT_p;
38 static T tau,re;
40 #ifdef FORCE_LIMIT
41 static T f_limit;
42 #endif
43 static T ef_lbm; //used in cellStretching
44 static T pipe_radius; //used for bodyforce calculation
45 static T tau_CEPAC; //From diffusion constant
46
47
48
49 static void lbm_pipe_parameters(Config & cfg, plb::MultiScalarField3D<int> * sf);
50 static void lbm_pipe_parameters(Config & cfg, int nY);
51 static void lbm_shear_parameters(Config & cfg, T nx);
52 static void lbm_LE_parameters(Config & cfg, T ny);
53 static void lbm_base_parameters(Config & cfg);
54 static void printParameters();
55 };
56}
57#endif
Definition config.h:58
Definition constantConversion.h:32
static void lbm_LE_parameters(Config &cfg, T ny)
static T shearrate_lbm
Definition constantConversion.h:39
static T kBT_lbm
Definition constantConversion.h:39
static T ef_lbm
Definition constantConversion.h:43
static void lbm_base_parameters(Config &cfg)
static T dm
Definition constantConversion.h:36
static T u_lbm_max
Definition constantConversion.h:39
static T nu_p
Definition constantConversion.h:37
static T dt
Definition constantConversion.h:36
static T pipe_radius
Definition constantConversion.h:44
static T df
Definition constantConversion.h:36
static T re
Definition constantConversion.h:38
static T tau
Definition constantConversion.h:38
static T kBT_p
Definition constantConversion.h:37
static T LE_force
Definition constantConversion.h:39
static T nu_lbm
Definition constantConversion.h:39
static T tau_CEPAC
Definition constantConversion.h:45
static T dx
Definition constantConversion.h:36
static T rho_p
Definition constantConversion.h:37
static void lbm_shear_parameters(Config &cfg, T nx)
static void printParameters()
static void lbm_pipe_parameters(Config &cfg, int nY)
static void lbm_pipe_parameters(Config &cfg, plb::MultiScalarField3D< int > *sf)
double T
Definition constant_defaults.h:118
Definition config.cpp:34