Welcome, Guest
Username: Password: Remember me

TOPIC: Problem with the Fortran file

Problem with the Fortran file 11 years 11 months ago #6622

  • viviro7
  • viviro7's Avatar
Hello

I have been trying to run a 3D simulation of temperature stratification in a Lake with a heated discharge. I made some changes in few subroutines based on the Berre case file. I am also using an initial variable temperature profile. I have checked the file a lot of times and I am still getting a compilation error and I really don't see it. I don't know what I did wrong. I am attaching my fortran file and my case file.

Thanks so much

Viviana
Attachments:
The administrator has disabled public write access.

Problem with the Fortran file 11 years 11 months ago #6623

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

Can you send the error message or the output file? Maybe by reading it, the compilation error can be easily found? Which version of TELEMAC do you use? Version 6.1 or 6.2?

I have read your Fortran file and I have a few remarks to tell you:
- in CONDIM subroutine, you use a ITRAC index (from 1 to NTRAC) that should be rather I (as ITRAC seems not to be declared in CONDIM subroutine, I wonder how this can work),
- still in CONDIM, with your implementation, I wonder how "particular" is your initial condition. It looks like a constant elevation condition with the value 0.04 m,
- if you use the version 6.2, you should start your modifications of source files from subroutines in version 6.2 (e.g. BORD3D changed a little bit from the version 6.1 to 6.2).

Moreover, looking quickly to your steering file, these are a few remarks:
- why do you use the option 3 for density law (temperature and salinity) whereas you only have one tracer (salinity)? Just a copy and paste from the another test case?
- do not mix two languages for your keywords (VITESSE PROJETEE... twice and CONTOURNEMENT DES VOLUMES NULS in French),
- it is more appropriate to use a decimal separator (.) when using floats,
- suppress the first item defined more than once (e.g. tidal flats).

Regards,

Chi-Tuan
The administrator has disabled public write access.

Problem with the Fortran file 11 years 11 months ago #6624

  • viviro7
  • viviro7's Avatar
Thanks so much for your quick reply and all the comments. I will check them as soon as possible, mean while I am attaching the output file.

Viviana
Attachments:
The administrator has disabled public write access.

Problem with the Fortran file 11 years 11 months ago #6625

  • viviro7
  • viviro7's Avatar
Thanks so much for your quick reply and observations, I will check them ASAP, mean while I am attaching the output file.

Thanks

Viviana
Attachments:
The administrator has disabled public write access.

Problem with the Fortran file 11 years 11 months ago #6626

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

Can you also send your stderr file and /scratch/morale25/ClintLake/NewGeometry/Unsteady/Clint3D_Unsteady.cas12630_error.log file please? The errors should be written in the stderr file (error) as you seem to run your simulation in parallel mode on a cluster please?

Regards,

Chi-Tuan
The administrator has disabled public write access.

Problem with the Fortran file 11 years 11 months ago #6710

  • viviro7
  • viviro7's Avatar
Thanks so much, I was able to check the error file that you suggested and I fixed the problems. Now the simulation is running, I am waiting for the results.

Thanks again for your inputs and suggestions.

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

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