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
void SetRunMode ( const std::string &  inMode)
inline

Definition at line 159 of file FsiCouplingPar.H.

References runMode.

160  {
161  std::stringstream outString;
162  if(inMode == "Fluid" ||
163  inMode == "fluid"){
164  runMode = 1;
165  } else if(inMode == "Structure" ||
166  inMode == "structure" ||
167  inMode == "Solid" ||
168  inMode == "solid"){
169  runMode = 2;
170  } else {
171  runMode = 0;
172  }
173  };