Neko  0.8.99
A portable framework for high-order spectral element flow simulations
fluid_plan1::fluid_plan1_t Type Reference
Inheritance diagram for fluid_plan1::fluid_plan1_t:
Collaboration diagram for fluid_plan1::fluid_plan1_t:

Public Member Functions

procedure, pass(this) init => fluid_plan1_init
 
procedure, pass(this) free => fluid_plan1_free
 
procedure, pass(this) step => fluid_plan1_step
 

Public Attributes

type(space_tyh
 Function space for pressure \( Xh - 2 \). More...
 
type(dofmap_tdm_yh
 Dofmap associated with \( Yh \). More...
 
type(gs_tgs_yh
 Gather-scatter associated with \( Y_h \). More...
 
type(coef_tc_yh
 Coefficients associated with \( Y_h \). More...
 

Private Member Functions

procedure, pass(this) fluid_scheme_init_all
 Constructor for the base type. More...
 
procedure, pass(this) fluid_scheme_init_common
 
generic scheme_init => fluid_scheme_init_all, fluid_scheme_init_common
 
procedure, pass(this) scheme_free => fluid_scheme_free
 Destructor for the base type. More...
 
procedure, pass(this) validate => fluid_scheme_validate
 Validate that all components are properly allocated. More...
 
procedure, pass(this) bc_apply_vel => fluid_scheme_bc_apply_vel
 Apply pressure boundary conditions. More...
 
procedure, pass(this) bc_apply_prs => fluid_scheme_bc_apply_prs
 Apply velocity boundary conditions. More...
 
procedure, pass(this) set_usr_inflow => fluid_scheme_set_usr_inflow
 Set the user inflow procedure. More...
 
procedure, pass(this) compute_cfl => fluid_compute_cfl
 Compute the CFL number. More...
 
procedure(fluid_scheme_restart_intrf), deferred, pass restart
 Restart from a checkpoint. More...
 
procedure, pass(this), private set_bc_type_output => fluid_scheme_set_bc_type_output
 
procedure, pass(this) update_material_properties => fluid_scheme_update_material_properties
 Update variable material properties. More...
 

Private Attributes

type(field_t), pointer u => null()
 x-component of Velocity More...
 
type(field_t), pointer v => null()
 y-component of Velocity More...
 
type(field_t), pointer w => null()
 z-component of Velocity More...
 
type(field_t), pointer p => null()
 Pressure. More...
 
type(field_series_tulag
 
type(field_series_tvlag
 
type(field_series_twlag
 fluid field (lag) More...
 
type(space_txh
 Function space \( X_h \). More...
 
type(dofmap_tdm_xh
 Dofmap associated with \( X_h \). More...
 
type(gs_tgs_xh
 Gather-scatter associated with \( X_h \). More...
 
type(coef_tc_xh
 Coefficients associated with \( X_h \). More...
 
type(fluid_source_term_tsource_term
 The source term for the momentum equation. More...
 
type(field_t), pointer f_x => null()
 X-component of the right-hand side. More...
 
type(field_t), pointer f_y => null()
 Y-component of the right-hand side. More...
 
type(field_t), pointer f_z => null()
 Z-component of the right-hand side. More...
 
class(ksp_t), allocatable ksp_vel
 Krylov solver for velocity. More...
 
class(ksp_t), allocatable ksp_prs
 Krylov solver for pressure. More...
 
class(pc_t), allocatable pc_vel
 Velocity Preconditioner. More...
 
class(pc_t), allocatable pc_prs
 Velocity Preconditioner. More...
 
integer vel_projection_dim
 Size of the projection space for ksp_vel. More...
 
integer pr_projection_dim
 Size of the projection space for ksp_pr. More...
 
integer vel_projection_activ_step
 Steps to activate projection for ksp_vel. More...
 
integer pr_projection_activ_step
 Steps to activate projection for ksp_pr. More...
 
type(no_slip_wall_tbc_wall
 No-slip wall for velocity. More...
 
class(bc_t), allocatable bc_inflow
 Dirichlet inflow for velocity. More...
 
type(field_dirichlet_vector_tuser_field_bc_vel
 User-computed Dirichlet velocity condition. More...
 
type(field_dirichlet_tuser_field_bc_prs
 User-computed Dirichlet pressure condition. More...
 
type(dirichlet_tbc_prs
 Dirichlet pressure condition. More...
 
type(dong_outflow_tbc_dong
 Dong outflow condition. More...
 
type(symmetry_tbc_sym
 Symmetry plane for velocity. More...
 
type(bc_list_tbclst_vel
 List of velocity conditions. More...
 
type(bc_list_tbclst_prs
 List of pressure conditions. More...
 
type(field_tbdry
 Boundary markings. More...
 
type(json_file), pointer params
 Parameters. More...
 
type(mesh_t), pointer msh => null()
 Mesh. More...
 
type(chkp_tchkp
 Checkpoint. More...
 
type(mean_flow_tmean
 Mean flow field. More...
 
type(fluid_stats_tstats
 Fluid statistics. More...
 
type(mean_sqr_flow_tmean_sqr
 Mean squared flow field. More...
 
logical forced_flow_rate = .false.
 Is the flow rate forced? More...
 
logical freeze = .false.
 Freeze velocity at initial condition? More...
 
real(kind=rp), pointer mu => null()
 Dynamic viscosity. More...
 
type(field_tmu_field
 The variable mu field. More...
 
character(len=:), allocatable nut_field_name
 The turbulent kinematic viscosity field name. More...
 
logical variable_material_properties = .false.
 Is mu varying in time? Currently only due to LES models. More...
 
real(kind=rp), pointer rho => null()
 Density. More...
 
type(field_trho_field
 The variable density field. More...
 
type(scratch_registry_tscratch
 Manager for temporary fields. More...
 
character(len=neko_msh_max_zlbl_len), dimension(:), allocatable bc_labels
 Boundary condition labels (if any) More...
 

Detailed Description

Definition at line 7 of file fluid_plan1.f90.

Member Function/Subroutine Documentation

◆ bc_apply_prs()

procedure, pass(this) fluid_scheme::fluid_scheme_t::bc_apply_prs
privateinherited

Definition at line 159 of file fluid_scheme.f90.

◆ bc_apply_vel()

procedure, pass(this) fluid_scheme::fluid_scheme_t::bc_apply_vel
privateinherited

Definition at line 157 of file fluid_scheme.f90.

◆ compute_cfl()

procedure, pass(this) fluid_scheme::fluid_scheme_t::compute_cfl
privateinherited

Definition at line 163 of file fluid_scheme.f90.

◆ fluid_scheme_init_all()

procedure, pass(this) fluid_scheme::fluid_scheme_t::fluid_scheme_init_all
privateinherited

Definition at line 149 of file fluid_scheme.f90.

◆ fluid_scheme_init_common()

procedure, pass(this) fluid_scheme::fluid_scheme_t::fluid_scheme_init_common
privateinherited

Definition at line 150 of file fluid_scheme.f90.

◆ free()

procedure, pass(this) fluid_plan1::fluid_plan1_t::free

Definition at line 15 of file fluid_plan1.f90.

◆ init()

procedure, pass(this) fluid_plan1::fluid_plan1_t::init
Todo:
Remaning plan1 related data, ax, precon etc

Definition at line 14 of file fluid_plan1.f90.

◆ restart()

procedure(fluid_scheme_restart_intrf), deferred, pass fluid_scheme::fluid_scheme_t::restart
privateinherited

Definition at line 171 of file fluid_scheme.f90.

◆ scheme_free()

procedure, pass(this) fluid_scheme::fluid_scheme_t::scheme_free
privateinherited

Definition at line 153 of file fluid_scheme.f90.

◆ scheme_init()

generic fluid_scheme::fluid_scheme_t::scheme_init
privateinherited

Definition at line 151 of file fluid_scheme.f90.

Here is the call graph for this function:

◆ set_bc_type_output()

procedure, pass(this), private fluid_scheme::fluid_scheme_t::set_bc_type_output
privateinherited

Definition at line 172 of file fluid_scheme.f90.

◆ set_usr_inflow()

procedure, pass(this) fluid_scheme::fluid_scheme_t::set_usr_inflow
privateinherited

Definition at line 161 of file fluid_scheme.f90.

◆ step()

procedure, pass(this) fluid_plan1::fluid_plan1_t::step

Definition at line 16 of file fluid_plan1.f90.

◆ update_material_properties()

procedure, pass(this) fluid_scheme::fluid_scheme_t::update_material_properties
privateinherited

Definition at line 175 of file fluid_scheme.f90.

◆ validate()

procedure, pass(this) fluid_scheme::fluid_scheme_t::validate
privateinherited

Definition at line 155 of file fluid_scheme.f90.

Member Data Documentation

◆ bc_dong

type(dong_outflow_t) fluid_scheme::fluid_scheme_t::bc_dong
privateinherited

Definition at line 119 of file fluid_scheme.f90.

◆ bc_inflow

class(bc_t), allocatable fluid_scheme::fluid_scheme_t::bc_inflow
privateinherited

Definition at line 113 of file fluid_scheme.f90.

◆ bc_labels

character(len=neko_msh_max_zlbl_len), dimension(:), allocatable fluid_scheme::fluid_scheme_t::bc_labels
privateinherited

Definition at line 146 of file fluid_scheme.f90.

◆ bc_prs

type(dirichlet_t) fluid_scheme::fluid_scheme_t::bc_prs
privateinherited

Definition at line 118 of file fluid_scheme.f90.

◆ bc_sym

type(symmetry_t) fluid_scheme::fluid_scheme_t::bc_sym
privateinherited

Definition at line 120 of file fluid_scheme.f90.

◆ bc_wall

type(no_slip_wall_t) fluid_scheme::fluid_scheme_t::bc_wall
privateinherited

Definition at line 112 of file fluid_scheme.f90.

◆ bclst_prs

type(bc_list_t) fluid_scheme::fluid_scheme_t::bclst_prs
privateinherited

Definition at line 122 of file fluid_scheme.f90.

◆ bclst_vel

type(bc_list_t) fluid_scheme::fluid_scheme_t::bclst_vel
privateinherited

Definition at line 121 of file fluid_scheme.f90.

◆ bdry

type(field_t) fluid_scheme::fluid_scheme_t::bdry
privateinherited

Definition at line 123 of file fluid_scheme.f90.

◆ c_xh

type(coef_t) fluid_scheme::fluid_scheme_t::c_xh
privateinherited

Definition at line 95 of file fluid_scheme.f90.

◆ c_yh

type(coef_t) fluid_plan1::fluid_plan1_t::c_yh

Definition at line 11 of file fluid_plan1.f90.

◆ chkp

type(chkp_t) fluid_scheme::fluid_scheme_t::chkp
privateinherited

Definition at line 126 of file fluid_scheme.f90.

◆ dm_xh

type(dofmap_t) fluid_scheme::fluid_scheme_t::dm_xh
privateinherited

Definition at line 93 of file fluid_scheme.f90.

◆ dm_yh

type(dofmap_t) fluid_plan1::fluid_plan1_t::dm_yh

Definition at line 9 of file fluid_plan1.f90.

◆ f_x

type(field_t), pointer fluid_scheme::fluid_scheme_t::f_x => null()
privateinherited

Definition at line 99 of file fluid_scheme.f90.

◆ f_y

type(field_t), pointer fluid_scheme::fluid_scheme_t::f_y => null()
privateinherited

Definition at line 101 of file fluid_scheme.f90.

◆ f_z

type(field_t), pointer fluid_scheme::fluid_scheme_t::f_z => null()
privateinherited

Definition at line 103 of file fluid_scheme.f90.

◆ forced_flow_rate

logical fluid_scheme::fluid_scheme_t::forced_flow_rate = .false.
privateinherited

Definition at line 130 of file fluid_scheme.f90.

◆ freeze

logical fluid_scheme::fluid_scheme_t::freeze = .false.
privateinherited

Definition at line 131 of file fluid_scheme.f90.

◆ gs_xh

type(gs_t) fluid_scheme::fluid_scheme_t::gs_xh
privateinherited

Definition at line 94 of file fluid_scheme.f90.

◆ gs_yh

type(gs_t) fluid_plan1::fluid_plan1_t::gs_yh

Definition at line 10 of file fluid_plan1.f90.

◆ ksp_prs

class(ksp_t), allocatable fluid_scheme::fluid_scheme_t::ksp_prs
privateinherited

Definition at line 105 of file fluid_scheme.f90.

◆ ksp_vel

class(ksp_t), allocatable fluid_scheme::fluid_scheme_t::ksp_vel
privateinherited

Definition at line 104 of file fluid_scheme.f90.

◆ mean

type(mean_flow_t) fluid_scheme::fluid_scheme_t::mean
privateinherited

Definition at line 127 of file fluid_scheme.f90.

◆ mean_sqr

type(mean_sqr_flow_t) fluid_scheme::fluid_scheme_t::mean_sqr
privateinherited

Definition at line 129 of file fluid_scheme.f90.

◆ msh

type(mesh_t), pointer fluid_scheme::fluid_scheme_t::msh => null()
privateinherited

Definition at line 125 of file fluid_scheme.f90.

◆ mu

real(kind=rp), pointer fluid_scheme::fluid_scheme_t::mu => null()
privateinherited

Definition at line 133 of file fluid_scheme.f90.

◆ mu_field

type(field_t) fluid_scheme::fluid_scheme_t::mu_field
privateinherited

Definition at line 135 of file fluid_scheme.f90.

◆ nut_field_name

character(len=:), allocatable fluid_scheme::fluid_scheme_t::nut_field_name
privateinherited

Definition at line 137 of file fluid_scheme.f90.

◆ p

type(field_t), pointer fluid_scheme::fluid_scheme_t::p => null()
privateinherited

Definition at line 90 of file fluid_scheme.f90.

◆ params

type(json_file), pointer fluid_scheme::fluid_scheme_t::params
privateinherited

Definition at line 124 of file fluid_scheme.f90.

◆ pc_prs

class(pc_t), allocatable fluid_scheme::fluid_scheme_t::pc_prs
privateinherited

Definition at line 107 of file fluid_scheme.f90.

◆ pc_vel

class(pc_t), allocatable fluid_scheme::fluid_scheme_t::pc_vel
privateinherited

Definition at line 106 of file fluid_scheme.f90.

◆ pr_projection_activ_step

integer fluid_scheme::fluid_scheme_t::pr_projection_activ_step
privateinherited

Definition at line 111 of file fluid_scheme.f90.

◆ pr_projection_dim

integer fluid_scheme::fluid_scheme_t::pr_projection_dim
privateinherited

Definition at line 109 of file fluid_scheme.f90.

◆ rho

real(kind=rp), pointer fluid_scheme::fluid_scheme_t::rho => null()
privateinherited

Definition at line 141 of file fluid_scheme.f90.

◆ rho_field

type(field_t) fluid_scheme::fluid_scheme_t::rho_field
privateinherited

Definition at line 143 of file fluid_scheme.f90.

◆ scratch

type(scratch_registry_t) fluid_scheme::fluid_scheme_t::scratch
privateinherited

Definition at line 144 of file fluid_scheme.f90.

◆ source_term

type(fluid_source_term_t) fluid_scheme::fluid_scheme_t::source_term
privateinherited

Definition at line 97 of file fluid_scheme.f90.

◆ stats

type(fluid_stats_t) fluid_scheme::fluid_scheme_t::stats
privateinherited

Definition at line 128 of file fluid_scheme.f90.

◆ u

type(field_t), pointer fluid_scheme::fluid_scheme_t::u => null()
privateinherited

Definition at line 87 of file fluid_scheme.f90.

◆ ulag

type(field_series_t) fluid_scheme::fluid_scheme_t::ulag
privateinherited

Definition at line 91 of file fluid_scheme.f90.

◆ user_field_bc_prs

type(field_dirichlet_t) fluid_scheme::fluid_scheme_t::user_field_bc_prs
privateinherited

Definition at line 117 of file fluid_scheme.f90.

◆ user_field_bc_vel

type(field_dirichlet_vector_t) fluid_scheme::fluid_scheme_t::user_field_bc_vel
privateinherited

Definition at line 116 of file fluid_scheme.f90.

◆ v

type(field_t), pointer fluid_scheme::fluid_scheme_t::v => null()
privateinherited

Definition at line 88 of file fluid_scheme.f90.

◆ variable_material_properties

logical fluid_scheme::fluid_scheme_t::variable_material_properties = .false.
privateinherited

Definition at line 139 of file fluid_scheme.f90.

◆ vel_projection_activ_step

integer fluid_scheme::fluid_scheme_t::vel_projection_activ_step
privateinherited

Definition at line 110 of file fluid_scheme.f90.

◆ vel_projection_dim

integer fluid_scheme::fluid_scheme_t::vel_projection_dim
privateinherited

Definition at line 108 of file fluid_scheme.f90.

◆ vlag

type(field_series_t) fluid_scheme::fluid_scheme_t::vlag
privateinherited

Definition at line 91 of file fluid_scheme.f90.

◆ w

type(field_t), pointer fluid_scheme::fluid_scheme_t::w => null()
privateinherited

Definition at line 89 of file fluid_scheme.f90.

◆ wlag

type(field_series_t) fluid_scheme::fluid_scheme_t::wlag
privateinherited

Definition at line 91 of file fluid_scheme.f90.

◆ xh

type(space_t) fluid_scheme::fluid_scheme_t::xh
privateinherited

Definition at line 92 of file fluid_scheme.f90.

◆ yh

type(space_t) fluid_plan1::fluid_plan1_t::yh

Definition at line 8 of file fluid_plan1.f90.


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