Neko
0.8.1
A portable framework for high-order spectral element flow simulations
|
Implements the brinkman_source_term_t
type.
More...
Data Types | |
type | brinkman_source_term_t |
A Brinkman source term. The region and strength are controlled by assigning regions types and brinkman limits to the source term. More... | |
Functions/Subroutines | |
subroutine | brinkman_source_term_init_from_json (this, json, fields, coef) |
The common constructor using a JSON object. More... | |
subroutine | brinkman_source_term_free (this) |
Destructor. More... | |
subroutine | brinkman_source_term_compute (this, t, tstep) |
Computes the source term and adds the result to fields . More... | |
subroutine | init_boundary_mesh (this, json) |
Initializes the source term from a boundary mesh. More... | |
subroutine | init_point_zone (this, json) |
Initializes the source term from a point zone. More... | |
Implements the brinkman_source_term_t
type.
|
private |
Computes the source term and adds the result to fields
.
t | The time value. |
tstep | The current time-step. |
Definition at line 201 of file brinkman_source_term.f90.
subroutine brinkman_source_term::brinkman_source_term_free | ( | class(brinkman_source_term_t), intent(inout) | this | ) |
Destructor.
Definition at line 191 of file brinkman_source_term.f90.
subroutine brinkman_source_term::brinkman_source_term_init_from_json | ( | class(brinkman_source_term_t), intent(inout) | this, |
type(json_file), intent(inout) | json, | ||
type(field_list_t), intent(inout), target | fields, | ||
type(coef_t), intent(inout) | coef | ||
) |
The common constructor using a JSON object.
json | The JSON object for the source. |
fields | A list of fields for adding the source values. |
coef | The SEM coeffs. |
Definition at line 83 of file brinkman_source_term.f90.
subroutine brinkman_source_term::init_boundary_mesh | ( | class(brinkman_source_term_t), intent(inout) | this, |
type(json_file), intent(inout) | json | ||
) |
Initializes the source term from a boundary mesh.
Definition at line 220 of file brinkman_source_term.f90.
subroutine brinkman_source_term::init_point_zone | ( | class(brinkman_source_term_t), intent(inout) | this, |
type(json_file), intent(inout) | json | ||
) |
Initializes the source term from a point zone.
Definition at line 358 of file brinkman_source_term.f90.