Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
brinkman_source_term Module Reference

Implements the brinkman_source_term_t type.

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, variable_name)
 The common constructor using a JSON object.
 
subroutine brinkman_source_term_free (this)
 Destructor.
 
subroutine brinkman_source_term_compute (this, time)
 Computes the source term and adds the result to fields.
 
subroutine add_boundary_mesh (this, json)
 Initializes the source term from a boundary mesh.
 
subroutine add_point_zone (this, json)
 Initializes the source term from a point zone.
 
subroutine add_file (this, json)
 Initializes the source term from a file.
 
subroutine add_field (this, json)
 Initializes the source term from a field.
 

Function/Subroutine Documentation

◆ add_boundary_mesh()

subroutine brinkman_source_term::add_boundary_mesh ( class(brinkman_source_term_t), intent(inout this,
type(json_file), intent(inout json 
)
private

Definition at line 334 of file brinkman_source_term.f90.

Here is the call graph for this function:

◆ add_field()

subroutine brinkman_source_term::add_field ( class(brinkman_source_term_t), intent(inout this,
type(json_file), intent(inout json 
)
private

Definition at line 641 of file brinkman_source_term.f90.

◆ add_file()

subroutine brinkman_source_term::add_file ( class(brinkman_source_term_t), intent(inout this,
type(json_file), intent(inout json 
)
private

Definition at line 551 of file brinkman_source_term.f90.

Here is the call graph for this function:

◆ add_point_zone()

subroutine brinkman_source_term::add_point_zone ( class(brinkman_source_term_t), intent(inout this,
type(json_file), intent(inout json 
)
private

Definition at line 515 of file brinkman_source_term.f90.

Here is the call graph for this function:

◆ brinkman_source_term_compute()

subroutine brinkman_source_term::brinkman_source_term_compute ( class(brinkman_source_term_t), intent(inout this,
type(time_state_t), intent(in time 
)
private
Parameters
timeThe time state.

Definition at line 308 of file brinkman_source_term.f90.

Here is the call graph for this function:

◆ brinkman_source_term_free()

subroutine brinkman_source_term::brinkman_source_term_free ( class(brinkman_source_term_t), intent(inout this)
private

Definition at line 291 of file brinkman_source_term.f90.

◆ brinkman_source_term_init_from_json()

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(in), target  fields,
type(coef_t), intent(in), target  coef,
character(len=*), intent(in variable_name 
)
Parameters
jsonThe JSON object for the source.
fieldsA list of fields for adding the source values.
coefThe SEM coeffs.
variable_nameThe name of the variable where the source term acts.

Definition at line 119 of file brinkman_source_term.f90.

Here is the call graph for this function: