|
OOFEM 3.0
|
A continuity equation term ($Hp=(\grad N_p)^T f(p)$, where $f=\bf{k}/\mu \grad p$. More...
#include <termlibrary.h>
Public Member Functions | |
| gNTfTerm (const Variable *testField, const Variable *unknownField, MatResponseMode lhsType, MatResponseMode rhsType) | |
| void | evaluate_lin (FloatMatrix &answer, MPElement &e, GaussPoint *gp, TimeStep *tstep) const override |
| Evaluates $\bf{H}$ matrix, the linearization of $w^T(\grad N)^T f(p)$, i.e. $(\grad N)^T \bf{k}/\mu \grad p = \bf{H}$. | |
| 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 | initializeCell (Element &cell) const override |
| Public Member Functions inherited from oofem::Term | |
| Term () | |
| Term (const Variable *testField, const Variable *unknownField, MaterialMode m=MaterialMode::_Unknown) | |
| virtual IntegrationRule * | giveElementIntegrationRule (Element *e) const |
| virtual void | initializeFrom (InputRecord &ir, EngngModel *problem) |
Protected Member Functions | |
| void | grad (FloatMatrix &answer, const Variable *v, const FEInterpolation *interpol, const Element &cell, const FloatArray &coords) const |
| Evaluates B matrix; i.e. $\grad N$ where $N$ is interpolation matrix of unknown (p). | |
Protected Attributes | |
| MatResponseMode | lhsType |
| MatResponseMode | rhsType |
Additional Inherited Members | |
| Public Attributes inherited from oofem::Term | |
| const Variable * | field |
| const Variable * | testField |
| MaterialMode | mode |
A continuity equation term ($Hp=(\grad N_p)^T f(p)$, where $f=\bf{k}/\mu \grad p$.
Definition at line 92 of file termlibrary.h.
| oofem::gNTfTerm::gNTfTerm | ( | const Variable * | testField, |
| const Variable * | unknownField, | ||
| MatResponseMode | lhsType, | ||
| MatResponseMode | rhsType ) |
Definition at line 119 of file termlibrary.C.
References gNTfTerm(), lhsType, rhsType, oofem::Term::Term(), and oofem::Term::testField.
Referenced by gNTfTerm(), and oofem::TMgNTfTerm::TMgNTfTerm().
|
overridevirtual |
Evaluates Internal forces vector, i.e. $w^T(\grad N)^T f(p)$.
| cell | |
| coords |
Implements oofem::Term.
Reimplemented in oofem::TMgNTfTerm.
Definition at line 130 of file termlibrary.C.
References oofem::FloatArray::beProductOf(), oofem::FloatArray::beTProductOf(), oofem::Term::field, oofem::MPElement::getUnknownVector(), oofem::Material::giveCharacteristicVector(), oofem::Element::giveCrossSection(), oofem::CrossSection::giveMaterial(), oofem::GaussPoint::giveNaturalCoordinates(), grad(), and rhsType.
|
overridevirtual |
Evaluates $\bf{H}$ matrix, the linearization of $w^T(\grad N)^T f(p)$, i.e. $(\grad N)^T \bf{k}/\mu \grad p = \bf{H}$.
| answer | |
| e | |
| coords |
Implements oofem::Term.
Definition at line 122 of file termlibrary.C.
References oofem::FloatMatrix::beProductOf(), oofem::FloatMatrix::beTProductOf(), oofem::Term::field, oofem::Material::giveCharacteristicMatrix(), oofem::Element::giveCrossSection(), oofem::CrossSection::giveMaterial(), oofem::GaussPoint::giveNaturalCoordinates(), grad(), and lhsType.
|
overridevirtual |
Implements oofem::Term.
Definition at line 140 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 147 of file termlibrary.C.
References oofem::FloatMatrix::beTranspositionOf(), and oofem::FEInterpolation::evaldNdx().
Referenced by evaluate(), oofem::TMgNTfTerm::evaluate(), and evaluate_lin().
|
overridevirtual |
Implements oofem::Term.
Definition at line 145 of file termlibrary.C.
|
protected |
Definition at line 94 of file termlibrary.h.
Referenced by evaluate_lin(), gNTfTerm(), and oofem::TMgNTfTerm::TMgNTfTerm().
|
protected |
Definition at line 94 of file termlibrary.h.
Referenced by evaluate(), oofem::TMgNTfTerm::evaluate(), gNTfTerm(), and oofem::TMgNTfTerm::TMgNTfTerm().