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
int main ( int  argc,
char *  argv[] 
)

Definition at line 42 of file ar/icoFsiElasticNonLinULSolidFoam.C.

References fsifoam_module::CreateFluidFields(), fsifoam_module::CreateInterZoneInterpolators(), fsifoam_module::CreateStructuresFields(), fsifoam_module::Dump(), fsifoam_module::FindGlobalFaceZones(), fsifoam_module::InitFluidMesh(), fsifoam_module::InitStructuresMesh(), fsifoam_module::InitTransportProperties(), fsifoam_module::ReadCouplingProperties(), fsifoam_module::RunTime(), and fsifoam_module::Step().

43 {
44 
45  fsifoam_module fsifoam(argc,argv);
46 
47  fsifoam.InitFluidMesh();
48  fsifoam.InitTransportProperties();
49  fsifoam.CreateFluidFields();
50  fsifoam.InitStructuresMesh();
51  fsifoam.CreateStructuresFields();
52  fsifoam.ReadCouplingProperties();
53  fsifoam.CreateInterZoneInterpolators();
54  fsifoam.FindGlobalFaceZones();
55 
56  Foam::Time &runTime(fsifoam.RunTime());
57 
58  //* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
59 
60  Info << "\nicoFsiElasticNonLinULSolidFoam:main: Starting time loop\n" << endl;
61 
62 
63  while(!runTime.end()){
64  Info << "icoFsiElasticNonLinULSolidFoam:main: Time = " << runTime.timeName() << nl << endl;
65  fsifoam.Step();
66  Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
67  << " ClockTime = " << runTime.elapsedClockTime() << " s"
68  << endl << endl;
69  if (runTime.outputTime())
70  fsifoam.Dump();
71  }
72 
73  Info<< "icoFsiElasticNonLinULSolidFoam:main: End\n" << endl;
74 
75  return(0);
76 }

Here is the call graph for this function: