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.
pfem_application_variables.h
Go to the documentation of this file.
1 //--------------------------------------------------------
2 // ___ __ .
3 // KRATOS | _ \/ _|___ _ __ .
4 // | _/ _/ -_) ' \ .
5 // |_| |_| \___|_|_|_| APPLICATION .
6 // .
7 // License:(BSD) PfemApplication/license.txt .
8 // Main authors: Josep Maria Carbonell .
9 // .. .
10 //--------------------------------------------------------
11 //
12 // Project Name: KratosPfemApplication $
13 // Created by: $Author: JMCarbonell $
14 // Last modified by: $Co-Author: $
15 // Date: $Date: May 2018 $
16 // Revision: $Revision: 0.0 $
17 //
18 //
19 
20 #if !defined(KRATOS_PFEM_APPLICATION_VARIABLES_H_INCLUDED )
21 #define KRATOS_PFEM_APPLICATION_VARIABLES_H_INCLUDED
22 
23 // System includes
24 
25 // External includes
26 
27 // Project includes
28 #include "includes/cfd_variables.h"
29 #include "includes/kratos_flags.h"
30 
33 
34 namespace Kratos
35 {
39 
40  typedef PointerVectorSet<Properties, IndexedObject> PropertiesContainerType;
41  typedef typename PropertiesContainerType::Pointer PropertiesContainerPointerType;
42 
45 
46  //Define Variables
47  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, double, FLUID_PRESSURE )
48  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, double, FLUID_PRESSURE_VELOCITY )
49  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, double, FLUID_PRESSURE_ACCELERATION )
50  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, double, FLUID_PRESSURE_REACTION )
51  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, double, VOLUME_WEAR )
52 
53  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, PropertiesContainerPointerType, PROPERTIES_VECTOR )
54  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, Vector, MATERIAL_PERCENTAGE )
55 
56  //Adaptive time step (review needed)
57  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, double, INITIAL_DELTA_TIME )
58  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, double, CURRENT_DELTA_TIME )
59  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, bool, TIME_INTERVAL_CHANGED )
60  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, bool, BAD_VELOCITY_CONVERGENCE )
61  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, bool, BAD_PRESSURE_CONVERGENCE )
62 
63  //Material variables
64  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, double, WEAR_COEFFICIENT )
65  KRATOS_DEFINE_APPLICATION_VARIABLE( PFEM_APPLICATION, double, INDENTATION_HARDNESS )
66 
67 
68 
69 
70 
71 }
72 
73 #endif // KRATOS_PFEM_APPLICATION_VARIABLES_H_INCLUDED defined
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KRATOS_DEFINE_APPLICATION_VARIABLE(CHIMERA_APPLICATION, double, CHIMERA_DISTANCE)
Internals::Matrix< double, AMatrix::dynamic, 1 > Vector
Definition: amatrix_interface.h:472
PointerVectorSet< Properties, IndexedObject > PropertiesContainerType
Definition: pfem_application_variables.cpp:18
PropertiesContainerType::Pointer PropertiesContainerPointerType
Definition: pfem_application_variables.cpp:19