Load the IBM information from the lua config file.
The information has to be provided in the \a immersed_boundary \a table as a single table
immersed_boundary = {
logging = {
level = 20, -- level of logging
filename = 'IBMdeb/test', -- file to write the log
root_only = false -- should only root write msgs?
},
label = 'surface',
kind = 'IBM',
stlfiles = {'stl/surface1.stl', 'stl/surface2.stl'},
dump_stl = {
time_control = {
min = {iter=0},
max = {iter=tmax},
interval = {iter=interval}
},
outprefix = 'test_',
},
inaIters = 4,
movement = mov_pulse,
velocity = vel_pulse
}
or as multiple tables
immersed_boundary = {
logging = {
level = 20, -- level of logging
filename = 'IBMdeb/test', -- file to write the log
root_only = false -- should only root write msgs?
},
{
label = 'surface',
kind = 'IBM',
stlfiles = {'stl/surface1.stl', 'stl/surface2.stl'},
dump_stl = {
time_control = {
min = {iter=0},
max = {iter=tmax},
interval = {iter=interval}
},
outprefix = 'test_',
},
inaIters = 4,
movement = mov_pulse,
velocity = vel_pulse
}
}
in the mus_field table.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mus_IBM_globType), | intent(inout) | :: | me | datatype to store the surface information |
||
type(flu_state), | intent(in) | :: | conf | handle of the lua config file |
||
integer, | intent(in) | :: | rank | the current rank |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | ibm_handle | ||||
integer, | private | :: | ibm_sub_handle | ||||
integer, | private | :: | log_handle | ||||
integer, | private | :: | iIBM | ||||
integer, | private | :: | offset |