Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
topopt_brinkman_source_term::topopt_brinkman_source_term_t Type Reference

A Brinkman source term. The region and strength are controlled by assigning regions types and brinkman limits to the source term. More...

Inheritance diagram for topopt_brinkman_source_term::topopt_brinkman_source_term_t:
Collaboration diagram for topopt_brinkman_source_term::topopt_brinkman_source_term_t:

Public Member Functions

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(thisinit_boundary_mesh (this, json)
 Update the resistance to a new indicator field.
 
procedure, pass(thisinit_point_zone (this, json)
 Initializes the source term from a point zone.
 

Public Attributes

type(field_t), pointer brinkman => null()
 Brinkman permeability field.
 

Private Attributes

type(field_t), pointer indicator => null()
 The value of the source term.
 

Detailed Description

Definition at line 63 of file topopt_brinkman_source.f90.

Member Function/Subroutine Documentation

◆ compute_()

procedure, pass(this), public topopt_brinkman_source_term::topopt_brinkman_source_term_t::compute_ ( class(topopt_brinkman_source_term_t), intent(inout this,
real(kind=rp), intent(in t,
integer, intent(in tstep 
)
Parameters
tThe time value.
tstepThe current time-step.

Definition at line 77 of file topopt_brinkman_source.f90.

◆ free()

procedure, pass(this), public topopt_brinkman_source_term::topopt_brinkman_source_term_t::free ( class(topopt_brinkman_source_term_t), intent(inout this)

Definition at line 75 of file topopt_brinkman_source.f90.

◆ init()

procedure, pass(this), public topopt_brinkman_source_term::topopt_brinkman_source_term_t::init ( class(topopt_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 72 of file topopt_brinkman_source.f90.

◆ init_boundary_mesh()

procedure, pass(this) topopt_brinkman_source_term::topopt_brinkman_source_term_t::init_boundary_mesh ( class(topopt_brinkman_source_term_t), intent(inout this,
type(json_file), intent(inout json 
)

Definition at line 83 of file topopt_brinkman_source.f90.

◆ init_point_zone()

procedure, pass(this) topopt_brinkman_source_term::topopt_brinkman_source_term_t::init_point_zone ( class(topopt_brinkman_source_term_t), intent(inout this,
type(json_file), intent(inout json 
)

Definition at line 84 of file topopt_brinkman_source.f90.

Member Data Documentation

◆ brinkman

type(field_t), pointer topopt_brinkman_source_term::topopt_brinkman_source_term_t::brinkman => null()

Definition at line 69 of file topopt_brinkman_source.f90.

◆ indicator

type(field_t), pointer topopt_brinkman_source_term::topopt_brinkman_source_term_t::indicator => null()
private

Definition at line 67 of file topopt_brinkman_source.f90.


The documentation for this type was generated from the following file: