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

The steady_simcomp_t type is a simulation component that terminates a simulation when the normed difference between the old and new fields is below a certain tolerance. This allow us to compute steady-state solutions without modifying the simulation loop. More...

Inheritance diagram for steady_simcomp::steady_simcomp_t:
Collaboration diagram for steady_simcomp::steady_simcomp_t:

Public Member Functions

procedure, pass(this), public init (this, json, case)
 
procedure, pass(this), public init_from_attributes (this, tol, log_frequency)
 
procedure, pass(this), public free (this)
 
procedure, pass(this), public compute_ (this, time)
 

Public Attributes

type(field_t) v_old
 
type(field_t) w_old
 
type(field_t) p_old
 
type(field_t) s_old
 
real(kind=dp) tol
 
logical have_scalar = .false.
 
type(csv_file_t) logger
 A file writer to document the convergence of the steady state.
 
integer log_frequency
 Log every ___ iterations.
 
type(vector_t) log_data
 

Detailed Description

Definition at line 56 of file steady_simcomp.f90.

Member Function/Subroutine Documentation

◆ compute_()

procedure, pass(this), public steady_simcomp::steady_simcomp_t::compute_ ( class(steady_simcomp_t), intent(inout)  this,
type(time_state_t), intent(in)  time 
)

Definition at line 81 of file steady_simcomp.f90.

◆ free()

procedure, pass(this), public steady_simcomp::steady_simcomp_t::free ( class(steady_simcomp_t), intent(inout)  this)

Definition at line 79 of file steady_simcomp.f90.

◆ init()

procedure, pass(this), public steady_simcomp::steady_simcomp_t::init ( class(steady_simcomp_t), intent(inout)  this,
type(json_file), intent(inout)  json,
class(case_t), intent(inout), target  case 
)

Definition at line 74 of file steady_simcomp.f90.

◆ init_from_attributes()

procedure, pass(this), public steady_simcomp::steady_simcomp_t::init_from_attributes ( class(steady_simcomp_t), intent(inout)  this,
real(kind=dp), intent(in)  tol,
integer, intent(in)  log_frequency 
)

Definition at line 76 of file steady_simcomp.f90.

Member Data Documentation

◆ have_scalar

logical steady_simcomp::steady_simcomp_t::have_scalar = .false.

Definition at line 63 of file steady_simcomp.f90.

◆ log_data

type(vector_t) steady_simcomp::steady_simcomp_t::log_data

Definition at line 70 of file steady_simcomp.f90.

◆ log_frequency

integer steady_simcomp::steady_simcomp_t::log_frequency

Definition at line 68 of file steady_simcomp.f90.

◆ logger

type(csv_file_t) steady_simcomp::steady_simcomp_t::logger

Definition at line 66 of file steady_simcomp.f90.

◆ p_old

type(field_t) steady_simcomp::steady_simcomp_t::p_old

Definition at line 60 of file steady_simcomp.f90.

◆ s_old

type(field_t) steady_simcomp::steady_simcomp_t::s_old

Definition at line 60 of file steady_simcomp.f90.

◆ tol

real(kind=dp) steady_simcomp::steady_simcomp_t::tol

Definition at line 61 of file steady_simcomp.f90.

◆ v_old

type(field_t) steady_simcomp::steady_simcomp_t::v_old

Definition at line 60 of file steady_simcomp.f90.

◆ w_old

type(field_t) steady_simcomp::steady_simcomp_t::w_old

Definition at line 60 of file steady_simcomp.f90.


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