Welcome, Guest
Username: Password: Remember me

TOPIC: creation of a new derived data type in telemac2D

creation of a new derived data type in telemac2D 4 years 3 months ago #36506

  • FLC
  • FLC's Avatar
Hi,

I need to develop a new type of hydraulic structure (somthing like a topographic weir) in Telemac2D to store data that would be accessed anywhere in the code.

The better way, I think, would be to create a new Fortran derived data type.
Is there a good way to manage that ?
I think a good practice would be :
- Creation of a new derived type : ?
- Declaration of new variable : in declaration-telemac2d
- Allocation and initialization of variables : in point_telemac2d

Can anybody tell me where to declare a new derived type ?

Have a good day and thanks to all users and moderators of this forum that make Telemac a very lively program...

Best regards,

Fabien
The administrator has disabled public write access.

creation of a new derived data type in telemac2D 4 years 3 months ago #36508

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello Fabien,

First, be sure that you cannot get what you want with current features of TELEMAC.

Otherwise, I think you are now mature enough to read the developer guide. :)
available in
$HOMETEL/documentation/Misc/developer_guide
or
wiki.opentelemac.org/doku.php?id=documentation_v8p1r1 in Miscellaneous Manuals (bottom of the page).

See the BIEF_DEF module in sources/utils/bief and first advice, have a look at weirs, breaches or culverts features which could help you.

Good luck,

Chi-Tuan
The administrator has disabled public write access.
The following user(s) said Thank You: FLC
Moderators: pham

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