3138 std::cout <<
"FsiFoam:Load: Loading FsiFoamModule with name " << name
3139 <<
"." << std::endl;
3143 COM_new_window(name, MPI_COMM_NULL);
3145 std::string global_name(name+
".global");
3146 COM_new_dataitem(global_name.c_str(),
'w',COM_VOID,1,
"");
3147 COM_set_object(global_name.c_str(),0,module_pointer);
3151 std::vector<COM_Type> types(13,COM_INT);
3153 types[0] = COM_RAWDATA;
3154 types[2] = COM_VOID;
3155 COM_set_member_function( (name+
".InitFoam").c_str(),
3157 global_name.c_str(),
"biii", &types[0]);
3159 COM_set_member_function( (name+
".RunFoam").c_str(),
3161 global_name.c_str(),
"b", &types[0]);
3164 COM_set_member_function( (name+
".StepFoam").c_str(),
3166 global_name.c_str(),
"b", &types[0]);
3168 COM_set_member_function( (name+
".StepFluid").c_str(),
3170 global_name.c_str(),
"b", &types[0]);
3180 COM_window_init_done(name);
void StepFoam()
the OpenFOAM stepping
void InitFoam(int *pargc, void **pargv, int *verbIn)
function to register through IMPACT
void RunFoam()
the OpenFOAM main
std::string my_window_name
void StepFluid()
the OpenFOAM stepping fluid alone