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), pointer v
 
type(field_t), pointer w
 
type(field_t), pointer p
 
type(field_t), pointer s
 
type(field_t) u_old
 
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 scalar_coupled = .false.
 If true, the fluid and scalar fields are considered to be coupled, and the simulation will only be considered converged if both the fluid and scalar fields have converged.
 
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 60 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 90 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 88 of file steady_simcomp.f90.

◆ init()

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

Definition at line 83 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 85 of file steady_simcomp.f90.

Member Data Documentation

◆ log_data

type(vector_t) steady_simcomp::steady_simcomp_t::log_data

Definition at line 79 of file steady_simcomp.f90.

◆ log_frequency

integer steady_simcomp::steady_simcomp_t::log_frequency

Definition at line 77 of file steady_simcomp.f90.

◆ logger

type(csv_file_t) steady_simcomp::steady_simcomp_t::logger

Definition at line 75 of file steady_simcomp.f90.

◆ p

type(field_t), pointer steady_simcomp::steady_simcomp_t::p

Definition at line 63 of file steady_simcomp.f90.

◆ p_old

type(field_t) steady_simcomp::steady_simcomp_t::p_old

Definition at line 66 of file steady_simcomp.f90.

◆ s

type(field_t), pointer steady_simcomp::steady_simcomp_t::s

Definition at line 63 of file steady_simcomp.f90.

◆ s_old

type(field_t) steady_simcomp::steady_simcomp_t::s_old

Definition at line 66 of file steady_simcomp.f90.

◆ scalar_coupled

logical steady_simcomp::steady_simcomp_t::scalar_coupled = .false.

Definition at line 72 of file steady_simcomp.f90.

◆ tol

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

Definition at line 67 of file steady_simcomp.f90.

◆ u_old

type(field_t) steady_simcomp::steady_simcomp_t::u_old

Definition at line 66 of file steady_simcomp.f90.

◆ v

type(field_t), pointer steady_simcomp::steady_simcomp_t::v

Definition at line 63 of file steady_simcomp.f90.

◆ v_old

type(field_t) steady_simcomp::steady_simcomp_t::v_old

Definition at line 66 of file steady_simcomp.f90.

◆ w

type(field_t), pointer steady_simcomp::steady_simcomp_t::w

Definition at line 63 of file steady_simcomp.f90.

◆ w_old

type(field_t) steady_simcomp::steady_simcomp_t::w_old

Definition at line 66 of file steady_simcomp.f90.


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