Neko
0.9.0
A portable framework for high-order spectral element flow simulations
|
Bouyancy source term accroding to the Boussinesq approximation. More...
Public Member Functions | |
procedure, pass(this) | init => boussinesq_source_term_init_from_json |
The common constructor using a JSON object. More... | |
procedure, pass(this) | init_from_compenents => boussinesq_source_term_init_from_components |
The constructor from type components. More... | |
procedure, pass(this) | free => boussinesq_source_term_free |
Destructor. More... | |
procedure, pass(this) | compute_ => boussinesq_source_term_compute |
Computes the source term and adds the result to fields . More... | |
procedure, pass(this) | init_base => source_term_init_base |
Constructor for the source_term_t (base) type. More... | |
procedure, pass(this) | free_base => source_term_free_base |
Destructor for the source_term_t (base) type. More... | |
procedure, pass(this) | compute => source_term_compute_wrapper |
Executes compute_ based on time conditions. More... | |
Public Attributes | |
type(field_t), pointer | s => null() |
The scalar field used to drive the source term, typically temperature. More... | |
real(kind=rp) | ref_value = 0 |
The reference value of the scalar field. More... | |
real(kind=rp), dimension(3) | g |
Gravity vector. More... | |
real(kind=rp) | beta |
Thermal expantion coefficient. More... | |
type(field_list_t) | fields |
The fields to be updated with the source term values. More... | |
type(coef_t), pointer | coef => null() |
Coefficients for the SEM. More... | |
real(kind=rp) | start_time = 0.0_rp |
Start time for adding the source term. More... | |
real(kind=rp) | end_time = huge(0.0_rp) |
End time for adding the source term. More... | |
Called "boussinesq" in the JSON. Controlled by the following parameters:
1/ref_value
. Definition at line 59 of file boussinesq_source_term.f90.
|
inherited |
Definition at line 58 of file source_term.f90.
procedure, pass(this) boussinesq_source_term::boussinesq_source_term_t::compute_ |
Definition at line 77 of file boussinesq_source_term.f90.
procedure, pass(this) boussinesq_source_term::boussinesq_source_term_t::free |
Definition at line 75 of file boussinesq_source_term.f90.
|
inherited |
Definition at line 56 of file source_term.f90.
procedure, pass(this) boussinesq_source_term::boussinesq_source_term_t::init |
Definition at line 70 of file boussinesq_source_term.f90.
|
inherited |
Definition at line 54 of file source_term.f90.
procedure, pass(this) boussinesq_source_term::boussinesq_source_term_t::init_from_compenents |
Definition at line 72 of file boussinesq_source_term.f90.
real(kind=rp) boussinesq_source_term::boussinesq_source_term_t::beta |
Definition at line 67 of file boussinesq_source_term.f90.
|
inherited |
Definition at line 47 of file source_term.f90.
|
inherited |
Definition at line 51 of file source_term.f90.
|
inherited |
Definition at line 45 of file source_term.f90.
real(kind=rp), dimension(3) boussinesq_source_term::boussinesq_source_term_t::g |
Definition at line 65 of file boussinesq_source_term.f90.
real(kind=rp) boussinesq_source_term::boussinesq_source_term_t::ref_value = 0 |
Definition at line 63 of file boussinesq_source_term.f90.
type(field_t), pointer boussinesq_source_term::boussinesq_source_term_t::s => null() |
Definition at line 61 of file boussinesq_source_term.f90.
|
inherited |
Definition at line 49 of file source_term.f90.