|
Neko 1.99.11
A portable framework for high-order spectral element flow simulations
|


Public Member Functions | |
| procedure, pass(this) | init (this, json, fields, coef, variable_name) |
| Constructor from json. | |
| procedure, pass(this) | init_constant (this, fields, coef, start_time, end_time, amplitudes, fringe_registry_name, bf_registry_pref, dump_fields, dump_fname, constant_values) |
| Initialize a sponge with a constant baseflow. | |
| procedure, pass(this) | init_user (this, fields, coef, start_time, end_time, amplitudes, fringe_registry_name, bf_registry_pref, dump_fields, dump_fname) |
| Initialize a sponge with a baseflow imported by the user. | |
| procedure, pass(this) | init_field (this, fields, coef, start_time, end_time, amplitudes, fringe_registry_name, bf_registry_pref, dump_fields, dump_fname, file_name, interpolate, mesh_file_name, interp_subdict) |
| Initialize a sponge with a baseflow imported from a field file. | |
| procedure, pass(this) | init_noop (this, fields, coef, start_time, end_time, amplitudes, fringe_registry_name, bf_registry_pref, dump_fields, dump_fname) |
| Initialize a sponge with a baseflow from another sponge object. | |
| procedure, pass(this) | init_common (this, fields, coef, start_time, end_time, amplitudes, fringe_registry_name, bf_registry_pref, dump_fields, dump_fname) |
| Common constructor. | |
| procedure, pass(this) | free (this) |
| Destructor. | |
| procedure, pass(this) | compute_ (this, time) |
| Compute the sponge field. | |
| procedure, pass(this) | init_base (this, fields, coef, start_time, end_time) |
| Constructor for the source_term_t (base) type. | |
| procedure, pass(this) | free_base (this) |
| Destructor for the source_term_t (base) type. | |
| procedure, pass(this) | compute (this, time) |
| Executes compute_ based on time conditions. | |
| procedure(source_term_init), deferred, pass | init (this, json, fields, coef, variable_name) |
| The common constructor using a JSON object. | |
| procedure(source_term_free), deferred, pass | free (this) |
| Destructor. | |
| procedure(source_term_compute), deferred, pass | compute_ (this, time) |
| Computes the source term and adds the result to fields. | |
Public Attributes | |
| type(field_t), pointer | u => null() |
| Velocity components at current time. | |
| type(field_t), pointer | v => null() |
| type(field_t), pointer | w => null() |
| type(field_t), pointer | u_bf => null() |
| Base flow components. | |
| type(field_t), pointer | v_bf => null() |
| type(field_t), pointer | w_bf => null() |
| character(len=1024) | bf_rgstry_pref |
| Suffix for the base flow fields in the neko field registry. | |
| logical | baseflow_set = .false. |
| Flag indicating wether the baseflow has been set by the user. | |
| logical | baseflow_is_ic = .false. |
| Indicates wether the baseflow should be applied from the initial condition. | |
| type(field_t), pointer | fringe => null() |
| Fringe field. This field need to be added to the registry and filled by the user. | |
| real(kind=rp), dimension(3) | amplitudes |
| Fringe amplitude in the 3 cartesian directions. | |
| character(len=1024) | fringe_registry_name |
| Name of the fringe field in the neko field registry. | |
| logical | dump_fields = .false. |
| Wether or not to write the fringe field to disk. | |
| character(neko_fname_len) | dump_fname |
| Name of the fld file in which to dump the fields. | |
| logical | check = .true. |
| Flag to check for the existence of fringe and baseflow fields. | |
| type(field_list_t) | fields |
| The fields to be updated with the source term values. | |
| type(coef_t), pointer | coef => null() |
| Coefficients for the SEM. | |
| real(kind=rp) | start_time = 0.0_rp |
| Start time for adding the source term. | |
| real(kind=rp) | end_time = huge(0.0_rp) |
| End time for adding the source term. | |
| logical | extrapolate = .true. |
| Whether the owning scheme may extrapolate this term in time together with its other explicit terms. | |
Definition at line 65 of file sponge_source_term.f90.
|
inherited |
| time | Time state. |
Definition at line 63 of file source_term.f90.
|
pure virtualinherited |
Definition at line 69 of file source_term.f90.
| procedure, pass(this) sponge_source_term::sponge_source_term_t::compute_ | ( | class(sponge_source_term_t), intent(inout) | this, |
| type(time_state_t), intent(in) | time ) |
The fringe field must be added to the regisry and filled by the user according to where they want to apply the sponge. NOTE: Unfortunately this function is JSON dependent due to the initial condition being JSON dependent quite deep, there should be a nice way to get rid of that but it should take some effort.
| time | The current time state. |
Definition at line 116 of file sponge_source_term.f90.
|
pure virtualinherited |
Definition at line 67 of file source_term.f90.
| procedure, pass(this) sponge_source_term::sponge_source_term_t::free | ( | class(sponge_source_term_t), intent(inout) | this | ) |
Definition at line 114 of file sponge_source_term.f90.
|
inherited |
Definition at line 61 of file source_term.f90.
|
pure virtualinherited |
Definition at line 65 of file source_term.f90.
| procedure, pass(this) sponge_source_term::sponge_source_term_t::init | ( | class(sponge_source_term_t), intent(inout) | this, |
| type(json_file), intent(inout) | json, | ||
| type(field_list_t), intent(in), target | fields, | ||
| type(coef_t), intent(in), target | coef, | ||
| character(len=*), intent(in) | variable_name ) |
Definition at line 97 of file sponge_source_term.f90.
|
inherited |
| fields | A list of pointers to fields to be updated by the source term. |
| coef | SEM coefs. |
| start_time | When to start adding the source term. |
| end_time | When to stop adding the source term. |
Definition at line 59 of file source_term.f90.
| procedure, pass(this) sponge_source_term::sponge_source_term_t::init_common | ( | class(sponge_source_term_t), intent(inout) | this, |
| type(field_list_t), intent(in), target | fields, | ||
| type(coef_t), intent(in), target | coef, | ||
| real(kind=rp), intent(in) | start_time, | ||
| real(kind=rp), intent(in) | end_time, | ||
| real(kind=rp), dimension(:), intent(in) | amplitudes, | ||
| character(len=*), intent(in) | fringe_registry_name, | ||
| character(len=*), intent(in) | bf_registry_pref, | ||
| logical, intent(in) | dump_fields, | ||
| character(len=*), intent(in) | dump_fname ) |
Definition at line 111 of file sponge_source_term.f90.
| procedure, pass(this) sponge_source_term::sponge_source_term_t::init_constant | ( | class(sponge_source_term_t), intent(inout) | this, |
| type(field_list_t), intent(in), target | fields, | ||
| type(coef_t), intent(in), target | coef, | ||
| real(kind=rp), intent(in) | start_time, | ||
| real(kind=rp), intent(in) | end_time, | ||
| real(kind=rp), dimension(:), intent(in) | amplitudes, | ||
| character(len=*), intent(in) | fringe_registry_name, | ||
| character(len=*), intent(in) | bf_registry_pref, | ||
| logical, intent(in) | dump_fields, | ||
| character(len=*), intent(in) | dump_fname, | ||
| real(kind=rp), dimension(:), intent(in) | constant_values ) |
Definition at line 99 of file sponge_source_term.f90.
| procedure, pass(this) sponge_source_term::sponge_source_term_t::init_field | ( | class(sponge_source_term_t), intent(inout) | this, |
| type(field_list_t), intent(in), target | fields, | ||
| type(coef_t), intent(in), target | coef, | ||
| real(kind=rp), intent(in) | start_time, | ||
| real(kind=rp), intent(in) | end_time, | ||
| real(kind=rp), dimension(:), intent(in) | amplitudes, | ||
| character(len=*), intent(in) | fringe_registry_name, | ||
| character(len=*), intent(in) | bf_registry_pref, | ||
| logical, intent(in) | dump_fields, | ||
| character(len=*), intent(in) | dump_fname, | ||
| character(len=*), intent(in) | file_name, | ||
| logical, intent(in) | interpolate, | ||
| character(len=*), intent(inout) | mesh_file_name, | ||
| type(json_file), intent(inout) | interp_subdict ) |
Definition at line 105 of file sponge_source_term.f90.
| procedure, pass(this) sponge_source_term::sponge_source_term_t::init_noop | ( | class(sponge_source_term_t), intent(inout) | this, |
| type(field_list_t), intent(in), target | fields, | ||
| type(coef_t), intent(in), target | coef, | ||
| real(kind=rp), intent(in) | start_time, | ||
| real(kind=rp), intent(in) | end_time, | ||
| real(kind=rp), dimension(:), intent(in) | amplitudes, | ||
| character(len=*), intent(in) | fringe_registry_name, | ||
| character(len=*), intent(in) | bf_registry_pref, | ||
| logical, intent(in) | dump_fields, | ||
| character(len=*), intent(in) | dump_fname ) |
Definition at line 108 of file sponge_source_term.f90.
| procedure, pass(this) sponge_source_term::sponge_source_term_t::init_user | ( | class(sponge_source_term_t), intent(inout) | this, |
| type(field_list_t), intent(in), target | fields, | ||
| type(coef_t), intent(in), target | coef, | ||
| real(kind=rp), intent(in) | start_time, | ||
| real(kind=rp), intent(in) | end_time, | ||
| real(kind=rp), dimension(:), intent(in) | amplitudes, | ||
| character(len=*), intent(in) | fringe_registry_name, | ||
| character(len=*), intent(in) | bf_registry_pref, | ||
| logical, intent(in) | dump_fields, | ||
| character(len=*), intent(in) | dump_fname ) |
Definition at line 102 of file sponge_source_term.f90.
| real(kind=rp), dimension(3) sponge_source_term::sponge_source_term_t::amplitudes |
Definition at line 86 of file sponge_source_term.f90.
| logical sponge_source_term::sponge_source_term_t::baseflow_is_ic = .false. |
Definition at line 81 of file sponge_source_term.f90.
| logical sponge_source_term::sponge_source_term_t::baseflow_set = .false. |
Definition at line 78 of file sponge_source_term.f90.
| character(len=1024) sponge_source_term::sponge_source_term_t::bf_rgstry_pref |
Definition at line 76 of file sponge_source_term.f90.
| logical sponge_source_term::sponge_source_term_t::check = .true. |
Definition at line 94 of file sponge_source_term.f90.
|
inherited |
Definition at line 49 of file source_term.f90.
| logical sponge_source_term::sponge_source_term_t::dump_fields = .false. |
Definition at line 90 of file sponge_source_term.f90.
| character(neko_fname_len) sponge_source_term::sponge_source_term_t::dump_fname |
Definition at line 92 of file sponge_source_term.f90.
|
inherited |
Definition at line 53 of file source_term.f90.
|
inherited |
Definition at line 56 of file source_term.f90.
|
inherited |
Definition at line 47 of file source_term.f90.
| type(field_t), pointer sponge_source_term::sponge_source_term_t::fringe => null() |
Definition at line 84 of file sponge_source_term.f90.
| character(len=1024) sponge_source_term::sponge_source_term_t::fringe_registry_name |
Definition at line 88 of file sponge_source_term.f90.
|
inherited |
Definition at line 51 of file source_term.f90.
| type(field_t), pointer sponge_source_term::sponge_source_term_t::u => null() |
Definition at line 68 of file sponge_source_term.f90.
| type(field_t), pointer sponge_source_term::sponge_source_term_t::u_bf => null() |
Definition at line 72 of file sponge_source_term.f90.
| type(field_t), pointer sponge_source_term::sponge_source_term_t::v => null() |
Definition at line 69 of file sponge_source_term.f90.
| type(field_t), pointer sponge_source_term::sponge_source_term_t::v_bf => null() |
Definition at line 73 of file sponge_source_term.f90.
| type(field_t), pointer sponge_source_term::sponge_source_term_t::w => null() |
Definition at line 70 of file sponge_source_term.f90.
| type(field_t), pointer sponge_source_term::sponge_source_term_t::w_bf => null() |
Definition at line 74 of file sponge_source_term.f90.