OOFEM 3.0
Loading...
Searching...
No Matches
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 - 2025 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"
54
55namespace oofem {
56class GaussPoint;
57
70{
71protected:
72 double deltaT = 1.;
73
74 int ndim = 3;
76 int volFunction = 0;
78 bool pressureControl = false;
79
81
82 std::vector< std :: unique_ptr< GaussPoint > >gps;
83
84 std :: ofstream outfile;
85
86public:
87 FluidMaterialEvaluator(int i, EngngModel * _master = nullptr);
88
89 void initializeFrom(InputRecord &ir) override;
90
91 void solveYourself() override;
92
93 int checkConsistency() override;
94 void doStepOutput(TimeStep *tStep) override;
95 TimeStep *giveNextStep() override;
96
97 const char *giveClassName() const override { return "FluidMaterialEvaluator"; }
99};
100} // end namespace oofem
101
102#endif // fluidmaterialevaluator_h
EngngModel(int i, EngngModel *_master=NULL)
Definition engngm.C:99
IntArray cmpntFunctions
Number of spatial dimensions.
const char * giveClassName() const override
Returns class name of the receiver.
void initializeFrom(InputRecord &ir) override
TimeStep * giveNextStep() override
Returns next time step (next to current step) of receiver.
IntArray sControl
Time function controlling the volumetric/pressure part.
void doStepOutput(TimeStep *tStep) override
int volFunction
Time functions controlling each component of the deviatoric part of the stress.
FluidMaterialEvaluator(int i, EngngModel *_master=nullptr)
std::vector< std ::unique_ptr< GaussPoint > > gps
#define _IFT_FluidMaterialEvaluator_Name

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011