|
OOFEM 3.0
|
A continuity equation term $Q^T(du\over dt)=(N)^T \alpha\bf{m}^TB du\over dt$. More...
#include <termlibrary.h>
Public Member Functions | |
| NTamTBTerm () | |
| NTamTBTerm (const Variable *testField, const Variable *unknownField, MatResponseMode at=BiotConstant, ValueModeType unknownFieldVMT=VM_Velocity) | |
| void | evaluate_lin (FloatMatrix &answer, MPElement &e, GaussPoint *gp, TimeStep *tstep) const override |
| Evaluates the linearization of receiver, i.e. the LHS term. | |
| void | evaluate (FloatArray &, MPElement &cell, GaussPoint *gp, TimeStep *tstep) const override |
| Evaluates Internal forces vector, i.e. $w^T(\grad N)^T f(p)$. | |
| void | getDimensions (Element &cell) const override |
| void | initializeFrom (InputRecord &ir, EngngModel *problem) override |
| Public Member Functions inherited from oofem::MPMSymbolicTerm | |
| MPMSymbolicTerm () | |
| MPMSymbolicTerm (const Variable *testField, const Variable *unknownField, MaterialMode m) | |
| void | initializeCell (Element &cell) const override |
| IntegrationRule * | giveElementIntegrationRule (Element *e) const override |
| Public Member Functions inherited from oofem::Term | |
| Term () | |
| Term (const Variable *testField, const Variable *unknownField, MaterialMode m=MaterialMode::_Unknown) | |
Protected Member Functions | |
| void | grad (FloatMatrix &answer, const Variable *v, const FEInterpolation *interpol, const Element &cell, const FloatArray &coords, const MaterialMode mmode) const |
| Evaluates B matrix; i.e. $\grad N$ where $N$ is interpolation matrix of unknown (p). | |
Protected Attributes | |
| MatResponseMode | aType = BiotConstant |
| ValueModeType | unknownFieldVMT = VM_Velocity |
| Protected Attributes inherited from oofem::MPMSymbolicTerm | |
| int | nip =0 |
Additional Inherited Members | |
| Public Attributes inherited from oofem::Term | |
| const Variable * | field |
| const Variable * | testField |
| MaterialMode | mode |
A continuity equation term $Q^T(du\over dt)=(N)^T \alpha\bf{m}^TB du\over dt$.
Definition at line 181 of file termlibrary.h.
|
inline |
Definition at line 186 of file termlibrary.h.
References oofem::MPMSymbolicTerm::MPMSymbolicTerm().
| oofem::NTamTBTerm::NTamTBTerm | ( | const Variable * | testField, |
| const Variable * | unknownField, | ||
| MatResponseMode | at = BiotConstant, | ||
| ValueModeType | unknownFieldVMT = VM_Velocity ) |
Definition at line 221 of file termlibrary.C.
References aType, oofem::MPMSymbolicTerm::MPMSymbolicTerm(), oofem::Term::testField, and unknownFieldVMT.
|
overridevirtual |
Evaluates Internal forces vector, i.e. $w^T(\grad N)^T f(p)$.
| cell | |
| coords |
Implements oofem::Term.
Definition at line 235 of file termlibrary.C.
References oofem::FloatArray::beProductOf(), evaluate_lin(), oofem::Term::field, oofem::MPElement::getUnknownVector(), and unknownFieldVMT.
|
overridevirtual |
Evaluates the linearization of receiver, i.e. the LHS term.
| answer | |
| e | |
| coords |
Implements oofem::Term.
Definition at line 223 of file termlibrary.C.
References aType, oofem::FloatMatrix::beProductOf(), oofem::FloatMatrix::beTProductOf(), oofem::Term::field, oofem::FloatMatrix::fromArray(), oofem::Material::giveCharacteristicValue(), oofem::Element::giveCrossSection(), oofem::CrossSection::giveMaterial(), oofem::GaussPoint::giveMaterialMode(), oofem::GaussPoint::giveNaturalCoordinates(), grad(), oofem::Term::mode, and oofem::Term::testField.
Referenced by evaluate().
|
overridevirtual |
Implements oofem::Term.
Definition at line 243 of file termlibrary.C.
|
protected |
Evaluates B matrix; i.e. $\grad N$ where $N$ is interpolation matrix of unknown (p).
| answer | B matrix |
| v | |
| interpol | |
| cell | |
| coords |
Definition at line 249 of file termlibrary.C.
References oofem::FEInterpolation::evaldNdx(), oofem::Element::giveGeometryType(), oofem::FEInterpolation::giveNumberOfNodes(), oofem::FloatMatrix::resize(), and oofem::Variable::size.
Referenced by evaluate_lin().
|
inlineoverridevirtual |
Reimplemented from oofem::MPMSymbolicTerm.
Definition at line 205 of file termlibrary.h.
References aType, oofem::MPMSymbolicTerm::initializeFrom(), IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, and unknownFieldVMT.
|
protected |
Definition at line 183 of file termlibrary.h.
Referenced by evaluate_lin(), initializeFrom(), and NTamTBTerm().
|
protected |
Definition at line 184 of file termlibrary.h.
Referenced by evaluate(), initializeFrom(), and NTamTBTerm().