Neko 1.99.10
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
scalar_sgs_stats_simcomp Module Reference

Implements the scalar_sgs_stats_simcomp_t type.

Data Types

type  scalar_sgs_stats_simcomp_t
 A simulation component that computes the subgrid-scale contributions to the Reynolds stresses in LES. More...

Functions/Subroutines

subroutine scalar_sgs_stats_simcomp_init_from_json (this, json, case)
 Constructor from json.
subroutine scalar_sgs_stats_simcomp_init_from_components_alphat (this, name, sname, coef, start_time, hom_dir, alphat_field, fname)
 Actual constructor using directly the alphat field.
subroutine scalar_sgs_stats_simcomp_init_from_components_nut (this, name, sname, coef, start_time, hom_dir, nut_field, pr_turb, fname)
 Actual constructor using directly the nut field and the turbulent Prandtl number.
subroutine scalar_sgs_stats_simcomp_free (this)
 Destructor.
subroutine scalar_sgs_stats_simcomp_restart (this, time)
subroutine scalar_sgs_stats_simcomp_compute (this, time)
 scalar_sgs_stats, called depending on compute_control and compute_value

Function/Subroutine Documentation

◆ scalar_sgs_stats_simcomp_compute()

subroutine scalar_sgs_stats_simcomp::scalar_sgs_stats_simcomp_compute ( class(scalar_sgs_stats_simcomp_t), intent(inout) this,
type(time_state_t), intent(in) time )
private
Parameters
timeThe current time info

Definition at line 307 of file scalar_sgs_stats_simcomp.f90.

◆ scalar_sgs_stats_simcomp_free()

subroutine scalar_sgs_stats_simcomp::scalar_sgs_stats_simcomp_free ( class(scalar_sgs_stats_simcomp_t), intent(inout) this)
private

Definition at line 278 of file scalar_sgs_stats_simcomp.f90.

◆ scalar_sgs_stats_simcomp_init_from_components_alphat()

subroutine scalar_sgs_stats_simcomp::scalar_sgs_stats_simcomp_init_from_components_alphat ( class(scalar_sgs_stats_simcomp_t), intent(inout), target this,
character(len=*), intent(in) name,
character(len=*), intent(in) sname,
type(coef_t), intent(in), target coef,
real(kind=dp), intent(in) start_time,
character(len=*), intent(in) hom_dir,
character(len=*), intent(in) alphat_field,
character(len=*), intent(in) fname )
private
Parameters
snameThe name of the scalar field
coefsem coefs
start_timetime to start sampling stats
hom_dirdirections to average in
alphat_fieldname of the eddy diffusivity field
fnamename of the outut file

Definition at line 166 of file scalar_sgs_stats_simcomp.f90.

◆ scalar_sgs_stats_simcomp_init_from_components_nut()

subroutine scalar_sgs_stats_simcomp::scalar_sgs_stats_simcomp_init_from_components_nut ( class(scalar_sgs_stats_simcomp_t), intent(inout), target this,
character(len=*), intent(in) name,
character(len=*), intent(in) sname,
type(coef_t), intent(in), target coef,
real(kind=dp), intent(in) start_time,
character(len=*), intent(in) hom_dir,
character(len=*), intent(in) nut_field,
real(kind=rp), intent(in) pr_turb,
character(len=*), intent(in), optional fname )
private
Parameters
snameThe name of the scalar field
coefsem coefs
start_timetime to start sampling stats
hom_dirdirections to average in
nut_fieldname of the eddy diffusivity field
pr_turbturbulent Prandtl number
fnamename of the output file

Definition at line 224 of file scalar_sgs_stats_simcomp.f90.

◆ scalar_sgs_stats_simcomp_init_from_json()

subroutine scalar_sgs_stats_simcomp::scalar_sgs_stats_simcomp_init_from_json ( class(scalar_sgs_stats_simcomp_t), intent(inout), target this,
type(json_file), intent(inout) json,
class(case_t), intent(inout), target case )
Parameters
jsonJSON object with the parameters.
caseThe case object.

Definition at line 97 of file scalar_sgs_stats_simcomp.f90.

◆ scalar_sgs_stats_simcomp_restart()

subroutine scalar_sgs_stats_simcomp::scalar_sgs_stats_simcomp_restart ( class(scalar_sgs_stats_simcomp_t), intent(inout) this,
type(time_state_t), intent(in) time )
private

Definition at line 285 of file scalar_sgs_stats_simcomp.f90.

Here is the call graph for this function: