~esys-p-dev/esys-particle/esys-darcy

« back to all changes in this revision

Viewing changes to Fields/VectorFluidFieldSlave.h

  • Committer: Qi Shao
  • Date: 2017-08-22 01:18:11 UTC
  • mfrom: (1179.1.4 ESyS-Darcy_clean)
  • Revision ID: q.shao@uq.edu.au-20170822011811-aq63qj2swi99l7w4
Added fluid phase and its forces on solid particles. Flows of fluid are calculated according to the Darcy's Law. The coupling of fluid and DEM is based on the poro-elastic theory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/////////////////////////////////////////////////////////////
 
2
//                                                         //
 
3
// Copyright (c) 2003-2014 by The University of Queensland //
 
4
// Centre for Geoscience Computing                         //
 
5
// http://earth.uq.edu.au/centre-geoscience-computing      //
 
6
//                                                         //
 
7
// Primary Business: Brisbane, Queensland, Australia       //
 
8
// Licensed under the Open Software License version 3.0    //
 
9
// http://www.apache.org/licenses/LICENSE-2.0          //
 
10
//                                                         //
 
11
/////////////////////////////////////////////////////////////
 
12
 
 
13
#ifndef __VECTOR_FLUID_FIELD_SLAVE_H
 
14
#define __VECTOR_FLUID_FIELD_SLAVE_H
 
15
 
 
16
// -- project includes --
 
17
#include "FieldSlave.h"
 
18
#include "Model/FluidCell.h"
 
19
 
 
20
template <class T> class ParallelParticleArray;
 
21
class TML_Comm;
 
22
 
 
23
/*!
 
24
  \class VectorFluidFieldSlave
 
25
  \brief class for slave part of vector field defined on the fluid cells
 
26
 
 
27
  \author Qi Shao
 
28
  $Revision$
 
29
  $Date$
 
30
*/
 
31
template <typename T>
 
32
class VectorFluidFieldSlave : public AFieldSlave
 
33
{
 
34
 private:
 
35
 
 
36
 protected: 
 
37
  CFluidCell::VectorFieldFunction m_rdf;
 
38
  ParallelParticleArray<T>* m_ppa;
 
39
 
 
40
 public:
 
41
  VectorFluidFieldSlave(TML_Comm*,ParallelParticleArray<T>*,CFluidCell::VectorFieldFunction);
 
42
  virtual void sendData();
 
43
};
 
44
 
 
45
#include "VectorFluidFieldSlave.hpp"
 
46
 
 
47
#endif //__SCALAR_FLUID_FIELD_SLAVE_H