Welcome, Guest
Username: Password: Remember me

TOPIC: CONSTANT SEDIMENT SETLING VELOCITY

CONSTANT SEDIMENT SETLING VELOCITY 2 years 7 months ago #40104

  • pablo123
  • pablo123's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 36
Hello friends. I would like to know if this is possible.
I would like to inform the variable CONSTANT SEDIMENT SETLING VELOCITY, with an external file where the sedimentation velocity is variable in time. Considering a non-cohesive sediment.
thanks for listening
The administrator has disabled public write access.

CONSTANT SEDIMENT SETLING VELOCITY 2 years 7 months ago #40105

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
The answer is Yes you can but you should add some fortran code to modify the constant value in time according to the external file value.
You could use the formatted file for the values, then you don't have to take care of the partitionning, open and close of the file as this will be automatically managed by telemac
Nevertheless, you need to know Fortran to modify the code...

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: pablo123

CONSTANT SEDIMENT SETLING VELOCITY 2 years 7 months ago #40118

  • pablo123
  • pablo123's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 36
Hello again
I have two 3D simulations, one control, with material in non-cohesive suspension, grain size of 0.0001m and SETTLING VELOCITY of 0.0001 m/s. The other simulation is the same but with the inclusion of an external file with time-varying SETTLING VELOCITY. In this I include the VITCHU subroutine and another subroutine that I created (VELDEPO) to receive the values ​​of the time-varying SETTLING VELOCITY (WCHU), so that the VITCHU subroutine calls this variable. The problem is that this simulation exceeds the number of interactions for the three tracers (salt, temperature and sediment).
I'm not sure if the VITCHU subroutine is reading the calculated variable (WCHU in the VELDEPO subroutine) and is being entered correctly.
Attached the part of the subroutine that I include in the fortran file and the external file.

Grateful for the attention
Attachments:
The administrator has disabled public write access.

CONSTANT SEDIMENT SETLING VELOCITY 2 years 7 months ago #40155

  • pablo123
  • pablo123's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 36
I achieved! inside the VITCHU.f subroutine
thanks
The administrator has disabled public write access.
Moderators: pham

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