Welcome, Guest
Username: Password: Remember me

TOPIC: Energy extraction

Energy extraction 12 years 2 months ago #5446

  • ucs803
  • ucs803's Avatar
Hi,

Could anyone help me calculate energy extraction in T2D?
I have attempted it by adapting CORSTR.f, and updating the Mannings friction coefficient, based on power uptake proportional to velocity cubed.
I want to simulate multiple turbines from one node.
I'm getting confused when I think about area upon which the turbine(s) act.

Any example code would be much appreciated.

Thanks,
Peter
The administrator has disabled public write access.

Energy extraction 12 years 2 months ago #5447

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You should use (and adapt) the subroutine dragfo.f (example commented in the subroutine) which is best suited for such case.

regards
Christophe
The administrator has disabled public write access.

Energy extraction 12 years 2 months ago #5544

  • ucs803
  • ucs803's Avatar
Thanks for that,

I've now tried adapting DRAGFO.f, but can't seem to generate any changes to the velocities - altering FUDRAG%R(I) and FVDRAG%R(I) do not change anything (I have also modified the quadrilateral zone of interest).

Do I need to modify any other code in the subroutine in order to affect velocities locally?

Thanks,
Peter
The administrator has disabled public write access.

Energy extraction 12 years 2 months ago #5546

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
You should activate the function with a keyword (vertical structure or something similar).
You could have a look into the dictionnary

Hope this helps
Christophe
The administrator has disabled public write access.

Energy extraction 12 years 2 months ago #5553

  • ucs803
  • ucs803's Avatar
Thanks!
The administrator has disabled public write access.

Energy extraction 11 years 4 months ago #9571

  • dsc1r12
  • dsc1r12's Avatar
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
Attachments:
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.