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

#include <fluidstructureproblem.h>

Inheritance diagram for oofem::FluidStructureProblem:
Collaboration diagram for oofem::FluidStructureProblem:

Public Member Functions

 FluidStructureProblem (int i, EngngModel *_master=NULL)
virtual ~FluidStructureProblem ()
 Destructor.
void setContextOutputMode (ContextOutputMode contextMode)
void setUDContextOutputMode (int cStep)
void setProblemMode (problemMode pmode)
void solveYourselfAt (TimeStep *tStep) override
void initializeYourself (TimeStep *tStep) override
int initializeAdaptive (int stepNumber) override
void initializeFrom (InputRecord &ir) override
void printYourself ()
void printDofOutputAt (FILE *stream, Dof *iDof, TimeStep *atTime) override
void preInitializeNextStep () override
 Does a pre-initialization of the next time step (implement if necessarry).
const char * giveClassName () const override
 Returns class name of the receiver.
const char * giveInputRecordName () const override
int isIncremental ()
int useNonlocalStiffnessOption () override
 Returns nonzero if nonlocal stiffness option activated.
fMode giveFormulation () override
void giveCoupledModels (IntArray &answer)
 Returns list of model number that this model is coupled with. Used for staggered approach.
void showSparseMtrxStructure (int type, oofegGraphicContext &context, TimeStep *atTime) override
int giveNumberOfSlaveProblems () override
 Returns number of slave problems.
int giveIterationNumber ()
Public Member Functions inherited from oofem::StaggeredProblem
 StaggeredProblem (int i, EngngModel *_master=nullptr)
virtual ~StaggeredProblem ()
 Destructor.
 StaggeredProblem (const StaggeredProblem &)=delete
StaggeredProblemoperator= (const StaggeredProblem &)=delete
void setContextOutputMode (ContextOutputMode contextMode)
void setUDContextOutputMode (int cStep)
void setProblemMode (problemMode pmode)
void setRenumberFlag () override
 Sets the renumber flag to true.
void solveYourself () override
void solveYourselfAt (TimeStep *tStep) override
int forceEquationNumbering () override
void updateYourself (TimeStep *tStep) override
void initializeYourself (TimeStep *tStep) override
int initializeAdaptive (int tStepNumber) override
void terminate (TimeStep *tStep) override
void doStepOutput (TimeStep *tStep) override
int instanciateYourself (DataReader &dr, InputRecord &ir, const char *outFileName, const char *desc) override
void initializeFrom (InputRecord &ir) override
void updateAttributes (MetaStep *mStep) override
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
void updateDomainLinks () override
void printYourself ()
void printOutputAt (FILE *file, TimeStep *tStep) override
TimeStepgiveCurrentStep (bool force=false) override
TimeStepgivePreviousStep (bool force=false) override
TimeStepgiveSolutionStepWhenIcApply (bool force=false) override
EngngModelgiveTimeControl ()
int giveNumberOfFirstStep (bool force=false) override
TimeStepgiveNextStep () override
 Returns next time step (next to current step) of receiver.
const char * giveClassName () const override
 Returns class name of the receiver.
int useNonlocalStiffnessOption () override
 Returns nonzero if nonlocal stiffness option activated.
fMode giveFormulation () override
FunctiongiveDtFunction ()
double giveDeltaT (int n)
double giveDiscreteTime (int n)
void giveCoupledModels (IntArray &answer)
 Returns list of model number that this model is coupled with. Used for staggered approach.
void drawYourself (oofegGraphicContext &gc) override
void drawElements (oofegGraphicContext &gc) override
void drawNodes (oofegGraphicContext &gc) override
void showSparseMtrxStructure (int type, oofegGraphicContext &gc, TimeStep *tStep) override
int checkProblemConsistency () override
EngngModelgiveSlaveProblem (int i) override
 Returns i-th slave problem.
int giveNumberOfSlaveProblems () override
 Returns number of slave problems.
 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 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 restartYourself (TimeStep *tS)
