OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
fluidcrosssection.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 fluidcrosssection_h
36 #define fluidcrosssection_h
37 
38 #include "crosssection.h"
39 
40 #define _IFT_FluidCrossSection_Name "fluidcs"
41 #define _IFT_FluidCrossSection_material "mat"
42 
43 namespace oofem {
44 class FluidDynamicMaterial;
45 
51 class OOFEM_EXPORT FluidCrossSection : public CrossSection
52 {
53 protected:
54  int matNumber;
55 
56 public:
62  FluidCrossSection(int n, Domain * d);
64  virtual ~FluidCrossSection();
65 
66  virtual IRResultType initializeFrom(InputRecord *ir);
67  virtual void giveInputRecord(DynamicInputRecord &input);
68 
69  virtual int checkConsistency();
70 
71  virtual bool isCharacteristicMtrxSymmetric(MatResponseMode rMode);
72  virtual int giveIPValue(FloatArray &answer, GaussPoint *ip, InternalStateType type, TimeStep *tStep);
73 
74  virtual double giveDensity(GaussPoint *gp);
75  FluidDynamicMaterial *giveFluidMaterial();
76  Material *giveMaterial(IntegrationPoint *ip);
77 
78  virtual int packUnknowns(DataStream &buff, TimeStep *tStep, GaussPoint *gp);
79  virtual int unpackAndUpdateUnknowns(DataStream &buff, TimeStep *tStep, GaussPoint *gp);
80  virtual int estimatePackSize(DataStream &buff, GaussPoint *gp);
81 
82  virtual const char *giveClassName() const { return "FluidCrossSection"; }
83  virtual const char *giveInputRecordName() const { return _IFT_FluidCrossSection_Name; }
84 };
85 } // end namespace oofem
86 #endif // fluidcrosssection_h
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual const char * giveClassName() const
Class and object Domain.
Definition: domain.h:115
Fluid cross-section.
Abstract base class for all fluid materials.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
Definition: datastream.h:54
virtual const char * giveInputRecordName() const
MatResponseMode
Describes the character of characteristic material matrix.
Base abstract class representing cross section in finite element mesh.
Definition: crosssection.h:107
Abstract base class for all material models.
Definition: material.h:95
Class representing vector of real numbers.
Definition: floatarray.h:82
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
Class representing the general Input Record.
Definition: inputrecord.h:101
Class representing the a dynamic Input Record.
#define _IFT_FluidCrossSection_Name
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
Definition: gausspoint.h:93
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