OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class implements an influence of reinforcement into flow problems, especially concrete (binhamfluid). More...
#include <reinforcement.h>
Public Member Functions | |
Reinforcement (int i, Domain *d) | |
Constructor. More... | |
virtual void | computeValueAt (FloatArray &answer, TimeStep *tStep, const FloatArray &coords, ValueModeType mode) |
Computes components values of deadweight field at given point (coordinates given in Global c.s.). More... | |
virtual bcValType | giveBCValType () const |
Returns receiver load type. More... | |
virtual bcGeomType | giveBCGeoType () const |
Returns receiver's load geometry type. More... | |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
virtual const char * | giveClassName () const |
virtual const char * | giveInputRecordName () const |
double | givePorosity () |
Accessor. More... | |
double | giveshapefactor () |
FloatArray * | givePermeability () |
Public Member Functions inherited from oofem::BodyLoad | |
BodyLoad (int i, Domain *d) | |
Constructor. More... | |
Public Member Functions inherited from oofem::Load | |
Load (int n, Domain *d) | |
Constructor. More... | |
virtual | ~Load () |
Destructor. More... | |
virtual void | computeComponentArrayAt (FloatArray &answer, TimeStep *tStep, ValueModeType mode) |
Computes boundary condition value - its components values at given time. More... | |
virtual void | computeValues (FloatArray &answer, TimeStep *tStep, const FloatArray &coords, const IntArray &dofids, ValueModeType mode) |
Computes components values for specified dof ids. More... | |
int | isDofExcluded (int index) |
Returns the value of dofExcludeMask corresponding to given index. More... | |
virtual void | scale (double s) |
Scales the receiver according to given value. More... | |
virtual CoordSystType | giveCoordSystMode () |
Returns receiver's coordinate system. More... | |
virtual FormulationType | giveFormulationType () |
Specifies is load should take local or global coordinates. More... | |
virtual int | giveApproxOrder () |
virtual double | giveProperty (int aProperty, TimeStep *tStep) |
Returns the value of a property 'aProperty'. More... | |
virtual void | giveInputRecord (DynamicInputRecord &input) |
Setups the input record string of receiver. More... | |
const FloatArray & | giveComponentArray () const |
void | setComponentArray (FloatArray &arry) |
Public Member Functions inherited from oofem::GeneralBoundaryCondition | |
GeneralBoundaryCondition (int n, Domain *d) | |
Constructor. More... | |
virtual | ~GeneralBoundaryCondition () |
Destructor. More... | |
int | giveSetNumber () |
Gives the set number which boundary condition is applied to. More... | |
virtual int | giveNumberOfInternalDofManagers () |
Gives the number of internal dof managers. More... | |
virtual DofManager * | giveInternalDofManager (int i) |
Gives an internal dof manager from receiver. More... | |
Function * | giveTimeFunction () |
virtual bool | isImposed (TimeStep *tStep) |
Returns nonzero if receiver representing BC is imposed at given time, otherwise returns zero. More... | |
virtual const IntArray & | giveDofIDs () const |
Array with default dofs which b.c. More... | |
virtual bcType | giveType () const |
virtual void | postInitialize () |
Performs post initialization steps. More... | |
virtual contextIOResultType | saveContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Stores receiver state to output stream. More... | |
virtual contextIOResultType | restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Restores the receiver state previously written in stream. More... | |
Public Member Functions inherited from oofem::FEMComponent | |
FEMComponent (int n, Domain *d) | |
Regular constructor, creates component with given number and belonging to given domain. More... | |
virtual | ~FEMComponent () |
Virtual destructor. More... | |
Domain * | giveDomain () const |
virtual void | setDomain (Domain *d) |
Sets associated Domain. More... | |
int | giveNumber () const |
void | setNumber (int num) |
Sets number of receiver. More... | |
virtual void | updateLocalNumbering (EntityRenumberingFunctor &f) |
Local renumbering support. More... | |
virtual int | checkConsistency () |
Allows programmer to test some internal data, before computation begins. More... | |
virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
Prints output of receiver to stream, for given time step. More... | |
virtual void | printYourself () |
Prints receiver state on stdout. Useful for debugging. More... | |
virtual Interface * | giveInterface (InterfaceType t) |
Interface requesting service. More... | |
std::string | errorInfo (const char *func) const |
Returns string for prepending output (used by error reporting macros). More... | |
Protected Attributes | |
double | porosity |
double | shapefactor |
FloatArray | permeability |
Protected Attributes inherited from oofem::Load | |
FloatArray | componentArray |
Components of boundary condition. More... | |
IntArray | dofExcludeMask |
The load is specified for all dofs of object to which is associated. More... | |
Protected Attributes inherited from oofem::GeneralBoundaryCondition | |
int | timeFunction |
Associated load time function. More... | |
bcValType | valType |
Physical meaning of BC value. More... | |
IntArray | dofs |
Dofs that b.c. is applied to (relevant for Dirichlet type b.c.s). More... | |
int | isImposedTimeFunction |
Zero by default - the BC is than always imposed. More... | |
int | set |
Set number for boundary condition to be applied to. More... | |
Protected Attributes inherited from oofem::FEMComponent | |
int | number |
Component number. More... | |
Domain * | domain |
Link to domain object, useful for communicating with other FEM components. More... | |
Additional Inherited Members | |
Public Types inherited from oofem::Load | |
enum | CoordSystType { CST_Global, CST_Local, CST_UpdatedGlobal } |
Load coordinate system type. More... | |
enum | FormulationType { FT_Entity, FT_Global } |
Type determining the type of formulation (entity local or global one). More... | |
Public Attributes inherited from oofem::Load | |
bool | reference |
This class implements an influence of reinforcement into flow problems, especially concrete (binhamfluid).
It is modeled as a special body load acting on elements in area, where reinfocement is placed. The inherited attribute 'componentArray' contains the components of an loading prescribed per unit volume.
Its task is to return the body force
Definition at line 58 of file reinforcement.h.
|
inline |
Constructor.
Definition at line 68 of file reinforcement.h.
|
inlinevirtual |
Computes components values of deadweight field at given point (coordinates given in Global c.s.).
taking into account corresponding load time function value while respecting load response mode.
answer | Component values at given point and time. |
tStep | Time step. |
coords | Global coordinates, which are used to evaluate components values. |
mode | Determines response mode- |
Implements oofem::Load.
Definition at line 77 of file reinforcement.h.
|
inlinevirtual |
Returns receiver's load geometry type.
Reimplemented from oofem::BodyLoad.
Definition at line 81 of file reinforcement.h.
References oofem::BodyLoadBGT.
|
inlinevirtual |
Returns receiver load type.
It distinguish particular boundary conditions according to their "physical" meaning (like StructuralTemperatureLoadLT, StructuralLoadLT). Derived classes should always overload, default implementation returns UnknownLT value. See cltypes.h file for details.
Reimplemented from oofem::GeneralBoundaryCondition.
Definition at line 80 of file reinforcement.h.
References oofem::ReinforceBVT.
|
inlinevirtual |
Implements oofem::FEMComponent.
Definition at line 84 of file reinforcement.h.
|
inlinevirtual |
Implements oofem::FEMComponent.
Definition at line 85 of file reinforcement.h.
References _IFT_Reinforcement_Name.
|
inline |
Definition at line 90 of file reinforcement.h.
Referenced by oofem::TR1_2D_SUPG::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MC(), oofem::TR1_2D_SUPG::computeHomogenizedReinforceTerm_MB(), oofem::TR1_2D_SUPG::computeHomogenizedReinforceTerm_MC(), and oofem::TR1_2D_SUPG::computeLoadVector().
|
inline |
Accessor.
Definition at line 88 of file reinforcement.h.
Referenced by oofem::TR1_2D_SUPG::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MC(), and oofem::TR1_2D_SUPG::computeLoadVector().
|
inline |
Definition at line 89 of file reinforcement.h.
Referenced by oofem::TR1_2D_SUPG::computeBCRhsTerm_MB(), oofem::TR1_2D_SUPG::computeBCRhsTerm_MC(), and oofem::TR1_2D_SUPG::computeLoadVector().
|
virtual |
Initializes receiver according to object description stored in input record.
This function is called immediately after creating object using constructor. Input record can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record.
ir | Input record to initialize from. |
Reimplemented from oofem::Load.
Definition at line 43 of file reinforcement.C.
References _IFT_Reinforcement_permeability, _IFT_Reinforcement_porosity, _IFT_Reinforcement_shapeFactor, IR_GIVE_FIELD, oofem::IRRT_OK, permeability, porosity, and shapefactor.
|
protected |
Definition at line 63 of file reinforcement.h.
Referenced by initializeFrom().
|
protected |
Definition at line 61 of file reinforcement.h.
Referenced by initializeFrom().
|
protected |
Definition at line 62 of file reinforcement.h.
Referenced by initializeFrom().