void saveStepContext (TimeStep *tStep, ContextMode mode)
virtual int giveNumberOfDomainEquations (int di, const UnknownNumberingScheme &num)
virtual double giveUnknownComponent (ValueModeType, TimeStep *, Domain *, Dof *)
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)
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.
void initMetaStepAttributes (MetaStep *mStep)
MetaStepgiveCurrentMetaStep ()
 Returns current meta step.
virtual void adaptTimeStep (double nIter)
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.
virtual NumericalMethodgiveNumericalMethod (MetaStep *mStep)
 Returns reference to receiver's numerical method.
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 updateComponent (TimeStep *tStep, NumericalCmpn cmpn, Domain *d)
virtual void initForNewIteration (Domain *d, TimeStep *tStep, int iterationNumber, const FloatArray &solution)
virtual void updateSolution (FloatArray &solutionVector, TimeStep *tStep, Domain *d)
virtual void updateInternalRHS (FloatArray &answer, TimeStep *tStep, Domain *d, FloatArray *eNorm)
virtual void updateMatrix (SparseMtrx &mat, TimeStep *tStep, Domain *d)
virtual void initStepIncrements ()
virtual int forceEquationNumbering (int i)
virtual int requiresUnknownsDictionaryUpdate ()
virtual bool requiresEquationRenumbering (TimeStep *tStep)
virtual void updateDofUnknownsDictionary (DofManager *, TimeStep *)
virtual int giveUnknownDictHashIndx (ValueModeType mode, TimeStep *tStep)
virtual bool newDofHandling ()
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 checkConsistency ()
virtual void init ()
virtual void postInitialize ()
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.
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.
EngngModelContextgiveContext ()
 Context requesting service.
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.
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Protected Attributes

IntArray interactionParticles
int iterationNumber
 Iteration counter.
double rtolv
 Convergence tolerance.
double rtolp
int maxiter
 Max number of iterations.
Protected Attributes inherited from oofem::StaggeredProblem
std ::vector< std ::unique_ptr< EngngModel > > emodelList
 List of engineering models to solve sequentially.
double deltaT
std ::vector< std ::string > inputStreamNames
int dtFunction
 Associated time function for time step increment.
double stepMultiplier
FloatArray discreteTimes
 Specified times where the problem is solved.
int timeDefinedByProb
 Optional parameter which specify problems to define load time functions.
IntArray coupledModels
 List of slave models to which this model is coupled.
bool adaptiveStepLength
double minStepLength
 adaptive time step length - minimum
double maxStepLength
 adaptive time step length - maximum
double reqIterations
 adaptive time step length - required (=optimum) number of iterations
double adaptiveStepSince
 adaptive time step length applies after prescribed time
double endOfTimeOfInterest
double prevStepLength
double currentStepLength
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...
Protected Member Functions inherited from oofem::StaggeredProblem
int instanciateSlaveProblems ()
virtual void packMigratingData (TimeStep *tStep)
virtual void unpackMigratingData (TimeStep *tStep)

Detailed Description

Implementation of fluid-structure interaction ) problem based on Dirichlet-Neumann approach. The problem consists in pair of structural (DIIDynamic) and fluid (PFEM) problem.

The FluidStructureProblem provides an iterative synchronization of sub-problems. The convergence criterion is based on the difference of the pressure and velocity values on the interface from the subsequent iterative steps.

Definition at line 60 of file fluidstructureproblem.h.

Constructor & Destructor Documentation

◆ FluidStructureProblem()

oofem::FluidStructureProblem::FluidStructureProblem ( int i,
EngngModel * _master = NULL )

Constructor. Creates an engineering model with number i belonging to domain d.

Definition at line 61 of file fluidstructureproblem.C.

References iterationNumber, oofem::EngngModel::ndomains, oofem::StaggeredProblem::setRenumberFlag(), and oofem::StaggeredProblem::StaggeredProblem().

◆ ~FluidStructureProblem()

oofem::FluidStructureProblem::~FluidStructureProblem ( )
virtual

Destructor.

Definition at line 69 of file fluidstructureproblem.C.

