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

#include <stokesflow.h>

Inheritance diagram for oofem::StokesFlow:
Collaboration diagram for oofem::StokesFlow:

Public Member Functions

 StokesFlow (int i, EngngModel *_master=nullptr)
 ~StokesFlow ()
void solveYourselfAt (TimeStep *tStep) override
void updateYourself (TimeStep *tStep) override
double giveUnknownComponent (ValueModeType mode, TimeStep *tStep, Domain *domain, Dof *dof) override
bool newDofHandling () override
double giveReynoldsNumber () override
int forceEquationNumbering (int id) override
void initializeFrom (InputRecord &ir) override
int checkConsistency () override
void doStepOutput (TimeStep *tStep) override
void updateInternalState (TimeStep *tStep)
void updateComponent (TimeStep *tStep, NumericalCmpn cmpn, Domain *d) override
void updateSolution (FloatArray &solutionVector, TimeStep *tStep, Domain *d) override
void updateInternalRHS (FloatArray &answer, TimeStep *tStep, Domain *d, FloatArray *eNorm) override
void updateMatrix (SparseMtrx &mat, TimeStep *tStep, Domain *d) override
NumericalMethodgiveNumericalMethod (MetaStep *mStep) override
 Returns reference to receiver's numerical method.
TimeStepgiveNextStep () override
 Returns next time step (next to current step) of receiver.
const char * giveClassName () const override
 Returns class name of the receiver.
const char * giveInputRecordName () const
Public Member Functions inherited from oofem::FluidModel
 FluidModel (int i, EngngModel *master)
int forceEquationNumbering () override
 EngngModel (int i, EngngModel *_master=NULL)
virtual ~EngngModel ()
 Destructor.
 EngngModel (const EngngModel &)=delete
EngngModeloperator= (const EngngModel &)=delete
DomaingiveDomain (int n)
void setDomain (int i, Domain *ptr, bool iDeallocateOld=true)
int giveNumberOfDomains ()
 Returns number of domains in problem.
const std::string & giveDescription () const
const time_t & giveStartTime ()
bool giveSuppressOutput () const
virtual ErrorEstimatorgiveDomainErrorEstimator (int n)
virtual MaterialInterfacegiveMaterialInterface (int n)
void setNumberOfEquations (int id, int neq)
FILE * giveOutputStream ()
 Returns file descriptor of output file.
std::string giveOutputBaseFileName ()
std::string giveReferenceFileName ()
void letOutputBaseFileNameBe (const std ::string &src)
ContextOutputMode giveContextOutputMode () const
int giveContextOutputStep () const
void setContextOutputMode (ContextOutputMode contextMode)
void setUDContextOutputMode (int cStep)
double giveDeltaT ()
 Returns time step size from the time step controlelr.
void setDeltaT (double dT)
 Returns time step size through the time step controlelr.
void setProblemMode (problemMode pmode)
void setParallelMode (bool newParallelFlag)
problemMode giveProblemMode () const
 Returns domain mode.
void setProblemScale (problemScale pscale)
problemScale giveProblemScale () const
 Returns scale in multiscale simulation.
virtual void setRenumberFlag ()
 Sets the renumber flag to true.
virtual void resetRenumberFlag ()
 Sets the renumber flag to false.
double giveSolutionStepTime ()
void giveAnalysisTime (int &rhrs, int &rmin, int &rsec, int &uhrs, int &umin, int &usec)
void terminateAnalysis ()
virtual void solveYourself ()
virtual void restartYourself (TimeStep *tS)
virtual void terminate (TimeStep *tStep)
void saveStepContext (TimeStep *tStep, ContextMode mode)
virtual void initializeYourself (TimeStep *tStep)
virtual int initializeAdaptive (int tStepNumber)
virtual int giveNumberOfDomainEquations (int di, const UnknownNumberingScheme &num)
virtual FieldPtr giveField (FieldType key, TimeStep *)
virtual FieldPtr giveField (InternalStateType key, TimeStep *)
EngngModelgiveMasterEngngModel ()
 Returns the master engnmodel.
