Neko  0.9.0
A portable framework for high-order spectral element flow simulations
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)
 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...
 

Function/Subroutine Documentation

◆ brinkman_source_term_compute()

subroutine brinkman_source_term::brinkman_source_term_compute ( class(brinkman_source_term_t), intent(inout)  this,
real(kind=rp), intent(in)  t,
integer, intent(in)  tstep 
)
private
Parameters
tThe time value.
tstepThe current time-step.

Definition at line 198 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)

Definition at line 187 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(inout), target  fields,
type(coef_t), intent(inout), target  coef 
)
Parameters
jsonThe JSON object for the source.
fieldsA list of fields for adding the source values.
coefThe SEM coeffs.

Definition at line 86 of file brinkman_source_term.f90.

Here is the call graph for this function:

◆ init_boundary_mesh()

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

Definition at line 225 of file brinkman_source_term.f90.

Here is the call graph for this function:

◆ init_point_zone()

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

Definition at line 371 of file brinkman_source_term.f90.

Here is the call graph for this function: