load_spatial_parabol Subroutine

private subroutine load_spatial_parabol(me, conf, thandle, nComp)

This subroutine load 3d parabola type variables from LUA file.

Specify amplitude to size of nComp in spatial block. If amplitude is not defined, it set to 1.0_rk for all components Valid definition:

  1. 2D parabola
 spatial = {predefined='parabol', shape = { center/origin={-5.0, 0.0, 0.0},
                                            vec={0.0, 1.0, 0.0}},
                                            amplitude = 0.01}
 where, center - line center.
        origin - line origin. (define either center or origin)
        vec    - length of the line.

Parabolic 2D profile at channel inlet.

parabol2d

  1. 3D parabola
 spatial = {
   predefined = 'parabol',
   shape = {
     center/origin = {-5.0, 0.0, 0.0},
     vec = {
       {0.0, 1.0, 0.0},
       {1.0, 0.0, 0.0}
     },
     amplitude = 0.01
  }
 where, center - plane center.
        origin - plane origin. (define either center or origin)
        vec    - length of the plane in 2 direction.
        amplitude - maximum value

Parabolic 3D profile at channel inlet. parabol3d

Example: Inlet velocity at inlet plane with velocity along x-dir with a maximum velocity 0.08. Inlet plane is normal to x-dir and located at offset of {-5,0,0} from origin. The plane spans -1 to 1 in both y and z-dir.

 boundary_condition = {
   {
     label = 'inlet',
     kind = 'inlet_ubb',
     velocityX = {
       kind = 'combined',
       spatial = {
         predefined='parabol',
         shape = {
           origin = {-5.0, 0.0, 0.0},
           vec={ {0.0, 1.0, 0.0}, {0.0, 0.0, 1.0} }
         },
         amplitude = 0.01
       }
     },
     velocityY = 0.0
     velocityZ = 0.0
   }
 }
  _______vecB____
 |       |      |
 |       |      |
 |       |______|vecA
 |     center   |
 |              |
 |______________|_

Arguments

TypeIntentOptionalAttributesName
type(spatial_parabol_type), intent(out) :: me

parabola3d spatial datas

type(flu_State) :: conf

lua state type

integer, intent(in) :: thandle

aotus parent handle

integer, intent(in) :: nComp

Number of components


Calls

proc~~load_spatial_parabol~~CallsGraph proc~load_spatial_parabol load_spatial_parabol proc~tem_abort tem_abort proc~load_spatial_parabol->proc~tem_abort proc~load_spatial_asconst load_spatial_asConst proc~load_spatial_parabol->proc~load_spatial_asconst interface~tem_tostr tem_toStr proc~load_spatial_parabol->interface~tem_tostr interface~tem_load_shape tem_load_shape proc~load_spatial_parabol->interface~tem_load_shape mpi_abort mpi_abort proc~tem_abort->mpi_abort proc~load_spatial_asconst->proc~tem_abort interface~aot_get_val~2 aot_get_val proc~load_spatial_asconst->interface~aot_get_val~2 proc~tem_r2str_arr tem_r2str_arr interface~tem_tostr->proc~tem_r2str_arr proc~tem_l2str tem_l2str interface~tem_tostr->proc~tem_l2str proc~tem_d2str_arr tem_d2str_arr interface~tem_tostr->proc~tem_d2str_arr proc~tem_l2str_arr tem_l2str_arr interface~tem_tostr->proc~tem_l2str_arr proc~tem_d2str tem_d2str interface~tem_tostr->proc~tem_d2str proc~tem_b2str_arr tem_b2str_arr interface~tem_tostr->proc~tem_b2str_arr proc~tem_b2str tem_b2str interface~tem_tostr->proc~tem_b2str proc~tem_r2str tem_r2str interface~tem_tostr->proc~tem_r2str proc~tem_i2str tem_i2str interface~tem_tostr->proc~tem_i2str proc~tem_i2str_arr tem_i2str_arr interface~tem_tostr->proc~tem_i2str_arr proc~tem_load_shape_single tem_load_shape_single interface~tem_load_shape->proc~tem_load_shape_single proc~tem_load_shapes tem_load_shapes interface~tem_load_shape->proc~tem_load_shapes

Called by

proc~~load_spatial_parabol~~CalledByGraph proc~load_spatial_parabol load_spatial_parabol proc~load_spatial_predefined load_spatial_predefined proc~load_spatial_predefined->proc~load_spatial_parabol proc~tem_load_spatial tem_load_spatial proc~tem_load_spatial->proc~load_spatial_predefined proc~load_spacetime_predefined load_spacetime_predefined proc~load_spacetime_predefined->proc~tem_load_spatial proc~tem_load_ic tem_load_ic proc~tem_load_ic->proc~tem_load_spatial proc~tem_load_spacetime_single tem_load_spacetime_single proc~tem_load_spacetime_single->proc~load_spacetime_predefined

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iError