OpenCMISS-Iron Internal API Documentation
navier_stokes_equations_routines::NAVIER_STOKES_ANALYTIC_FUNCTIONS_EVALUATE Interface Reference

Calculates the various analytic values for NSE examples with exact solutions. More...

Private Member Functions

subroutine navier_stokes_analytic_functions_evaluate (ANALYTIC_FUNCTION_TYPE, X, TIME, VARIABLE_TYPE, GLOBAL_DERIV_INDEX, componentNumber, NUMBER_OF_DIMENSIONS, NUMBER_OF_COMPONENTS, ANALYTIC_PARAMETERS, MATERIALS_PARAMETERS, VALUE, ERR, ERROR,)
 

Detailed Description

Calculates the various analytic values for NSE examples with exact solutions.

Definition at line 9080 of file Navier_Stokes_equations_routines.f90.

Member Function/Subroutine Documentation

subroutine navier_stokes_equations_routines::NAVIER_STOKES_ANALYTIC_FUNCTIONS_EVALUATE::navier_stokes_analytic_functions_evaluate ( integer(intg), intent(in)  ANALYTIC_FUNCTION_TYPE,
real(dp), dimension(:), intent(in)  X,
real(dp), intent(in)  TIME,
integer(intg), intent(in)  VARIABLE_TYPE,
integer(intg), intent(in)  GLOBAL_DERIV_INDEX,
integer(intg), intent(in)  componentNumber,
integer(intg), intent(in)  NUMBER_OF_DIMENSIONS,
integer(intg), intent(in)  NUMBER_OF_COMPONENTS,
real(dp), dimension(:), intent(in)  ANALYTIC_PARAMETERS,
real(dp), dimension(:), intent(in)  MATERIALS_PARAMETERS,
real(dp), intent(out)  VALUE,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private
Parameters
[in]analytic_function_typeThe type of analytic function to evaluate
[in]xX(dimension_idx). The geometric position to evaluate at (includes Y,Z for higher dim problems)
[in]timeThe time to evaluate at
[in]variable_typeThe field variable type to evaluate at
[in]global_deriv_indexThe global derivative to evaluate at
[in]componentnumberThe dependent field component number to evaluate
[in]number_of_dimensionsThe number of geometric dimensions
[in]number_of_componentsThe number of components for the dependent field
[in]analytic_parametersA pointer to any analytic field parameters
[in]materials_parametersA pointer to any materials field parameters
[out]valueOn return, the analytic function value.
[out]errThe error code
[out]errorThe error string

Definition at line 9082 of file Navier_Stokes_equations_routines.f90.

References base_routines::enters(), equations_set_constants::equations_set_navier_stokes_equation_flowrate_aorta, equations_set_constants::equations_set_navier_stokes_equation_flowrate_olufsen, equations_set_constants::equations_set_navier_stokes_equation_one_dim_1, equations_set_constants::equations_set_navier_stokes_equation_sinusoid, equations_set_constants::equations_set_navier_stokes_equation_three_dim_1, equations_set_constants::equations_set_navier_stokes_equation_three_dim_2, equations_set_constants::equations_set_navier_stokes_equation_three_dim_3, equations_set_constants::equations_set_navier_stokes_equation_three_dim_4, equations_set_constants::equations_set_navier_stokes_equation_three_dim_5, equations_set_constants::equations_set_navier_stokes_equation_two_dim_1, equations_set_constants::equations_set_navier_stokes_equation_two_dim_2, equations_set_constants::equations_set_navier_stokes_equation_two_dim_3, equations_set_constants::equations_set_navier_stokes_equation_two_dim_4, equations_set_constants::equations_set_navier_stokes_equation_two_dim_5, equations_set_constants::equations_set_navier_stokes_equation_two_dim_poiseuille, equations_set_constants::equations_set_navier_stokes_equation_two_dim_taylor_green, base_routines::exits(), constants::global_deriv_s1, constants::global_deriv_s1_s2, constants::global_deriv_s2, constants::no_global_deriv, constants::pi, and constants::zero_tolerance.