virtual double giveLoadLevel ()
 Returns the current load level.
virtual double giveEigenValue (int eigNum)
 Only relevant for eigen value analysis. Otherwise returns zero.
virtual void setActiveVector (int i)
 Only relevant for eigen value analysis. Otherwise does noting.
int updateSharedDofManagers (FloatArray &answer, const UnknownNumberingScheme &s, int ExchangeTag)
int exchangeRemoteElementData (int ExchangeTag)
virtual int giveCurrentNumberOfIterations ()
MPI_Comm giveParallelComm ()
 Returns the communication object of reciever.
int packRemoteElementData (ProcessCommunicator &processComm)
int unpackRemoteElementData (ProcessCommunicator &processComm)
int packDofManagers (ArrayWithNumbering *src, ProcessCommunicator &processComm)
int unpackDofManagers (ArrayWithNumbering *dest, ProcessCommunicator &processComm)
ProblemCommunicatorgiveProblemCommunicator (EngngModelCommType t)
void initializeCommMaps (bool forceInit=false)
virtual int instanciateYourself (DataReader &dr, InputRecord &ir, const char *outFileName, const char *desc)
void Instanciate_init ()
int instanciateDomains (DataReader &dr)
 Instanciate problem domains by calling their instanciateYourself() service.
int instanciateMetaSteps (DataReader &dr)
 Instanciate problem meta steps by calling their instanciateYourself() service.
virtual int instanciateDefaultMetaStep (InputRecord &ir)
 Instanciate default metastep, if nmsteps is zero.
virtual void updateAttributes (MetaStep *mStep)
void initMetaStepAttributes (MetaStep *mStep)
virtual void saveContext (DataStream &stream, ContextMode mode)
virtual void restoreContext (DataStream &stream, ContextMode mode)
virtual void updateDomainLinks ()
MetaStepgiveCurrentMetaStep ()
 Returns current meta step.
virtual TimeStepgiveCurrentStep (bool force=false)
virtual void adaptTimeStep (double nIter)
virtual TimeStepgivePreviousStep (bool force=false)
virtual void preInitializeNextStep ()
 Does a pre-initialization of the next time step (implement if necessarry).
virtual TimeStepgiveSolutionStepWhenIcApply (bool force=false)
virtual int giveNumberOfFirstStep (bool force=false)
int giveNumberOfMetaSteps ()
 Return number of meta steps.
MetaStepgiveMetaStep (int i)
 Returns the i-th meta step.
int giveNumberOfSteps (bool force=false)
virtual double giveEndOfTimeOfInterest ()
 Returns end of time interest (time corresponding to end of time integration).
int giveNumberOfTimeStepWhenIcApply ()
 Returns the time step number, when initial conditions should apply.
ExportModuleManagergiveExportModuleManager ()
 Returns receiver's export module manager.
EngngModelTimergiveTimer ()
 Returns reference to receiver timer (EngngModelTimer).
virtual double giveInitialTime ()
 return time at the begining of analysis
virtual double giveFinalTime ()
virtual int giveNewEquationNumber (int domain, DofIDItem)
virtual int giveNewPrescribedEquationNumber (int domain, DofIDItem)
std::string giveContextFileName (int tStepNumber, int stepVersion) const
std::string giveDomainFileName (int domainNum, int domainSerNum) const
virtual void initForNewIteration (Domain *d, TimeStep *tStep, int iterationNumber, const FloatArray &solution)
virtual void initStepIncrements ()
virtual int requiresUnknownsDictionaryUpdate ()
virtual bool requiresEquationRenumbering (TimeStep *tStep)
virtual void updateDofUnknownsDictionary (DofManager *, TimeStep *)
virtual int giveUnknownDictHashIndx (ValueModeType mode, TimeStep *tStep)
virtual ParallelContextgiveParallelContext (int n)
virtual void initParallelContexts ()
virtual void assemble (SparseMtrx &answer, TimeStep *tStep, const MatrixAssembler &ma, const UnknownNumberingScheme &s, Domain *domain)
virtual void assemble (SparseMtrx &answer, TimeStep *tStep, const MatrixAssembler &ma, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s, Domain *domain)
void assembleVector (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL)
void assembleVectorFromDofManagers (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL)
void assembleVectorFromElements (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL)
void assembleVectorFromBC (FloatArray &answer, TimeStep *tStep, const VectorAssembler &va, ValueModeType mode, const UnknownNumberingScheme &s, Domain *domain, FloatArray *eNorms=NULL)
void assembleExtrapolatedForces (FloatArray &answer, TimeStep *tStep, CharType type, Domain *domain)
void assemblePrescribedExtrapolatedForces (FloatArray &answer, TimeStep *tStep, CharType type, Domain *domain)
virtual int checkProblemConsistency ()
virtual void init ()
virtual void postInitialize ()
virtual void printOutputAt (FILE *file, TimeStep *tStep)
virtual void printOutputAt (FILE *file, TimeStep *tStep, const IntArray &nodeSets, const IntArray &elementSets)
void outputNodes (FILE *file, Domain &domain, TimeStep *tStep, int setNum)
void outputElements (FILE *file, Domain &domain, TimeStep *tStep, int setNum)
void printYourself ()
 Prints state of receiver. Useful for debugging.
virtual void printDofOutputAt (FILE *stream, Dof *iDof, TimeStep *tStep)
virtual int useNonlocalStiffnessOption ()
 Returns nonzero if nonlocal stiffness option activated.
bool isParallel () const
 Returns true if receiver in parallel mode.
int giveRank () const
 Returns domain rank in a group of collaborating processes (0..groupSize-1).
int giveNumberOfProcesses () const
 Returns the number of collaborating processes.
virtual fMode giveFormulation ()
EngngModelContextgiveContext ()
 Context requesting service.
virtual int giveNumberOfSlaveProblems ()
 Returns number of slave problems.
virtual EngngModelgiveSlaveProblem (int i)
 Returns i-th slave problem.
virtual bool giveEquationScalingFlag ()
 Returns the Equation scaling flag, which is used to indicate that governing equation(s) are scaled, or non-dimensionalized.
virtual double giveVariableScale (VarScaleType varId)
 Returns the scale factor for given variable type.
virtual int estimateMaxPackSize (IntArray &commMap, DataStream &buff, int packUnpackType)
virtual void balanceLoad (TimeStep *tStep)
virtual LoadBalancergiveLoadBalancer ()
virtual LoadBalancerMonitorgiveLoadBalancerMonitor ()
void initParallel ()
 Request domain rank and problem size.
EngngModelgiveEngngModel ()
 Returns reference to itself -> required by communicator.h.
virtual bool isElementActivated (int elemNum)
virtual bool isElementActivated (Element *e)
TimeStepControllergiveTimeStepController ()
 Returns the time step controller.
virtual void drawYourself (oofegGraphicContext &gc)
virtual void drawElements (oofegGraphicContext &gc)
virtual void drawNodes (oofegGraphicContext &gc)
virtual void showSparseMtrxStructure (int type, oofegGraphicContext &gc, TimeStep *tStep)
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Protected Attributes

double deltaT = 1.
 Time increment read from input record.
std ::unique_ptr< PrimaryFieldvelocityPressureField
 Primary unknowns.
SparseMtrxType sparseMtrxType
 Sparse matrix type.
std ::unique_ptr< SparseNonLinearSystemNMnMethod
 Numerical method.
LinSystSolverType solverType = ST_Direct
 Linear solver type.
FloatArray eNorm
 Element norm for nonlinear analysis (squared).
std ::unique_ptr< MeshQualityErrorEstimatormeshqualityee
 Used for determining if a new mesh must be created.
double maxdef = 1.
 Maximum deformation allowed.
std ::unique_ptr< SparseMtrxstiffnessMatrix
FloatArray solutionVector
FloatArray internalForces
TopologyState ts
 Topology state, most notably used for determining if there is a need to remesh.
Protected Attributes inherited from oofem::EngngModel
int ndomains
 Number of receiver domains.
std ::vector< std ::unique_ptr< Domain > > domainList
 List of problem domains.
int numberOfSteps
 Total number of time steps.
int numberOfEquations
 Total number of equation in current time step.
int numberOfPrescribedEquations
 Total number or prescribed equations in current time step.
IntArray domainNeqs
 Number of equations per domain.
IntArray domainPrescribedNeqs
 Number of prescribed equations per domain.
bool renumberFlag
 Renumbering flag (renumbers equations after each step, necessary if Dirichlet BCs change).
bool profileOpt
 Profile optimized numbering flag (using Sloan's algorithm).
int equationNumberingCompleted
 Equation numbering completed flag.
int nMetaSteps
 Number of meta steps.
std ::vector< MetaStepmetaStepList
 List of problem metasteps.
std ::unique_ptr< TimeStepstepWhenIcApply
 Solution step when IC (initial conditions) apply.
std ::unique_ptr< TimeStepcurrentStep
 Current time step.
std ::unique_ptr< TimeSteppreviousStep
 Previous time step.
int number
 Receivers id.
std::string dataOutputFileName
 Path to output stream.
std::string coreOutputFileName
 String with core output file name.
FILE * outputStream
 Output stream.
std::string referenceFileName
 String with reference file name.
ContextOutputMode contextOutputMode
 Domain context output mode.
int contextOutputStep
ExportModuleManager exportModuleManager
 Export module manager.
InitModuleManager initModuleManager
 Initialization module manager.
MonitorManager monitorManager
 Monitor manager.
problemMode pMode
 Domain mode.
problemScale pScale
 Multiscale mode.
time_t startTime
 Solution start time.
EngngModelmaster
 Master e-model; if defined receiver is in maintained (slave) mode.
EngngModelContextcontext
 Context.
EngngModelTimer timer
 E-model timer.
int parallelFlag
 Flag indicating that the receiver runs in parallel.
enum fMode nonLinFormulation
 Type of non linear formulation (total or updated formulation).
std::unique_ptr< ErrorEstimatordefaultErrEstimator
 Error estimator. Useful for adaptivity, or simply printing errors output.
std::unique_ptr< TimeStepControllertimeStepController
 Time Step controller is responsible for collecting data from analysis, elements, and materials, and select the appropriate timestep size for the next step, or reduce the step in case of convergence problems.
int rank
 Domain rank in a group of collaborating processes (0..groupSize-1).
int numProcs
 Total number of collaborating processes.
int nonlocalExt
 Flag indicating if nonlocal extension active, which will cause data to be sent between shared elements before computing the internal forces.
char processor_name [PROCESSOR_NAME_LENGTH]
 Processor name.
MPI_Comm comm
 Communication object for this engineering model.
std::unique_ptr< LoadBalancerlb
 Load Balancer.
std::unique_ptr< LoadBalancerMonitorlbm
bool loadBalancingFlag
 If set to true, load balancing is active.
bool force_load_rebalance_in_first_step
 Debug flag forcing load balancing after first step.
CommunicatorBuffcommBuff
 Common Communicator buffer.
ProblemCommunicatorcommunicator
 Communicator.
ProblemCommunicatornonlocCommunicator
 NonLocal Communicator. Necessary when nonlocal constitutive models are used.
std ::vector< ParallelContextparallelContextList
 List where parallel contexts are stored.
bool suppressOutput
 Flag for suppressing output to file.
std::string simulationDescription

Additional Inherited Members

Public Types inherited from oofem::EngngModel
enum  EngngModel_UpdateMode { EngngModel_Unknown_Mode , EngngModel_SUMM_Mode , EngngModel_SET_Mode }
enum  EngngModelCommType { PC_default , PC_nonlocal }
enum  InitialGuess { IG_None = 0 , IG_Tangent = 1 }
Protected Types inherited from oofem::EngngModel
enum  {
  InternalForcesExchangeTag , MassExchangeTag , LoadExchangeTag , ReactionExchangeTag ,
  RemoteElementExchangeTag
}
 Message tags. More...
virtual void packMigratingData (TimeStep *tStep)
virtual void unpackMigratingData (TimeStep *tStep)

Detailed Description

Implements the engineering model to solve incompressible Stokes flow. Stokes flow means acceleration is ignored.

Author
Carl Sandström
Mikael Öhman

Definition at line 63 of file stokesflow.h.

Constructor & Destructor Documentation

◆ StokesFlow()

oofem::StokesFlow::StokesFlow ( int i,
EngngModel * _master = nullptr )

◆ ~StokesFlow()

oofem::StokesFlow::~StokesFlow ( )

Definition at line 59 of file stokesflow.C.

Member Function Documentation

◆ checkConsistency()

int oofem::StokesFlow::checkConsistency ( )
overridevirtual

Allows programmer to test some receiver's internal data, before computation begins.

Returns
Nonzero if receiver check is o.k.

Reimplemented from oofem::EngngModel.

Definition at line 257 of file stokesflow.C.

References oofem::EngngModel::giveDomain(), oofem::Domain::giveElements(), and OOFEM_WARNING.

◆ doStepOutput()

void oofem::StokesFlow::doStepOutput ( TimeStep * tStep)
overridevirtual

Prints the ouput of the solution step (using virtual this->printOutputAtservice) to the stream detemined using this->giveOutputStream() method and calls exportModuleManager to do output.

Reimplemented from oofem::EngngModel.

Definition at line 286 of file stokesflow.C.

References oofem::TopologyDescription::doOutput(), and oofem::EngngModel::giveDomain().

◆ forceEquationNumbering()

int oofem::StokesFlow::forceEquationNumbering ( int i)
overridevirtual

Forces equation renumbering on given domain. All equation numbers in all dofManagers are invalidated, and new equation numbers are generated starting from domainNeqs entry corresponding to given domain. It will update numberOfEquations variable accordingly. Should be used at startup to force equation numbering and therefore sets numberOfEquations. Must be used if model supports changes of static system to assign new valid equation numbers to dofManagers.

Reimplemented from oofem::FluidModel.

Definition at line 236 of file stokesflow.C.

References oofem::EngngModel::equationNumberingCompleted, and stiffnessMatrix.

◆ giveClassName()

const char * oofem::StokesFlow::giveClassName ( ) const
inlineoverridevirtual

Returns class name of the receiver.

Implements oofem::EngngModel.

Reimplemented in oofem::StokesFlowVelocityHomogenization.

Definition at line 123 of file stokesflow.h.

◆ giveInputRecordName()

const char * oofem::StokesFlow::giveInputRecordName ( ) const
inline

Definition at line 124 of file stokesflow.h.

References _IFT_StokesFlow_Name.

◆ giveNextStep()

TimeStep * oofem::StokesFlow::giveNextStep ( )
overridevirtual

Returns next time step (next to current step) of receiver.

Reimplemented from oofem::EngngModel.

Definition at line 304 of file stokesflow.C.

References oofem::EngngModel::currentStep, deltaT, oofem::EngngModel::giveNumberOfTimeStepWhenIcApply(), and oofem::EngngModel::previousStep.

◆ giveNumericalMethod()

NumericalMethod * oofem::StokesFlow::giveNumericalMethod ( MetaStep * mStep)
overridevirtual

Returns reference to receiver's numerical method.

Reimplemented from oofem::EngngModel.

Definition at line 296 of file stokesflow.C.

References oofem::EngngModel::giveDomain(), and nMethod.

Referenced by solveYourselfAt().

◆ giveReynoldsNumber()

double oofem::StokesFlow::giveReynoldsNumber ( )
overridevirtual

Implements oofem::FluidModel.

Definition at line 251 of file stokesflow.C.

◆ giveUnknownComponent()

double oofem::StokesFlow::giveUnknownComponent ( ValueModeType ,
TimeStep * ,
Domain * ,
Dof *  )
overridevirtual

Returns requested unknown. Unknown at give time step is characterized by its type and mode and by its equation number. This function is used by Dofs, when they are requested for their associated unknowns.

See also
Dof::giveUnknown

Reimplemented from oofem::EngngModel.

Definition at line 245 of file stokesflow.C.

References velocityPressureField.

◆ initializeFrom()

void oofem::StokesFlow::initializeFrom ( InputRecord & ir)
overridevirtual

Initializes receiver according to object description in input reader. InitString 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.

Todo
Deal with this parameter (set to some reasonable value by default now)

Reimplemented from oofem::EngngModel.

Definition at line 62 of file stokesflow.C.

References _IFT_EngngModel_lstype, _IFT_EngngModel_smtype, _IFT_StokesFlow_deltat, deltaT, IR_GIVE_OPTIONAL_FIELD, maxdef, meshqualityee, oofem::SMT_PetscMtrx, solverType, sparseMtrxType, oofem::ST_Petsc, stiffnessMatrix, ts, oofem::TS_OK, and velocityPressureField.

◆ newDofHandling()

bool oofem::StokesFlow::newDofHandling ( )
inlineoverridevirtual

Temporary method for allowing code to seamlessly convert from the old to new way of handling DOF values. (the new way expects the field to store all values, regardless of if they are computed, from BC, or IC.) This is used by MasterDof

Todo
When all models have converted to using a field, this should be removed.

Reimplemented from oofem::EngngModel.

Definition at line 105 of file stokesflow.h.

◆ solveYourselfAt()

void oofem::StokesFlow::solveYourselfAt ( TimeStep * tStep)
overridevirtual

◆ updateComponent()

◆ updateInternalRHS()

void oofem::StokesFlow::updateInternalRHS ( FloatArray & answer,
TimeStep * tStep,
Domain * d,
FloatArray * eNorm )
overridevirtual

Updates the solution (guess) according to the new values. Callback for nonlinear solvers (e.g. Newton-Raphson).

Parameters
solutionVectorNew solution.
tStepTime when component is updated.
dDomain.
eNormOptional per-element norm (for normalization).

Reimplemented from oofem::EngngModel.

Definition at line 212 of file stokesflow.C.

References oofem::EngngModel::assembleVector(), oofem::EngngModel::InternalForcesExchangeTag, oofem::EngngModel::updateSharedDofManagers(), and oofem::FloatArray::zero().

Referenced by solveYourselfAt().

◆ updateInternalState()

void oofem::StokesFlow::updateInternalState ( TimeStep * tStep)

Definition at line 272 of file stokesflow.C.

References oofem::EngngModel::domainList, and ts.

Referenced by updateYourself().

◆ updateMatrix()

void oofem::StokesFlow::updateMatrix ( SparseMtrx & mat,
TimeStep * tStep,
Domain * d )
overridevirtual

Updates the solution (guess) according to the new values. Callback for nonlinear solvers (e.g. Newton-Raphson).

Note
For performance, the matrix should keep it's non-zero structure between calls, so the caller should make sure not to clear the matrix object before called.
Parameters
solutionVectorNew solution.
tStepTime when component is updated.
dDomain.

Reimplemented from oofem::EngngModel.

Definition at line 221 of file stokesflow.C.

References oofem::assemble(), and oofem::SparseMtrx::zero().

Referenced by solveYourselfAt().

◆ updateSolution()

void oofem::StokesFlow::updateSolution ( FloatArray & solutionVector,
TimeStep * tStep,
Domain * d )
overridevirtual

Updates the solution (guess) according to the new values. Callback for nonlinear solvers (e.g. Newton-Raphson), and are called before new internal forces are computed.

Parameters
solutionVectorNew solution.
tStepTime when component is updated.
dDomain.

Reimplemented from oofem::EngngModel.

Definition at line 202 of file stokesflow.C.

References oofem::Domain::giveElements(), solutionVector, oofem::FMElement::updateStabilizationCoeffs(), and velocityPressureField.

Referenced by solveYourselfAt().

◆ updateYourself()

void oofem::StokesFlow::updateYourself ( TimeStep * tStep)
overridevirtual

Updates everything for the problem. Updates the internal state for the elements. Also calls updateNodalPositions.

Reimplemented from oofem::EngngModel.

Definition at line 229 of file stokesflow.C.

References updateInternalState().

Member Data Documentation

◆ deltaT

double oofem::StokesFlow::deltaT = 1.
protected

Time increment read from input record.

Definition at line 67 of file stokesflow.h.

Referenced by giveNextStep(), and initializeFrom().

◆ eNorm

FloatArray oofem::StokesFlow::eNorm
protected

Element norm for nonlinear analysis (squared).

Definition at line 77 of file stokesflow.h.

Referenced by solveYourselfAt(), and updateComponent().

◆ internalForces

FloatArray oofem::StokesFlow::internalForces
protected

Definition at line 86 of file stokesflow.h.

Referenced by solveYourselfAt(), and updateComponent().

◆ maxdef

double oofem::StokesFlow::maxdef = 1.
protected

Maximum deformation allowed.

Definition at line 82 of file stokesflow.h.

Referenced by initializeFrom(), and solveYourselfAt().

◆ meshqualityee

std :: unique_ptr< MeshQualityErrorEstimator > oofem::StokesFlow::meshqualityee
protected

Used for determining if a new mesh must be created.

Definition at line 80 of file stokesflow.h.

Referenced by initializeFrom(), and solveYourselfAt().

◆ nMethod

std :: unique_ptr< SparseNonLinearSystemNM > oofem::StokesFlow::nMethod
protected

Numerical method.

Definition at line 73 of file stokesflow.h.

Referenced by giveNumericalMethod(), and solveYourselfAt().

◆ solutionVector

FloatArray oofem::StokesFlow::solutionVector
protected

Definition at line 85 of file stokesflow.h.

Referenced by solveYourselfAt(), updateComponent(), and updateSolution().

◆ solverType

LinSystSolverType oofem::StokesFlow::solverType = ST_Direct
protected

Linear solver type.

Definition at line 75 of file stokesflow.h.

Referenced by oofem::StokesFlowVelocityHomogenization::computeTangent(), and initializeFrom().

◆ sparseMtrxType

SparseMtrxType oofem::StokesFlow::sparseMtrxType
protected

Sparse matrix type.

Definition at line 71 of file stokesflow.h.

Referenced by initializeFrom(), and solveYourselfAt().

◆ stiffnessMatrix

std :: unique_ptr< SparseMtrx > oofem::StokesFlow::stiffnessMatrix
protected

◆ ts

TopologyState oofem::StokesFlow::ts
protected

Topology state, most notably used for determining if there is a need to remesh.

Definition at line 89 of file stokesflow.h.

Referenced by initializeFrom(), solveYourselfAt(), and updateInternalState().

◆ velocityPressureField

std :: unique_ptr< PrimaryField > oofem::StokesFlow::velocityPressureField
protected

Primary unknowns.

Definition at line 69 of file stokesflow.h.

Referenced by giveUnknownComponent(), initializeFrom(), solveYourselfAt(), updateComponent(), and updateSolution().


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