Member Function Documentation

◆ giveClassName()

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

Returns class name of the receiver.

Implements oofem::EngngModel.

Definition at line 96 of file fluidstructureproblem.h.

◆ giveCoupledModels()

void oofem::FluidStructureProblem::giveCoupledModels ( IntArray & answer)
inline

Returns list of model number that this model is coupled with. Used for staggered approach.

Definition at line 104 of file fluidstructureproblem.h.

References oofem::StaggeredProblem::coupledModels.

◆ giveFormulation()

fMode oofem::FluidStructureProblem::giveFormulation ( )
inlineoverridevirtual

Indicates type of non linear computation (total or updated formulation). This is used for example on Nodal level to update coordinates if updated formulation is done, or on element level, when non linear contributions are computed.

Reimplemented from oofem::EngngModel.

Definition at line 101 of file fluidstructureproblem.h.

References oofem::UNKNOWN.

◆ giveInputRecordName()

const char * oofem::FluidStructureProblem::giveInputRecordName ( ) const
inlineoverridevirtual

Reimplemented from oofem::StaggeredProblem.

Definition at line 97 of file fluidstructureproblem.h.

References _IFT_FluidStructureProblem_Name.

◆ giveIterationNumber()

int oofem::FluidStructureProblem::giveIterationNumber ( )
inline

◆ giveNumberOfSlaveProblems()

int oofem::FluidStructureProblem::giveNumberOfSlaveProblems ( )
inlineoverridevirtual

Returns number of slave problems.

Reimplemented from oofem::EngngModel.

Definition at line 113 of file fluidstructureproblem.h.

References oofem::StaggeredProblem::inputStreamNames.

Referenced by oofem::InteractionLoad::computeValueAt(), and oofem::InteractionPFEMParticle::giveStructuralProblem().

◆ initializeAdaptive()

int oofem::FluidStructureProblem::initializeAdaptive ( int tStepNumber)
inlineoverridevirtual

Initializes the newly generated discretization state according to previous solution. This process should typically include restoring old solution, instanciating newly generated domain(s) and by mapping procedure.

Reimplemented from oofem::EngngModel.

Definition at line 86 of file fluidstructureproblem.h.

◆ initializeFrom()

void oofem::FluidStructureProblem::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.

Reimplemented from oofem::EngngModel.

Definition at line 74 of file fluidstructureproblem.C.

References _IFT_FluidStructureProblem_maxiter, _IFT_FluidStructureProblem_rtolp, _IFT_FluidStructureProblem_rtolv, IR_GIVE_OPTIONAL_FIELD, maxiter, rtolp, and rtolv.

◆ initializeYourself()

void oofem::FluidStructureProblem::initializeYourself ( TimeStep * tStep)
overridevirtual

Provides the opportunity to initialize state variables stored in element integration points according to initial conditions using function initializeYourself() on element level. Should be called when current time step is time step when IC will apply (see EngngModel::giveNumberOfTimeStepWhenIcApply) somewhere from solveYourselfAt function). Implementation must be provided. Default implementation is empty.

Reimplemented from oofem::EngngModel.

Definition at line 89 of file fluidstructureproblem.C.

References oofem::StaggeredProblem::emodelList, oofem::StaggeredProblem::giveCurrentStep(), oofem::DIIDynamic::giveInitialTimeDiscretization(), and oofem::NonLinearDynamic::giveInitialTimeDiscretization().

Referenced by setProblemMode().

◆ isIncremental()

int oofem::FluidStructureProblem::isIncremental ( )
inline

Definition at line 98 of file fluidstructureproblem.h.

◆ preInitializeNextStep()

void oofem::FluidStructureProblem::preInitializeNextStep ( )
overridevirtual

Does a pre-initialization of the next time step (implement if necessarry).

Reimplemented from oofem::EngngModel.

Definition at line 179 of file fluidstructureproblem.C.

References oofem::StaggeredProblem::emodelList.

◆ printDofOutputAt()

void oofem::FluidStructureProblem::printDofOutputAt ( FILE * stream,
Dof * iDof,
TimeStep * tStep )
inlineoverridevirtual

DOF printing routine. Called by DofManagers to print Dof specific part. Dof class provides component printing routines, but emodel is responsible for what will be printed at DOF level.

Parameters
streamoutput stream
iDofdof to be processed
tStepsolution step

Reimplemented from oofem::EngngModel.

Definition at line 91 of file fluidstructureproblem.h.

◆ printYourself()

void oofem::FluidStructureProblem::printYourself ( )

◆ setContextOutputMode()

void oofem::FluidStructureProblem::setContextOutputMode ( ContextOutputMode contextMode)

◆ setProblemMode()

void oofem::FluidStructureProblem::setProblemMode ( problemMode pmode)

◆ setUDContextOutputMode()

void oofem::FluidStructureProblem::setUDContextOutputMode ( int cStep)

◆ showSparseMtrxStructure()

void oofem::FluidStructureProblem::showSparseMtrxStructure ( int type,
oofegGraphicContext & context,
TimeStep * atTime )
inlineoverridevirtual

Shows the sparse structure of required matrix, type == 1 stiffness.

Reimplemented from oofem::EngngModel.

Definition at line 110 of file fluidstructureproblem.h.

References oofem::EngngModel::context.

◆ solveYourselfAt()

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

Solves problem for given time step. Should assemble characteristic matrices and vectors if necessary and solve problem using appropriate numerical method. After finishing solution, this->updateYourself function for updating solution state and then this->terminate function (for updating nodal and element values) should be called.

Reimplemented from oofem::EngngModel.

Definition at line 106 of file fluidstructureproblem.C.

References oofem::FloatArray::at(), oofem::FloatArray::computeNorm(), oofem::StaggeredProblem::emodelList, oofem::InteractionPFEMParticle::giveCoupledVelocities(), oofem::Domain::giveDofManager(), oofem::DofManager::giveDofWithID(), oofem::EngngModel::giveDomain(), oofem::TimeStep::giveNumber(), oofem::Domain::giveNumberOfDofManagers(), oofem::FloatArray::giveSize(), oofem::StaggeredProblem::giveSlaveProblem(), oofem::TimeStep::giveTargetTime(), oofem::PFEM::giveUnknownComponent(), oofem::TimeStep::incrementStateCounter(), interactionParticles, oofem::TimeStep::isTheFirstStep(), iterationNumber, maxiter, OOFEM_ERROR, OOFEM_LOG_RELEVANT, oofem::FloatArray::resize(), rtolp, and rtolv.

Referenced by setProblemMode().

◆ useNonlocalStiffnessOption()

int oofem::FluidStructureProblem::useNonlocalStiffnessOption ( )
inlineoverridevirtual

Returns nonzero if nonlocal stiffness option activated.

Reimplemented from oofem::EngngModel.

Definition at line 99 of file fluidstructureproblem.h.

Member Data Documentation

◆ interactionParticles

IntArray oofem::FluidStructureProblem::interactionParticles
protected

Definition at line 63 of file fluidstructureproblem.h.

Referenced by solveYourselfAt().

◆ iterationNumber

int oofem::FluidStructureProblem::iterationNumber
protected

Iteration counter.

Definition at line 65 of file fluidstructureproblem.h.

Referenced by FluidStructureProblem(), giveIterationNumber(), and solveYourselfAt().

◆ maxiter

int oofem::FluidStructureProblem::maxiter
protected

Max number of iterations.

Definition at line 70 of file fluidstructureproblem.h.

Referenced by initializeFrom(), and solveYourselfAt().

◆ rtolp

double oofem::FluidStructureProblem::rtolp
protected

Definition at line 68 of file fluidstructureproblem.h.

Referenced by initializeFrom(), and solveYourselfAt().

◆ rtolv

double oofem::FluidStructureProblem::rtolv
protected

Convergence tolerance.

Definition at line 68 of file fluidstructureproblem.h.

Referenced by initializeFrom(), and solveYourselfAt().


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