Neko 0.9.99
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)
 The common constructor using a JSON object.
 
subroutine brinkman_source_term_free (this)
 Destructor.
 
subroutine brinkman_source_term_compute (this, t, tstep)
 Computes the source term and adds the result to fields.
 
subroutine init_boundary_mesh (this, json)
 Initializes the source term from a boundary mesh.
 
subroutine init_point_zone (this, json)
 Initializes the source term from a point zone.
 

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)
private

Definition at line 186 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 
)
Parameters
jsonThe JSON object for the source.
fieldsA list of fields for adding the source values.
coefThe SEM coeffs.

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

Definition at line 370 of file brinkman_source_term.f90.

Here is the call graph for this function: