Welcome, Guest
Username: Password: Remember me

TOPIC: Output of additional variables to the result file

Output of additional variables to the result file 13 years 2 months ago #2517

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hello,

with Telemac-2D coupled with Sisysphe I want to have in my result file (Telemac2d or Sisyphe) an additional variable, which is computed in any subroutine, for example the non-dimensional skin friction TETAP.
I read the manual for the case of a new variable and doing that with the nomvar and preres subroutines but this doesn't really match my question.
Is there a way to do that?
I would appreciate any help!

Best regards,
Clemens
The administrator has disabled public write access.

Re: Output of additional variables to the result file 13 years 2 months ago #2518

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Clemens
What do you mean by "this doesn't really match my question"?
You cannot reach to have the new varaible in the result file?
Or you've got a new variable but the values are different from what you expected?

After modifying Nomvar and Preres, did you add the corresponding letter in the variables for graphic printout keyword?

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

Re: Output of additional variables to the result file 13 years 2 months ago #2522

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hello,

I wanted to add the TETAP variable to the result file which is calculated in the subroutine bedload_formula.f. I don't know how to get the variable TETAP into the preres subroutine since this variable is not in the declarations. So in the subroutine preres I tried for example to call the function bedload_formula.f but it doesn't work.
Regarding "this doesn't really match my question":
I have only examples where in the preres subroutine a new variable is calculated with variables which are already defined in the declarations.

Best regards,
Clemens
The administrator has disabled public write access.

Re: Output of additional variables to the result file 13 years 2 months ago #2524

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Clemens
Ok I understand
I check the sources code and see that TETAP is in fact T12 vector.
If T12 is not modified in another subroutine, you should add in preres
USE DECLARATIONS_SISYPHE, ONLY : T12
and then you copy T12 in the result vector

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: konsonaut

Re: Output of additional variables to the result file 13 years 2 months ago #2538

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hi Christophe,

thank you very much for your hints!

Best regards,
Clemens
The administrator has disabled public write access.
Moderators: Pablo, pavans

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