KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
dem_variables.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ \.
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Pooyan Dadvand
11 //
12 
13 #if !defined(KRATOS_DEM_VARIABLES_H_INCLUDED )
14 #define KRATOS_DEM_VARIABLES_H_INCLUDED
15 
16 // System includes
17 
18 // External includes
19 
20 // Project includes
21 #include "includes/define.h"
22 #include "containers/variable.h"
25 #include "containers/array_1d.h"
26 
27 #undef KRATOS_EXPORT_MACRO
28 #define KRATOS_EXPORT_MACRO KRATOS_API
29 
30 //TODO: move to the Kratos DEMApplication or eventually to the FluidDynamicsAsNeeded
31 namespace Kratos
32 {
33  //for DEM Application:
34  KRATOS_DEFINE_VARIABLE( int, FRAME_OF_REFERENCE_TYPE )
35  KRATOS_DEFINE_VARIABLE( double, PARTICLE_MASS )
36  KRATOS_DEFINE_VARIABLE( double, RADIUS )
37  KRATOS_DEFINE_VARIABLE( double, SEARCH_RADIUS_INCREMENT )
38  KRATOS_DEFINE_VARIABLE( double, SEARCH_RADIUS_INCREMENT_FOR_WALLS )
39  KRATOS_DEFINE_VARIABLE( double, DEM_DELTA_TIME )
43 
44  KRATOS_DEFINE_VARIABLE( Vector, NEIGHBOURS_IDS_DOUBLE )
45  KRATOS_DEFINE_VARIABLE( DenseVector<double>, BASSET_HISTORIC_INTEGRANDS )
46  KRATOS_DEFINE_VARIABLE( DenseVector<double>, HINSBERG_TAIL_CONTRIBUTIONS )
47  KRATOS_DEFINE_VARIABLE( Vector, PARTICLE_ROTATE_SPRING_FAILURE_TYPE )
48 
49  KRATOS_DEFINE_VARIABLE( DenseVector<int>, OLD_NEIGHBOURS_IDS )
50  KRATOS_DEFINE_VARIABLE( DenseVector<int>, INI_NEIGHBOURS_IDS )
51  KRATOS_DEFINE_VARIABLE( DenseVector<int>, CONTINUUM_INI_NEIGHBOURS_IDS )
52  KRATOS_DEFINE_VARIABLE( DenseVector<int>, NEIGHBOURS_IDS )
53  KRATOS_DEFINE_VARIABLE( DenseVector<int>, PARTICLE_INITIAL_FAILURE_ID )
54  KRATOS_DEFINE_VARIABLE( DenseVector<int>, CONTINUUM_PARTICLE_INITIAL_FAILURE_ID )
55 
56  KRATOS_DEFINE_VARIABLE( int, FIXED_MESH_OPTION)
57  KRATOS_DEFINE_VARIABLE( int, PARTICLE_MATERIAL )
58 
59  KRATOS_DEFINE_VARIABLE( std::string, ELEMENT_TYPE )
60 
62  KRATOS_DEFINE_VARIABLE( VectorArray3Double, PARTICLE_ROTATE_SPRING_MOMENT )
63 
64  // Swimming DEM Application BEGINNING
65  KRATOS_DEFINE_VARIABLE( Matrix, PERMEABILITY)
66  KRATOS_DEFINE_VARIABLE( int, NUMBER_OF_INIT_BASSET_STEPS )
67  KRATOS_DEFINE_VARIABLE( int, COUPLING_TYPE)
68  KRATOS_DEFINE_VARIABLE( int, NON_NEWTONIAN_OPTION )
69  KRATOS_DEFINE_VARIABLE( int, MANUALLY_IMPOSED_DRAG_LAW_OPTION )
70  KRATOS_DEFINE_VARIABLE( int, DRAG_MODIFIER_TYPE )
71  KRATOS_DEFINE_VARIABLE( int, BUOYANCY_FORCE_TYPE )
72  KRATOS_DEFINE_VARIABLE( int, DRAG_FORCE_TYPE )
73  KRATOS_DEFINE_VARIABLE( int, VIRTUAL_MASS_FORCE_TYPE )
74  KRATOS_DEFINE_VARIABLE( int, BASSET_FORCE_TYPE )
75  KRATOS_DEFINE_VARIABLE( int, LIFT_FORCE_TYPE )
76  KRATOS_DEFINE_VARIABLE( int, MAGNUS_FORCE_TYPE )
77  KRATOS_DEFINE_VARIABLE( int, HYDRO_TORQUE_TYPE )
78  KRATOS_DEFINE_VARIABLE( int, FLUID_MODEL_TYPE )
79  KRATOS_DEFINE_VARIABLE( int, DRAG_POROSITY_CORRECTION_TYPE )
80  KRATOS_DEFINE_VARIABLE( int, TIME_STEPS_PER_QUADRATURE_STEP )
81  KRATOS_DEFINE_VARIABLE( int, QUADRATURE_ORDER )
82  KRATOS_DEFINE_VARIABLE( int, CURRENT_COMPONENT )
83  KRATOS_DEFINE_VARIABLE( double, POWER_LAW_TOLERANCE )
84  KRATOS_DEFINE_VARIABLE( double, PARTICLE_SPHERICITY )
85  KRATOS_DEFINE_VARIABLE( double, INIT_DRAG_FORCE )
86  KRATOS_DEFINE_VARIABLE( double, DRAG_LAW_SLOPE )
87  KRATOS_DEFINE_VARIABLE( double, DISPERSE_FRACTION )
88  KRATOS_DEFINE_VARIABLE( double, DISPERSE_FRACTION_RATE )
89  KRATOS_DEFINE_VARIABLE( double, FLUID_FRACTION )
90  KRATOS_DEFINE_VARIABLE( double, FLUID_FRACTION_OLD )
91  KRATOS_DEFINE_VARIABLE( double, FLUID_FRACTION_RATE )
92  KRATOS_DEFINE_VARIABLE( double, PHASE_FRACTION )
93  KRATOS_DEFINE_VARIABLE( double, PHASE_FRACTION_RATE )
94  KRATOS_DEFINE_VARIABLE( double, FLUID_FRACTION_FILTERED )
95  KRATOS_DEFINE_VARIABLE( double, DISPERSE_FRACTION_PROJECTED )
96  KRATOS_DEFINE_VARIABLE( double, FLUID_FRACTION_PROJECTED )
97  KRATOS_DEFINE_VARIABLE( double, FLUID_DENSITY_PROJECTED )
98  KRATOS_DEFINE_VARIABLE( double, FLUID_VISCOSITY_PROJECTED )
99  KRATOS_DEFINE_VARIABLE( double, REYNOLDS_NUMBER )
100  KRATOS_DEFINE_VARIABLE( double, DRAG_COEFFICIENT )
101  KRATOS_DEFINE_VARIABLE( double, SHEAR_RATE_PROJECTED )
102  KRATOS_DEFINE_VARIABLE( double, DELTA_TIME_QUADRATURE )
103  KRATOS_DEFINE_VARIABLE( double, LAST_TIME_APPENDING )
104  KRATOS_DEFINE_VARIABLE( double, TIME_AVERAGED_DOUBLE )
107  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( ACCELERATION_MOVING_FRAME_ORIGIN )
108  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( ANGULAR_VELOCITY_MOVING_FRAME)
109  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( ANGULAR_VELOCITY_MOVING_FRAME_OLD)
110  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( ANGULAR_ACCELERATION_MOVING_FRAME)
113  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( ADDITIONAL_FORCE_OLD )
114  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( ADDITIONAL_FORCE_OLD_OLD )
115  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( HYDRODYNAMIC_FORCE )
116  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( HYDRODYNAMIC_MOMENT )
117  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( FLUID_VEL_PROJECTED )
118  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( FLUID_VEL_PROJECTED_RATE )
119  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( FLUID_VEL_LAPL_PROJECTED )
120  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( FLUID_VEL_LAPL_RATE_PROJECTED )
121  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( FLUID_ACCEL_PROJECTED )
122  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( FLUID_ACCEL_FOLLOWING_PARTICLE_PROJECTED )
123  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( MATERIAL_FLUID_ACCEL_PROJECTED )
124  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( FLUID_VORTICITY_PROJECTED )
125  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( PARTICLE_VEL_FILTERED )
126  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( HYDRODYNAMIC_REACTION )
127  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( MEAN_HYDRODYNAMIC_REACTION )
130  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( VIRTUAL_MASS_FORCE )
132  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( EXTERNAL_APPLIED_FORCE )
133  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( EXTERNAL_APPLIED_MOMENT )
135  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( PRESSURE_GRADIENT )
136  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( PRESSURE_GRAD_PROJECTED )
137  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( DISPERSE_FRACTION_GRADIENT )
138  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( DISPERSE_FRACTION_GRADIENT_PROJECTED )
139  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( FLUID_FRACTION_GRADIENT )
140  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( FLUID_FRACTION_GRADIENT_PROJECTED )
141  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( PHASE_FRACTION_GRADIENT )
142  KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS( TIME_AVERAGED_ARRAY_3 )
143 
144  // Swimming DEM Application END
145 
146  // Nano-particle only BEGIN
147  KRATOS_DEFINE_VARIABLE(double, CATION_CONCENTRATION)
148  // Nano-particle only END
149 
150  //SINTERING VARIABLES
151  KRATOS_DEFINE_VARIABLE( double, ATOMIC_VOLUME )
152  KRATOS_DEFINE_VARIABLE( double, SURFACE_ENERGY )
153  KRATOS_DEFINE_VARIABLE( double, DIHEDRAL_ANGLE )
154  KRATOS_DEFINE_VARIABLE( double, SINTERING_START_TEMPERATURE )
155  KRATOS_DEFINE_VARIABLE( double, RELAXATION_TIME )
156  KRATOS_DEFINE_VARIABLE( double, LARGE_VISCOSITY_COEFFICIENT )
157  KRATOS_DEFINE_VARIABLE( double, PRE_EXP_DIFFUSION_COEFFICIENT )
158  KRATOS_DEFINE_VARIABLE( double, GB_WIDTH )
159  KRATOS_DEFINE_VARIABLE( double, ENTHAPLY_ACTIVATION )
161 } // namespace Kratos.
162 
163 #undef KRATOS_EXPORT_MACRO
164 #define KRATOS_EXPORT_MACRO KRATOS_NO_EXPORT
165 
166 #endif // KRATOS_DEM_VARIABLES_H_INCLUDED defined
Definition: amatrix_interface.h:41
Short class definition.
Definition: array_1d.h:61
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Internals::Matrix< double, AMatrix::dynamic, 1 > Vector
Definition: amatrix_interface.h:472
KRATOS_DEFINE_3D_VARIABLE_WITH_COMPONENTS(MESH_DISPLACEMENT)
KRATOS_DEFINE_VARIABLE(Vector, BIOT_STRAIN_VECTOR)