private subroutine load_temporal_from_file(me, conf, thandle)
This subroutine loads the information needed to read data from a file.
Example: Read time periodic velocity signals from file 'data.dat' as inlet
condition without interpolation between the velocity signals.
boundary_condition =
{
{ label = 'inlet' ,
kind = 'inlet_ubb' ,
velocityX = { kind = 'combined' ,
temporal = { predefined = 'datafile' ,
filename = 'data.dat' ,
intp = 'none' ,
periodic = true
}
},
velocityY = 0.0
velocityZ = 0.0
}
}
The options for interpolating the values are
\li \a 'none': No interpolation is used. The signals will be chosen by:
[t1,t2[ = v1, [t2,t3[ = v2, ...
\li \a 'linear': A linear interpolation is done between neighboring
values according to the following equation:
\f[
\frac{v_{i+1}-v_{i}}{t_{i+1}-t_{i}} \cdot
(t_{sim} \% t_{period} - t_{i}) + v_{i}
\f]
Arguments
Type Intent Optional Attributes Name
type(tem_from_file_temporal_type ),
intent(inout)
::
me temporal predefined from_file type
type(flu_State)
::
conf lua state type
integer,
intent(in)
::
thandle aotus parent handle
Calls
proc~~load_temporal_from_file~~CallsGraph
proc~load_temporal_from_file
load_temporal_from_file
proc~tem_abort
tem_abort
proc~load_temporal_from_file->proc~tem_abort
interface~aot_get_val~2
aot_get_val
proc~load_temporal_from_file->interface~aot_get_val~2
proc~load_datafile
load_datafile
proc~load_temporal_from_file->proc~load_datafile
proc~aot_table_open
aot_table_open
proc~load_temporal_from_file->proc~aot_table_open
mpi_abort
mpi_abort
proc~tem_abort->mpi_abort
proc~load_datafile->proc~tem_abort
proc~tem_open
tem_open
proc~load_datafile->proc~tem_open
interface~append~16
append
proc~load_datafile->interface~append~16
interface~init~15
init
proc~load_datafile->interface~init~15
proc~tem_open->proc~tem_abort
proc~upper_to_lower
upper_to_lower
proc~tem_open->proc~upper_to_lower
proc~newunit
newunit
proc~tem_open->proc~newunit
proc~append_singlega2d_real
append_singlega2d_real
interface~append~16->proc~append_singlega2d_real
proc~append_arrayga2d_real
append_arrayga2d_real
interface~append~16->proc~append_arrayga2d_real
proc~init_ga2d_real
init_ga2d_real
interface~init~15->proc~init_ga2d_real
interface~expand~14
expand
proc~append_singlega2d_real->interface~expand~14
proc~append_arrayga2d_real->interface~expand~14
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Called by
proc~~load_temporal_from_file~~CalledByGraph
proc~load_temporal_from_file
load_temporal_from_file
proc~tem_load_temporal
tem_load_temporal
proc~tem_load_temporal->proc~load_temporal_from_file
proc~load_spacetime_predefined
load_spacetime_predefined
proc~load_spacetime_predefined->proc~tem_load_temporal
proc~tem_load_spacetime_single
tem_load_spacetime_single
proc~tem_load_spacetime_single->proc~load_spacetime_predefined
proc~tem_load_spacetime_single->proc~tem_load_spacetime_single
proc~tem_load_spacetime_table
tem_load_spacetime_table
proc~tem_load_spacetime_table->proc~tem_load_spacetime_single
interface~tem_load_spacetime
tem_load_spacetime
interface~tem_load_spacetime->proc~tem_load_spacetime_single
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Variables
Type Visibility Attributes Name Initial
integer,
private ::
iError
integer,
private ::
rampHandle