A Brinkman source term. The region and strength are controlled by assigning regions types and brinkman limits to the source term.
More...
|
procedure, pass(this), public | init (this, json, fields, coef) |
| The common constructor using a JSON object.
|
|
procedure, pass(this), public | free (this) |
| Destructor.
|
|
procedure, pass(this), public | compute_ (this, t, tstep) |
| Computes the source term and adds the result to fields .
|
|
procedure, pass(this) | init_boundary_mesh (this, json) |
| Initializes the source term from a boundary mesh.
|
|
procedure, pass(this) | init_point_zone (this, json) |
| Initializes the source term from a point zone.
|
|
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, t, tstep) |
| Executes compute_ based on time conditions.
|
|
procedure(source_term_init), deferred, pass | init (this, json, fields, coef) |
| The common constructor using a JSON object.
|
|
procedure(source_term_free), deferred, pass | free (this) |
| Destructor.
|
|
procedure(source_term_compute), deferred, pass | compute_ (this, t, tstep) |
| Computes the source term and adds the result to fields .
|
|
Definition at line 64 of file brinkman_source_term.f90.
◆ compute()
- Parameters
-
t | Time value. |
tstep | Current time step. |
Definition at line 58 of file source_term.f90.
◆ compute_() [1/2]
◆ compute_() [2/2]
◆ free() [1/2]
◆ free() [2/2]
◆ free_base()
◆ init() [1/2]
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 |
|
) |
| |
- Parameters
-
json | The JSON object for the source. |
fields | A list of fields for adding the source values. |
coef | The SEM coeffs. |
Definition at line 73 of file brinkman_source_term.f90.
◆ init() [2/2]
procedure(source_term_init), deferred, pass source_term::source_term_t::init |
( |
class(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 |
|
) |
| |
|
pure virtualinherited |
◆ init_base()
procedure, pass(this) source_term::source_term_t::init_base |
( |
class(source_term_t), intent(inout) |
this, |
|
|
type(field_list_t) |
fields, |
|
|
type(coef_t), intent(in), target |
coef, |
|
|
real(kind=rp), intent(in) |
start_time, |
|
|
real(kind=rp), intent(in) |
end_time |
|
) |
| |
|
inherited |
- Parameters
-
json | JSON object initializing the source term. |
fields | The list of fields updated by the source term. |
coef | The SEM coefficients. Constructor for the source_term_t (base) type. |
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 54 of file source_term.f90.
◆ init_boundary_mesh()
◆ init_point_zone()
◆ brinkman
type(field_t) brinkman_source_term::brinkman_source_term_t::brinkman |
◆ coef
◆ end_time
real(kind=rp) source_term::source_term_t::end_time = huge(0.0_rp) |
|
inherited |
◆ fields
◆ indicator
type(field_t) brinkman_source_term::brinkman_source_term_t::indicator |
|
private |
◆ start_time
real(kind=rp) source_term::source_term_t::start_time = 0.0_rp |
|
inherited |
The documentation for this type was generated from the following file: