OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
fluidmaterialevaluator.h
Go to the documentation of this file.
1 /*
2  *
3  * ##### ##### ###### ###### ### ###
4  * ## ## ## ## ## ## ## ### ##
5  * ## ## ## ## #### #### ## # ##
6  * ## ## ## ## ## ## ## ##
7  * ## ## ## ## ## ## ## ##
8  * ##### ##### ## ###### ## ##
9  *
10  *
11  * OOFEM : Object Oriented Finite Element Code
12  *
13  * Copyright (C) 1993 - 2013 Borek Patzak
14  *
15  *
16  *
17  * Czech Technical University, Faculty of Civil Engineering,
18  * Department of Structural Mechanics, 166 29 Prague, Czech Republic
19  *
20  * This library is free software; you can redistribute it and/or
21  * modify it under the terms of the GNU Lesser General Public
22  * License as published by the Free Software Foundation; either
23  * version 2.1 of the License, or (at your option) any later version.
24  *
25  * This program is distributed in the hope that it will be useful,
26  * but WITHOUT ANY WARRANTY; without even the implied warranty of
27  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28  * Lesser General Public License for more details.
29  *
30  * You should have received a copy of the GNU Lesser General Public
31  * License along with this library; if not, write to the Free Software
32  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33  */
34 
35 #ifndef fluidmaterialevaluator_h
36 #define fluidmaterialevaluator_h
37 
38 #include "engngm.h"
39 
40 #include <fstream>
41 
43 
44 #define _IFT_FluidMaterialEvaluator_Name "fluidmaterialevaluator"
45 #define _IFT_FluidMaterialEvaluator_deltat "deltat"
46 #define _IFT_FluidMaterialEvaluator_numberOfTimeSteps "nsteps"
47 #define _IFT_FluidMaterialEvaluator_nDimensions "ndim"
48 #define _IFT_FluidMaterialEvaluator_componentFunctions "componentfunctions"
49 #define _IFT_FluidMaterialEvaluator_stressControl "stresscontrol"
50 #define _IFT_FluidMaterialEvaluator_volFunction "volfunction"
51 #define _IFT_FluidMaterialEvaluator_pressureControl "pressurecontrol"
52 #define _IFT_FluidMaterialEvaluator_outputVariables "vars"
53 
54 
55 namespace oofem {
56 class GaussPoint;
57 
70 {
71 protected:
72  double deltaT;
73 
74  int ndim;
79 
81 
82  std::vector< std :: unique_ptr< GaussPoint > >gps;
83 
84  std :: ofstream outfile;
85 
86 public:
87  FluidMaterialEvaluator(int i, EngngModel * _master = NULL);
88  virtual ~FluidMaterialEvaluator();
89 
91 
92  virtual void solveYourself();
93 
94  virtual int checkConsistency();
95  virtual void doStepOutput(TimeStep *tStep);
96  virtual TimeStep *giveNextStep();
97 
98  virtual const char *giveClassName() const { return "FluidMaterialEvaluator"; }
99  virtual const char *giveInputRecordName() const { return _IFT_FluidMaterialEvaluator_Name; }
100 };
101 } // end namespace oofem
102 
103 #endif // fluidmaterialevaluator_h
IntArray sControl
Time function controlling the volumetric/pressure part.
virtual int checkConsistency()
Allows programmer to test some receiver&#39;s internal data, before computation begins.
virtual const char * giveInputRecordName() const
For testing material behavior, particularly useful for multiscale modeling where one can test a singl...
std::vector< std::unique_ptr< GaussPoint > > gps
Class implementing an array of integers.
Definition: intarray.h:61
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description in input reader.
virtual const char * giveClassName() const
Returns class name of the receiver.
virtual TimeStep * giveNextStep()
Returns next time step (next to current step) of receiver.
#define _IFT_FluidMaterialEvaluator_Name
virtual void solveYourself()
Starts solution process.
virtual void doStepOutput(TimeStep *tStep)
Prints the ouput of the solution step (using virtual this->printOutputAtservice) to the stream detemi...
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
int volFunction
Time functions controlling each component of the deviatoric part of the stress.
Class representing the general Input Record.
Definition: inputrecord.h:101
FluidMaterialEvaluator(int i, EngngModel *_master=NULL)
Abstract base class representing the "problem" under consideration.
Definition: engngm.h:181
the oofem namespace is to define a context or scope in which all oofem names are defined.
IntArray cmpntFunctions
Number of spatial dimensions.
Class representing solution step.
Definition: timestep.h:80

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:28 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011