|
Neko 1.99.11
A portable framework for high-order spectral element flow simulations
|
A Brinkman source term. The region and strength are controlled by assigning regions types and brinkman limits to the source term. More...


Public Member Functions | |
| procedure, pass(this), public | init (this, json, fields, coef, variable_name) |
| The common constructor using a JSON object. | |
| procedure, pass(this), public | free (this) |
| Destructor. | |
| procedure, pass(this), public | compute_ (this, time) |
| Computes the source term and adds the result to fields. | |
| procedure, pass(this) | add_boundary_mesh (this, json) |
| Initializes the source term from a boundary mesh. | |
| procedure, pass(this) | add_point_zone (this, json) |
| Initializes the source term from a point zone. | |
| procedure, pass(this) | add_file (this, json) |
| Initializes the source term from a file. | |
| procedure, pass(this) | add_field (this, json) |
| Initializes the source term from a 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 | indicator => null() |
| The value of the source term. | |
| type(field_t), pointer | brinkman => null() |
| Brinkman permeability field. | |
| class(filter_t), allocatable | filter |
| Filter. | |
| 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. | |
Private Attributes | |
| type(field_t), pointer | unfiltered => null() |
| The unfiltered indicator field. | |
Definition at line 77 of file brinkman_source_term.f90.
| procedure, pass(this) brinkman_source_term::brinkman_source_term_t::add_boundary_mesh | ( | class(brinkman_source_term_t), intent(inout) | this, |
| type(json_file), intent(inout) | json ) |
Definition at line 102 of file brinkman_source_term.f90.
| procedure, pass(this) brinkman_source_term::brinkman_source_term_t::add_field | ( | class(brinkman_source_term_t), intent(inout) | this, |
| type(json_file), intent(inout) | json ) |
Definition at line 105 of file brinkman_source_term.f90.
| procedure, pass(this) brinkman_source_term::brinkman_source_term_t::add_file | ( | class(brinkman_source_term_t), intent(inout) | this, |
| type(json_file), intent(inout) | json ) |
Definition at line 104 of file brinkman_source_term.f90.
| procedure, pass(this) brinkman_source_term::brinkman_source_term_t::add_point_zone | ( | class(brinkman_source_term_t), intent(inout) | this, |
| type(json_file), intent(inout) | json ) |
Definition at line 103 of file brinkman_source_term.f90.
|
inherited |
| time | Time state. |
Definition at line 63 of file source_term.f90.
| procedure, pass(this), public brinkman_source_term::brinkman_source_term_t::compute_ | ( | class(brinkman_source_term_t), intent(inout) | this, |
| type(time_state_t), intent(in) | time ) |
| time | The time state. |
Definition at line 96 of file brinkman_source_term.f90.
|
pure virtualinherited |
Definition at line 69 of file source_term.f90.
| procedure, pass(this), public brinkman_source_term::brinkman_source_term_t::free | ( | class(brinkman_source_term_t), intent(inout) | this | ) |
Definition at line 94 of file brinkman_source_term.f90.
|
pure virtualinherited |
Definition at line 67 of file source_term.f90.
|
inherited |
Definition at line 61 of file source_term.f90.
| procedure, pass(this), public brinkman_source_term::brinkman_source_term_t::init | ( | class(brinkman_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 ) |
| json | The JSON object for the source. |
| fields | A list of fields for adding the source values. |
| coef | The SEM coeffs. |
| variable_name | The name of the variable where the source term acts. |
Definition at line 91 of file brinkman_source_term.f90.
|
pure virtualinherited |
Definition at line 65 of file 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.
| type(field_t), pointer brinkman_source_term::brinkman_source_term_t::brinkman => null() |
Definition at line 85 of file brinkman_source_term.f90.
|
inherited |
Definition at line 49 of file 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.
| class(filter_t), allocatable brinkman_source_term::brinkman_source_term_t::filter |
Definition at line 87 of file brinkman_source_term.f90.
| type(field_t), pointer brinkman_source_term::brinkman_source_term_t::indicator => null() |
Definition at line 83 of file brinkman_source_term.f90.
|
inherited |
Definition at line 51 of file source_term.f90.
|
private |
Definition at line 81 of file brinkman_source_term.f90.