Welcome, Guest
Username: Password: Remember me

TOPIC: Problem with salinity values after RESTART

Problem with salinity values after RESTART 10 years 7 months ago #12458

  • MARON Philippe
  • MARON Philippe's Avatar
Hi!
with Telemac3d V6P2R1
We are working on the model of a plume river. We want to do a second simulation following a first one.
The program run but when we examine the results, we have problems with salinity values. At the first step time of the second simulation,
the salinity values have exactly the values they had at last step time of the first run,so it seems to be ok BUT at the following time step,
the salinity values are reinitialised and takes the initial values.
In the second simulation, we only add :
SUITE DE CALCUL : OUI
FICHIER DU CALCUL PRECEDENT : L3_AR_003c_R3D.slf
and change the names of the result files
the LIQUID BOUNDARIES FILES IS THE SAME in the two run
Do you have some ideas ?
The administrator has disabled public write access.

Problem with salinity values after RESTART 10 years 7 months ago #12460

  • jmhervouet
  • jmhervouet's Avatar
Hello Philippe,

Yes, this is a known bug corrected in further versions. On line 410 in telemac3d.f there is a CALL OS that copies TA into TRN and this line must be moved after line 460, so that in case of restart TRN takes the values of tracers read in the previous computation file. Otherwise TA (tracers) are correct but the tracers at the previous time step (TRN) are not.

Regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Problem with salinity values after RESTART 10 years 7 months ago #12471

  • MARON Philippe
  • MARON Philippe's Avatar
Hello Jean Michel,
So If I well understand, I can copy line 410 after line 460 in telemac3d.f and compile again this file in order to correct this bug without using V6P3 version.
Now my question is how can I compile this file :blush: ?
I use a windows7 computer and have a fortran compiler inside "Microsoft Visual Studio 2008".

Many thanks for your help

Regards
Philippe
The administrator has disabled public write access.

Problem with salinity values after RESTART 10 years 7 months ago #12473

  • jmhervouet
  • jmhervouet's Avatar
Hello,

The simplest way is to have the modified telemac3d.f in the FORTRAN FILE of your case.

Otherwise depending on whether you are in Python or Perl :

Perl: go in the telemac3d sources, and run the command: maktel all install, you will see that only telemac3d.f is recompiled.
Python: compileTELEMAC.py

provided that the relevant variable $SYSTELCFG has been set before.

Regards,

JMH
The administrator has disabled public write access.
Moderators: pham

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