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

« back to all changes in this revision

Viewing changes to Python/esys/lsm/FluidFieldSaverPrmsPy.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
 
 
14
#ifndef ESYS_LSMFLUIDFIELDSAVERPRMSPY_H
 
15
#define ESYS_LSMFLUIDFIELDSAVERPRMSPY_H
 
16
 
 
17
#include "Python/esys/lsm/FieldSaverPrmsPy.h"
 
18
 
 
19
//--- STL includes ---
 
20
#include <string>
 
21
 
 
22
//--- Boost includes ---
 
23
#include <boost/python.hpp>
 
24
 
 
25
namespace esys
 
26
{
 
27
  namespace lsm
 
28
  {
 
29
 
 
30
    class FluidScalarFieldSaverPrmsPy : public FieldSaverPrmsPy
 
31
    {
 
32
    public:
 
33
      FluidScalarFieldSaverPrmsPy(
 
34
        const std::string &fieldName,
 
35
        const std::string &fileName,
 
36
        const std::string &fileFormat,
 
37
        int beginTimeStep,
 
38
        int endTimeStep,
 
39
        int timeStepIncr
 
40
      );
 
41
    };
 
42
 
 
43
    class FluidVectorFieldSaverPrmsPy : public FieldSaverPrmsPy
 
44
    {
 
45
    public:
 
46
      FluidVectorFieldSaverPrmsPy(
 
47
        const std::string &fieldName,
 
48
        const std::string &fileName,
 
49
        const std::string &fileFormat,
 
50
        int beginTimeStep,
 
51
        int endTimeStep,
 
52
        int timeStepIncr
 
53
      );
 
54
    };
 
55
 
 
56
    void exportFluidFieldSaverPrms();
 
57
  } // namespace lsm
 
58
} // namespace esys
 
59
 
 
60
#endif