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 Unload ( const std::string &  name)
static

Unloads the IcoFoamModule.

Definition at line 3257 of file fsiFOAM.C.

3257  {
3258  std::cout << "FsiFoam:Unload: Unloading FsiFoamModule with name " << name
3259  << "." << std::endl;
3260  fsifoam_module *module_pointer = NULL;
3261  std::string global_name(name+".global");
3262  COM_get_object(global_name.c_str(),0,&module_pointer);
3263  COM_assertion_msg( module_pointer->validate_object()==0, "Invalid object");
3264  delete module_pointer;
3265  COM_delete_window(std::string(name));
3266 }