ElmerFoamFSI  2.0
ElmerFoamFSI is fluid-solid interaction simulation application built up from OpenFOAM CFD and Elmer CSM coupled through the IMPACT multiphysics software integration infrastructure.
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Groups Pages
fsicoupling Class Reference

Detailed Description

Definition at line 26 of file FsiCoupling.H.

#include <FsiCoupling.H>

Public Member Functions

 fsicoupling ()
 
 fsicoupling (GlobalType &globin)
 
void SetVerbLevel (int verb)
 
int VerbLevel () const
 
int TransferDisplacementsToFluid (solidagent *solidAgent, fluidagent *fluidAgent)
 
int TransferLoadsToStructures (fluidagent *fluidAgent, solidagent *solidAgent)
 
int TransferPressuresToStructures (fluidagent *fluidAgent, solidagent *solidAgent)
 
void SetRunMode (const std::string &inMode)
 
void WriteVTK (bool toggle)
 
void WriteHDF (bool toggle)
 
void TestTransfer ()
 
int WriteAgentToVTK (const std::string &nameRoot, SolverUtils::FEM::SolverAgent &solverAgent)
 
virtual int DumpSolution ()
 
virtual int Initialize (std::vector< std::string > &componentInterfaceNames, double finalTime, double timeStep)
 
virtual int Run ()
 
virtual int Finalize ()
 
std::vector< std::string > getVariable ()
 Helper function that allows access to protected data members. More...
 
double getSimulationTime ()
 
double getSimulationFinalTime ()
 
int getRunMode ()
 
fluidagentgetFluidAgent ()
 
solidagentgetStructureAgent ()
 
std::string getFluidIntName ()
 
std::string getSolidIntName ()
 
- Public Member Functions inherited from couplingbase
 couplingbase ()
 
virtual void SetErrStream (std::ostream &oStream)
 
virtual void SetOutStream (std::ostream &oStream)
 
virtual int Initialize (std::vector< std::string > &componentInterfaceNames)
 
virtual void WriteOut (const std::string &output)
 
virtual void WriteErr (const std::string &output)
 
virtual ~couplingbase ()
 

Protected Attributes

fluidagentfluidsAgent
 
solidagentstructuresAgent
 
transferagenttransferAgent
 
std::string fluidsInterfaceName
 
std::string structuresInterfaceName
 
std::string transferInterfaceName
 
std::string surfUtilInterfaceName
 
std::string simpalInterfaceName
 
double simulationTime
 
double simulationFinalTime
 
double simulationTimeStep
 
int runMode
 
bool writeHDF
 
bool writeVTK
 
int verblevel
 
- Protected Attributes inherited from couplingbase
std::vector
< impact::orchestrator::agentbase * > 
componentAgents
 
std::vector< double > realNumbers
 
std::vector< int > intNumbers
 
std::ostream * errStream
 
std::ostream * outStream
 

Additional Inherited Members

- Public Types inherited from couplingbase
enum  {
  TIME =0, DT, START_TIME, END_TIME,
  INTERVAL1, INTERVAL2, NUMBER_OF_REALS
}
 
enum  {
  STEP, MAX_STEP, FREQUENCY1, FREQUENCY2,
  NUMBER_OF_INTEGERS
}
 
Inheritance diagram for fsicoupling:
[legend]
Collaboration diagram for fsicoupling:
[legend]

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