OOFEM 3.0
Loading...
Searching...
No Matches
fluiddynamicmaterial.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 fluiddynamicmaterial_h
36#define fluiddynamicmaterial_h
37
38#include "material.h"
39#include "matstatus.h"
40#include "floatarray.h"
41#include "floatarrayf.h"
42#include "floatmatrixf.h"
43
44namespace oofem {
57{
58protected:
63
64public:
67
68 void printOutputAt(FILE *file, TimeStep *tStep) const override;
69
70 void saveContext(DataStream &stream, ContextMode mode) override;
71 void restoreContext(DataStream &stream, ContextMode mode) override;
72
83
84 const char *giveClassName() const override { return "FluidDynamicMaterialStatus"; }
85};
86
87
93{
94public:
101
107 FluidDynamicMaterial(int n, Domain * d) : Material(n, d) { }
108
118 virtual std::pair<FloatArrayF<6>, double> computeDeviatoricStress3D(const FloatArrayF<6> &eps, double pressure,
119 GaussPoint *gp, TimeStep *tStep) const;
120 virtual std::pair<FloatArrayF<3>, double> computeDeviatoricStress2D(const FloatArrayF<3> &eps, double pressure,
121 GaussPoint *gp, TimeStep *tStep) const;
130 virtual FloatArrayF<3> computeDeviatoricStress2D(const FloatArrayF<3> &eps, GaussPoint *gp, TimeStep *tStep) const;
131 virtual FloatArrayF<4> computeDeviatoricStressAxi(const FloatArrayF<4> &eps, GaussPoint *gp, TimeStep *tStep) const;
132
140 virtual FloatMatrixF<6,6> computeTangent3D(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const = 0;
141 virtual FloatMatrixF<3,3> computeTangent2D(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const;
142 virtual FloatMatrixF<4,4> computeTangentAxi(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const;
143
154 virtual Tangents<6> computeTangents3D(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const;
155 virtual Tangents<3> computeTangents2D(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const;
156
163 virtual double giveEffectiveViscosity(GaussPoint *gp, TimeStep *tStep) const = 0;
164
165 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
166};
167} // end namespace oofem
168#endif // fluiddynamicmaterial_h
FluidDynamicMaterialStatus(GaussPoint *g)
Constructor - creates new TransportMaterialStatus with number n, belonging to domain d and integratio...
const FloatArrayF< 6 > & giveDeviatoricStrainRateVector() const
const FloatArrayF< 6 > & giveDeviatoricStressVector() const
void letDeviatoricStrainRateVectorBe(const FloatArrayF< 6 > &v)
void saveContext(DataStream &stream, ContextMode mode) override
FloatArrayF< 6 > deviatoricStrainRateVector
Strain vector in reduced form.
const char * giveClassName() const override
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
void letDeviatoricStressVectorBe(const FloatArrayF< 6 > &v)
void restoreContext(DataStream &stream, ContextMode mode) override
FloatArrayF< 6 > deviatoricStressVector
Stress vector in reduced form.
virtual Tangents< 6 > computeTangents3D(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 6, 6 > computeTangent3D(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const =0
virtual FloatMatrixF< 4, 4 > computeTangentAxi(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
virtual std::pair< FloatArrayF< 3 >, double > computeDeviatoricStress2D(const FloatArrayF< 3 > &eps, double pressure, GaussPoint *gp, TimeStep *tStep) const
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
virtual double giveEffectiveViscosity(GaussPoint *gp, TimeStep *tStep) const =0
virtual FloatArrayF< 4 > computeDeviatoricStressAxi(const FloatArrayF< 4 > &eps, GaussPoint *gp, TimeStep *tStep) const
virtual FloatArrayF< 6 > computeDeviatoricStress3D(const FloatArrayF< 6 > &eps, GaussPoint *gp, TimeStep *tStep) const =0
virtual std::pair< FloatArrayF< 6 >, double > computeDeviatoricStress3D(const FloatArrayF< 6 > &eps, double pressure, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 3, 3 > computeTangent2D(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
virtual Tangents< 3 > computeTangents2D(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
MaterialStatus(GaussPoint *g)
Definition matstatus.h:91
Material(int n, Domain *d)
Definition material.C:46
long ContextMode
Definition contextmode.h:43

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