OOFEM 3.0
Loading...
Searching...
No Matches
oofem::NTcN Class Reference

A continuity equation compressibility matrix $S=(N_p)^T c\ N_p$, where $c=({\alpha-n}\over{K_s}+{n}\over{K_w})$. More...

#include <termlibrary.h>

Inheritance diagram for oofem::NTcN:
Collaboration diagram for oofem::NTcN:

Public Member Functions

 NTcN ()
 NTcN (const Variable *testField, const Variable *unknownField, MatResponseMode ctype, ValueModeType uFieldVMT=VM_Velocity)
void evaluate_lin (FloatMatrix &answer, MPElement &e, GaussPoint *gp, TimeStep *tstep) const override
 Evaluates the linearization of term (the lhs contribution).
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
IntegrationRulegiveElementIntegrationRule (Element *e) const override
Public Member Functions inherited from oofem::Term
 Term ()
 Term (const Variable *testField, const Variable *unknownField, MaterialMode m=MaterialMode::_Unknown)

Protected Attributes

MatResponseMode ctype
ValueModeType unknownFieldVMT = VM_Velocity
Protected Attributes inherited from oofem::MPMSymbolicTerm
int nip =0

Additional Inherited Members

Public Attributes inherited from oofem::Term
const Variablefield
const VariabletestField
MaterialMode mode

Detailed Description

A continuity equation compressibility matrix $S=(N_p)^T c\ N_p$, where $c=({\alpha-n}\over{K_s}+{n}\over{K_w})$.

Definition at line 233 of file termlibrary.h.

Constructor & Destructor Documentation

◆ NTcN() [1/2]

oofem::NTcN::NTcN ( )
inline

Definition at line 238 of file termlibrary.h.

References oofem::MPMSymbolicTerm::MPMSymbolicTerm().

◆ NTcN() [2/2]

oofem::NTcN::NTcN ( const Variable * testField,
const Variable * unknownField,
MatResponseMode ctype,
ValueModeType uFieldVMT = VM_Velocity )

Member Function Documentation

◆ evaluate()

void oofem::NTcN::evaluate ( FloatArray & answer,
MPElement & cell,
GaussPoint * gp,
TimeStep * tstep ) const
overridevirtual

Evaluates Internal forces vector, i.e. $w^T(\grad N)^T f(p)$.

Parameters
cell
coords

Implements oofem::Term.

Definition at line 297 of file termlibrary.C.

References oofem::FloatArray::beProductOf(), evaluate_lin(), oofem::Term::field, oofem::MPElement::getUnknownVector(), S, and unknownFieldVMT.

◆ evaluate_lin()

void oofem::NTcN::evaluate_lin ( FloatMatrix & answer,
MPElement & e,
GaussPoint * gp,
TimeStep * tstep ) const
overridevirtual

◆ getDimensions()

void oofem::NTcN::getDimensions ( Element & cell) const
overridevirtual

Implements oofem::Term.

Definition at line 305 of file termlibrary.C.

◆ initializeFrom()

void oofem::NTcN::initializeFrom ( InputRecord & ir,
EngngModel * problem )
inlineoverridevirtual

Member Data Documentation

◆ ctype

MatResponseMode oofem::NTcN::ctype
protected

Definition at line 235 of file termlibrary.h.

Referenced by evaluate_lin(), initializeFrom(), and NTcN().

◆ unknownFieldVMT

ValueModeType oofem::NTcN::unknownFieldVMT = VM_Velocity
protected

Definition at line 236 of file termlibrary.h.

Referenced by evaluate(), initializeFrom(), and NTcN().


The documentation for this class was generated from the following files:

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