|
Neko 1.99.7
A portable framework for high-order spectral element flow simulations
|
A simulation component that computes the wall shear stress on one or more labelled boundary zones and registers it in the neko_registry. The result is written into the registry fields <computed_field>_x, _y, _z and _mag, which are zero away from the marked zones.
More...


Public Attributes | |
| type(field_t), pointer | u => null() |
| X velocity component. | |
| type(field_t), pointer | v => null() |
| Y velocity component. | |
| type(field_t), pointer | w => null() |
| Z velocity component. | |
| type(field_t), pointer | p => null() |
| Pressure. | |
| type(field_t), pointer | mu => null() |
| Dynamic viscosity. | |
| type(field_t), pointer | tau_x => null() |
| X component of the wall shear stress. | |
| type(field_t), pointer | tau_y => null() |
| Y component of the wall shear stress. | |
| type(field_t), pointer | tau_z => null() |
| Z component of the wall shear stress. | |
| type(field_t), pointer | tau_mag => null() |
| Magnitude of the wall shear stress. | |
| type(coef_t), pointer | coef => null() |
| SEM coefficients. | |
| type(boundary_data_t) | bdata |
Boundary points of the chosen zones, with their geometry. Built with the coef normal convention, pointing out of the fluid. | |
| integer, dimension(:), allocatable | zone_indices |
| Labelled zones to include. | |
| logical | want_x = .true. |
| Which traction components are registered as fields. | |
| logical | want_y = .true. |
| logical | want_z = .true. |
| logical | want_mag = .true. |
| logical | mesh_has_changed = .false. |
| Whether the mesh geometry changes during the run. | |
| character(len=:), allocatable | computed_field |
| Base name of the registered fields. | |
| type(case_t), pointer | case |
| Pointer to the simulation case. | |
| type(time_based_controller_t) | preprocess_controller |
Controller for when to run preprocess. | |
| type(time_based_controller_t) | compute_controller |
Controller for when to run compute. | |
| type(time_based_controller_t) | output_controller |
| Controller for when to do output. | |
| integer | order |
| The execution order, lowest excutes first. | |
| character(:), allocatable | name |
| Unique name of the simcomp. | |
Private Member Functions | |
| procedure, pass(this), private | init_common (this, name, computed_field, viscosity_field, zone_indices, components, coef) |
| Common part of all constructors. | |
Definition at line 63 of file wall_shear_stress_simcomp.f90.
|
inherited |
| time | The current time. |
Definition at line 91 of file simulation_component.f90.
|
inherited |
| time | The current time. |
Definition at line 99 of file simulation_component.f90.
| procedure, pass(this) wall_shear_stress_simcomp::wall_shear_stress_t::compute_ | ( | class(wall_shear_stress_t), intent(inout) | this, |
| type(time_state_t), intent(in) | time | ||
| ) |
| time | The current time state. |
Definition at line 112 of file wall_shear_stress_simcomp.f90.
|
pure virtualinherited |
Definition at line 95 of file simulation_component.f90.
| procedure, pass(this) wall_shear_stress_simcomp::wall_shear_stress_t::free | ( | class(wall_shear_stress_t), intent(inout) | this | ) |
Definition at line 110 of file wall_shear_stress_simcomp.f90.
|
inherited |
Definition at line 81 of file simulation_component.f90.
|
pure virtualinherited |
Definition at line 93 of file simulation_component.f90.
| procedure, pass(this) wall_shear_stress_simcomp::wall_shear_stress_t::init | ( | class(wall_shear_stress_t), intent(inout), target | this, |
| type(json_file), intent(inout) | json, | ||
| class(case_t), intent(inout), target | case | ||
| ) |
| json | JSON object with the parameters. |
| case | The case object. |
Definition at line 100 of file wall_shear_stress_simcomp.f90.
|
inherited |
Definition at line 65 of file simulation_component.f90.
|
inherited |
| case | The simulation case object. |
| order | The execution oder priority of the simcomp. |
| preprocess_controller | Control mode for preprocessing. |
| preprocess_value | Value parameter for preprocessing. |
| compute_controller | Control mode for computing. |
| compute_value | Value parameter for computing. |
| output_controller | Control mode for output. |
| output_value | Value parameter for output. |
Definition at line 67 of file simulation_component.f90.
|
inherited |
| case | The simulation case object. |
| order | The execution oder priority of the simcomp. |
| preprocess_controller | The controller for running preprocessing. |
| compute_controller | The controller for running compute. |
| output_controller | The controller for producing output. |
Definition at line 67 of file simulation_component.f90.
|
inherited |
| case | The simulation case object. |
| order | The execution oder priority of the simcomp. |
| preprocess_controller | The controller for running preprocessing. |
| compute_controller | The controller for running compute. |
| output_controller | The controller for producing output. |
Definition at line 73 of file simulation_component.f90.
|
inherited |
| case | The simulation case object. |
| order | The execution oder priority of the simcomp. |
| preprocess_controller | Control mode for preprocessing. |
| preprocess_value | Value parameter for preprocessing. |
| compute_controller | Control mode for computing. |
| compute_value | Value parameter for computing. |
| output_controller | Control mode for output. |
| output_value | Value parameter for output. |
Definition at line 78 of file simulation_component.f90.
|
private |
| name | The unique name of the simcomp. |
| computed_field | The base name of the registered fields. |
| viscosity_field | The name of the registered viscosity field. |
| zone_indices | Labelled zones to include. |
| components | The components to register: "x", "y", "z", "mag", "all". |
| coef | The SEM coefficients. |
Definition at line 107 of file wall_shear_stress_simcomp.f90.
| generic wall_shear_stress_simcomp::wall_shear_stress_t::init_from_components | ( | class(wall_shear_stress_t), intent(inout) | this, |
| character(len=*), intent(in) | name, | ||
| class(case_t), intent(inout), target | case, | ||
| integer, intent(in) | order, | ||
| character(len=*), intent(in) | preprocess_control, | ||
| real(kind=rp), intent(in) | preprocess_value, | ||
| character(len=*), intent(in) | compute_control, | ||
| real(kind=rp), intent(in) | compute_value, | ||
| character(len=*), intent(in) | output_control, | ||
| real(kind=rp), intent(in) | output_value, | ||
| character(len=*), intent(in) | computed_field, | ||
| character(len=*), intent(in) | viscosity_field, | ||
| integer, dimension(:), intent(in) | zone_indices, | ||
| character(len=*), dimension(:), intent(in) | components, | ||
| type(coef_t), intent(inout), target | coef | ||
| ) |
| name | The unique name of the simcomp. |
| case | The simulation case object. |
| order | The execution order priority of the simcomp. |
| preprocess_control | Control mode for preprocessing. |
| preprocess_value | Value parameter for preprocessing. |
| compute_control | Control mode for computing. |
| compute_value | Value parameter for computing. |
| output_control | Control mode for output. |
| output_value | Value parameter for output. |
| computed_field | The base name of the registered fields. |
| viscosity_field | The name of the registered viscosity field. |
| zone_indices | Labelled zones to include. |
| components | The components to register: "x", "y", "z", "mag", "all". |
| coef | The SEM coefficients. |
Definition at line 101 of file wall_shear_stress_simcomp.f90.
| generic wall_shear_stress_simcomp::wall_shear_stress_t::init_from_components | ( | class(wall_shear_stress_t), intent(inout) | this, |
| character(len=*), intent(in) | name, | ||
| class(case_t), intent(inout), target | case, | ||
| integer, intent(in) | order, | ||
| type(time_based_controller_t), intent(in) | preprocess_controller, | ||
| type(time_based_controller_t), intent(in) | compute_controller, | ||
| type(time_based_controller_t), intent(in) | output_controller, | ||
| character(len=*), intent(in) | computed_field, | ||
| character(len=*), intent(in) | viscosity_field, | ||
| integer, dimension(:), intent(in) | zone_indices, | ||
| character(len=*), dimension(:), intent(in) | components, | ||
| type(coef_t), intent(inout), target | coef | ||
| ) |
| name | The unique name of the simcomp. |
| case | The simulation case object. |
| order | The execution order priority of the simcomp. |
| preprocess_controller | The controller for running preprocessing. |
| compute_controller | The controller for running compute. |
| output_controller | The controller for producing output. |
| computed_field | The base name of the registered fields. |
| viscosity_field | The name of the registered viscosity field. |
| zone_indices | Labelled zones to include. |
| components | The components to register: "x", "y", "z", "mag", "all". |
| coef | The SEM coefficients. |
Definition at line 101 of file wall_shear_stress_simcomp.f90.
| procedure, pass(this) wall_shear_stress_simcomp::wall_shear_stress_t::init_from_controllers | ( | class(wall_shear_stress_t), intent(inout) | this, |
| character(len=*), intent(in) | name, | ||
| class(case_t), intent(inout), target | case, | ||
| integer, intent(in) | order, | ||
| type(time_based_controller_t), intent(in) | preprocess_controller, | ||
| type(time_based_controller_t), intent(in) | compute_controller, | ||
| type(time_based_controller_t), intent(in) | output_controller, | ||
| character(len=*), intent(in) | computed_field, | ||
| character(len=*), intent(in) | viscosity_field, | ||
| integer, dimension(:), intent(in) | zone_indices, | ||
| character(len=*), dimension(:), intent(in) | components, | ||
| type(coef_t), intent(inout), target | coef | ||
| ) |
| name | The unique name of the simcomp. |
| case | The simulation case object. |
| order | The execution order priority of the simcomp. |
| preprocess_controller | The controller for running preprocessing. |
| compute_controller | The controller for running compute. |
| output_controller | The controller for producing output. |
| computed_field | The base name of the registered fields. |
| viscosity_field | The name of the registered viscosity field. |
| zone_indices | Labelled zones to include. |
| components | The components to register: "x", "y", "z", "mag", "all". |
| coef | The SEM coefficients. |
Definition at line 103 of file wall_shear_stress_simcomp.f90.
| procedure, pass(this) wall_shear_stress_simcomp::wall_shear_stress_t::init_from_controllers_properties | ( | class(wall_shear_stress_t), intent(inout) | this, |
| character(len=*), intent(in) | name, | ||
| class(case_t), intent(inout), target | case, | ||
| integer, intent(in) | order, | ||
| character(len=*), intent(in) | preprocess_control, | ||
| real(kind=rp), intent(in) | preprocess_value, | ||
| character(len=*), intent(in) | compute_control, | ||
| real(kind=rp), intent(in) | compute_value, | ||
| character(len=*), intent(in) | output_control, | ||
| real(kind=rp), intent(in) | output_value, | ||
| character(len=*), intent(in) | computed_field, | ||
| character(len=*), intent(in) | viscosity_field, | ||
| integer, dimension(:), intent(in) | zone_indices, | ||
| character(len=*), dimension(:), intent(in) | components, | ||
| type(coef_t), intent(inout), target | coef | ||
| ) |
| name | The unique name of the simcomp. |
| case | The simulation case object. |
| order | The execution order priority of the simcomp. |
| preprocess_control | Control mode for preprocessing. |
| preprocess_value | Value parameter for preprocessing. |
| compute_control | Control mode for computing. |
| compute_value | Value parameter for computing. |
| output_control | Control mode for output. |
| output_value | Value parameter for output. |
| computed_field | The base name of the registered fields. |
| viscosity_field | The name of the registered viscosity field. |
| zone_indices | Labelled zones to include. |
| components | The components to register: "x", "y", "z", "mag", "all". |
| coef | The SEM coefficients. |
Definition at line 105 of file wall_shear_stress_simcomp.f90.
|
inherited |
| json | The JSON dictionary of the simcomp. |
| case_params | The entire case configuration JSON. |
| preprocess_value | Control mode for preprocessing. |
| preprocess_controller | Value parameter for preprocessing. |
| compute_controller | Control mode for computing. |
| compute_controller | Value parameter for computing. |
| output_controller | Control mode for output. |
| output_controller | Value parameter for output. |
Definition at line 103 of file simulation_component.f90.
|
inherited |
| time | The current time. |
Definition at line 87 of file simulation_component.f90.
|
inherited |
| time | The current time. |
Definition at line 97 of file simulation_component.f90.
|
inherited |
| time | The current time. |
Definition at line 84 of file simulation_component.f90.
|
inherited |
| time | The current time. |
Definition at line 101 of file simulation_component.f90.
| type(boundary_data_t) wall_shear_stress_simcomp::wall_shear_stress_t::bdata |
Definition at line 86 of file wall_shear_stress_simcomp.f90.
Definition at line 52 of file simulation_component.f90.
Definition at line 83 of file wall_shear_stress_simcomp.f90.
|
inherited |
Definition at line 56 of file simulation_component.f90.
| character(len=:), allocatable wall_shear_stress_simcomp::wall_shear_stress_t::computed_field |
Definition at line 97 of file wall_shear_stress_simcomp.f90.
| logical wall_shear_stress_simcomp::wall_shear_stress_t::mesh_has_changed = .false. |
Definition at line 95 of file wall_shear_stress_simcomp.f90.
Definition at line 73 of file wall_shear_stress_simcomp.f90.
|
inherited |
Definition at line 62 of file simulation_component.f90.
|
inherited |
Definition at line 60 of file simulation_component.f90.
|
inherited |
Definition at line 58 of file simulation_component.f90.
Definition at line 71 of file wall_shear_stress_simcomp.f90.
|
inherited |
Definition at line 54 of file simulation_component.f90.
Definition at line 81 of file wall_shear_stress_simcomp.f90.
Definition at line 75 of file wall_shear_stress_simcomp.f90.
Definition at line 77 of file wall_shear_stress_simcomp.f90.
Definition at line 79 of file wall_shear_stress_simcomp.f90.
Definition at line 65 of file wall_shear_stress_simcomp.f90.
Definition at line 67 of file wall_shear_stress_simcomp.f90.
Definition at line 69 of file wall_shear_stress_simcomp.f90.
| logical wall_shear_stress_simcomp::wall_shear_stress_t::want_mag = .true. |
Definition at line 93 of file wall_shear_stress_simcomp.f90.
| logical wall_shear_stress_simcomp::wall_shear_stress_t::want_x = .true. |
Definition at line 90 of file wall_shear_stress_simcomp.f90.
| logical wall_shear_stress_simcomp::wall_shear_stress_t::want_y = .true. |
Definition at line 91 of file wall_shear_stress_simcomp.f90.
| logical wall_shear_stress_simcomp::wall_shear_stress_t::want_z = .true. |
Definition at line 92 of file wall_shear_stress_simcomp.f90.
| integer, dimension(:), allocatable wall_shear_stress_simcomp::wall_shear_stress_t::zone_indices |
Definition at line 88 of file wall_shear_stress_simcomp.f90.