m_alm_output Module

Per-element load output of the actuator line model (ALM).

Incompact3d writes one file per element; here each actuator line (blade or tower) gets one root-written CSV file, <line name>.load, with a row per element at every output step. Rotor performance goes through m_scalar_series in m_alm.


Uses

  • module~~m_alm_output~~UsesGraph module~m_alm_output m_alm_output module~m_alm_element m_alm_element module~m_alm_output->module~m_alm_element module~m_common m_common module~m_alm_output->module~m_common module~m_logger m_logger module~m_alm_output->module~m_logger module~m_alm_element->module~m_common module~m_alm_airfoil m_alm_airfoil module~m_alm_element->module~m_alm_airfoil module~m_common->module~m_logger m_mpi m_mpi module~m_common->m_mpi iso_fortran_env iso_fortran_env module~m_logger->iso_fortran_env module~m_logger->m_mpi module~m_alm_airfoil->module~m_common module~m_alm_airfoil->module~m_logger

Used by

  • module~~m_alm_output~~UsedByGraph module~m_alm_output m_alm_output module~m_alm m_alm module~m_alm->module~m_alm_output module~m_turbine_setup m_turbine_setup module~m_turbine_setup->module~m_alm module~m_case_abl m_case_abl module~m_case_abl->module~m_turbine_setup module~m_case_wind_turbine m_case_wind_turbine module~m_case_wind_turbine->module~m_turbine_setup module~m_case_factory m_case_factory module~m_case_factory->module~m_case_abl module~m_case_factory->module~m_case_wind_turbine module~m_memcheck_build m_memcheck_build module~m_memcheck_build->module~m_case_abl module~m_memcheck_build->module~m_case_factory program~x3d2_memcheck x3d2_memcheck program~x3d2_memcheck->module~m_memcheck_build program~xcompact xcompact program~xcompact->module~m_case_factory

Subroutines

public subroutine init_loads_file(line, is_root, append)

Start <line name>.load with its header, unless appending to an existing file on restart.

Arguments

Type IntentOptional Attributes Name
type(actuator_line_t), intent(in) :: line
logical, intent(in) :: is_root
logical, intent(in) :: append

public subroutine write_line_loads(line, points, iter, time, is_root)

Append the element loads of line at iteration iter. points are the element positions the loads were computed at, before the rotor advanced.

Arguments

Type IntentOptional Attributes Name
type(actuator_line_t), intent(in) :: line
real(kind=dp), intent(in) :: points(:,:)
integer, intent(in) :: iter
real(kind=dp), intent(in) :: time
logical, intent(in) :: is_root