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
generalmodule Module Reference

ElmerLib Elmer library routines More...

Detailed Description

ElmerLib Elmer library routines

The main program for Elmer. Solves the equations as defined by the input files.

Definition at line 55 of file GeneralModule.F90.

Public Member Functions

subroutine initcond ()
 
subroutine restart ()
 Check if we are restarting are if yes, read in field values. More...
 
subroutine execsimulation (TimeIntervals, CoupledMinIter, CoupledMaxIter, OutputIntervals, Transient, Scanning)
 Execute the individual solvers in defined sequence. More...
 

Public Attributes

integer initialize
 
integer i
 
integer j
 
integer k
 
integer n
 
integer l
 
integer t
 
integer k1
 
integer k2
 
integer iter
 
integer ndeg
 
integer istat
 
integer nproc
 
integer tlen
 
integer nthreads
 
character(len=max_string_len) threads
 
real(kind=dp) s
 
real(kind=dp) dt
 
real(kind=dp) dtfunc
 
real(kind=dp), dimension(:,:,:),
pointer 
worka => NULL()
 
real(kind=dp), dimension(:),
pointer, save 
stime
 
real(kind=dp), dimension(:),
pointer, save 
sstep
 
real(kind=dp), dimension(:),
pointer, save 
sinterval
 
real(kind=dp), dimension(:),
pointer, save 
ssize
 
real(kind=dp), dimension(:),
pointer, save 
steadyit
 
real(kind=dp), dimension(:),
pointer, save 
nonlinit
 
real(kind=dp), dimension(:,:),
pointer, save 
sprevsizes
 
real(kind=dp), dimension(:),
pointer, save 
speriodic
 
type(element_t), pointer currentelement
 
logical gotit
 
logical transient
 
logical scanning
 
logical lastsaved
 
integer timeintervals
 
integer interval
 
integer timestep
 
integer totaltimesteps
 
integer savedsteps
 
integer coupledmaxiter
 
integer coupledminiter
 
integer, dimension(:), pointer,
save 
timesteps
 
integer, dimension(:), pointer,
save 
outputintervals
 
integer, dimension(:), pointer,
save 
activesolvers
 
real(kind=dp), dimension(:,:),
pointer, save 
timestepsizes
 
integer(kind=addrint) controlprocedure
 
logical initdirichlet
 
logical execthis
 
type(elementtype_t), pointer elmt
 
type(parenv_t), pointer parallelenv
 
character(len=max_name_len) modelname
 
character(len=max_name_len) eq
 
character(len=max_name_len) execcommand
 
character(len=max_string_len) outputfile
 
character(len=max_string_len) postfile
 
character(len=max_string_len) restartfile
 
character(len=max_string_len) outputname =' '
 
character(len=max_string_len) postname =' '
 
character(len=max_string_len) when
 
character(len=max_string_len) optionstring
 
type(variable_t), pointer var
 
type(mesh_t), pointer mesh
 
type(solver_t), pointer solver
 
real(kind=dp) ct0
 
real(kind=dp) rt0
 
real(kind=dp) tt
 
logical firstload = .TRUE.
 
logical firsttime =.TRUE.
 
logical found
 
logical silent
 
logical version
 
logical gotmodelname
 
integer noargs
 
integer extrudelevels
 
type(mesh_t), pointer extrudedmesh
 
integer omp_get_max_threads
 
integer myverbosity = 1
 
subroutine addvtuoutputsolverhack ()
 
subroutine addsolvers ()
 Adds flags for active solvers. More...
 
subroutine addmeshcoordinatesandtime ()
 Adds coordinate and time variables to the current mesh structure. More...
 
subroutine setinitialconditions ()
 Sets initial conditions for the fields. More...
 
subroutine savecurrent (CurrentStep)
 Saves current timestep to external files. More...
 
subroutine savetopost (CurrentStep)
 Saves results file to post processing file of ElmerPost format, if requested. More...
 
type(model_t) function, pointer elmerloadmodel (ModelName, BoundariesOnly, numprocs, mype)
 Release a mesh from the list of meshes. More...
 

The documentation for this module was generated from the following file: