I am having a similar problem, I am trying to calculate the energy extraction in a defined area in a simple open channel flow. The area contains a defined number of tidal turbines, I have edited the dragfo subroutine to include a calculation for power, in the same format that is used for calculating the drag force, however when I run teh code I get an error that 'A dummy argument name is req'd in this context. [POWER] type(BIEF_OBJ), intent(INOUT) :: POWER'
Does this mean I need to define POWER somewhere else?
I have attached my dragfo subroutine, any help would be much appreciated.
Cheers
Danny