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

Public Attributes

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

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
thisThe source term object.
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)
Parameters
thisThe source term object.

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
thisThe source term object.
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 
)
Parameters
thisThe source term object.
jsonThe JSON object for the boundary mesh.

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 
)
Parameters
thisThe source term object.
jsonThe JSON object for the source.

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.


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