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
virtual int DumpSolution ( )
inlinevirtual

Reimplemented from couplingbase.

Definition at line 200 of file FsiCouplingPar.H.

References fluidsAgent, fluidsInterfaceName, runMode, simulationTime, structuresAgent, structuresInterfaceName, WriteAgentToVTK(), and writeHDF.

201  {
202  std::stringstream outString;
203  outString << "FSICoupling: Dumping solutions." << std::endl;
204  StdOut(outString.str(),2,true);
205  outString.clear();
206  outString.str("");
207  if(runMode < 2){
208  if(writeHDF)
209  SolverUtils::WriteWindow(fluidsInterfaceName,simulationTime);
210  if(false)
211  WriteAgentToVTK("fluid",*fluidsAgent);
212  }
213  if(!(runMode == 1)){
214  if(writeHDF)
215  SolverUtils::WriteWindow(structuresInterfaceName,simulationTime);
216  if(false)
217  WriteAgentToVTK("structure",*structuresAgent);
218  }
219  outString << "FSICoupling: Done with solution dump." << std::endl;
220  StdOut(outString.str(),2,true);
221  outString.clear();
222  outString.str("");
223  return(0);
224  }
solidagentpar * structuresAgent
std::string fluidsInterfaceName
std::string structuresInterfaceName
int WriteAgentToVTK(const std::string &nameRoot, SolverUtils::FEM::SolverAgent &solverAgent)
double simulationTime
fluidagentpar * fluidsAgent

Here is the call graph for this function: