Welcome, Guest
Username: Password: Remember me

TOPIC: Problems with previous computation file

Problems with previous computation file 1 week 3 days ago #45951

  • teriyaki
  • teriyaki's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hello everyone,
I'm a begineer to Telemac3D and I'm encountering an issue that I hope someone can help me with. I've been using the converter_ini.py script to interpolate an SLF file containing HYCOM data into a 3D grid. I intended to use this file as the previous computation file" to provide data for my calculation. However, when the computation starts, I encounter an error. The program prompts me that the Z coordinate cannot be found. Below are my previous computation file and the error message. If needed, I can provide more details.
Attachments:
The administrator has disabled public write access.

Problems with previous computation file 1 week 2 days ago #45965

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1592
  • Thank you received: 606
Hello,

Which release do you use?
Can you upload the steering file + potential Fortran file you use?
Which language for your steering file? If in French, switch to English.

Can you run run_telfile.py scan name_previous_computation_file and upload the listing of the result please?

Can you also run run_telfile.py scan name_geometry_file

Chi-Tuan
The administrator has disabled public write access.

Problems with previous computation file 1 week 17 hours ago #45972

  • teriyaki
  • teriyaki's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hello,
I have repeated the general process of extracting files, and now the program is running. However, I have encountered a new problem where the bottom elevation in my previous computation file is overriding my terrain file. I am currently unsure of how to handle this issue. Could you please provide some guidance on this?
Attachments:
The administrator has disabled public write access.

Problems with previous computation file 1 week 16 hours ago #45973

  • teriyaki
  • teriyaki's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
I'm sorry for the file size limitations, my binary data file and the hot start file can't be uploaded even after compression.
The administrator has disabled public write access.

Problems with previous computation file 1 week 10 hours ago #45974

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1592
  • Thank you received: 606
Hello,

Usual use of PREVIOUS COMPUTATION FILE is to run a computation from a previous one using the same geometry file.
As in a PREVIOUS COMPUTATION FILE, you have elevation of every node, the bottom elevation is classically taken from the elevation of the bottom plane.
That is what you can currently see with your setup.

I can see 1 work around to try to do what you want.
Put telemac3d_init.F in your FORTRAN FILE.
Find the loop after the line
        CALL READ_DATASET(T3D_FILES(T3DPRE)%FMT,T3D_FILES(T3DPRE)%LU,

Replace the loop
        DO K=1,NPOIN2
          H%R(K)=Z(K+NPOIN2*(NPLAN-1))-Z(K)
          ZF%R(K)=Z(K)
        ENDDO

by
        DO K=1,NPOIN2
          H%R(K) = MAX(Z(K+NPOIN2*(NPLAN-1))-ZF%R(K),0.D0)
        ENDDO

With that, bottom elevation ZF should be kept from what is done before and not replaced by elevation of bottom plane read in your PREVIOUS COMPUTATION FILE.
It should also prevent from getting negative water depth and issues when recomputing the 3D mesh.
I have not tested it but do not hesitate to give your feedback.

I hope that the bottom elevation from your geometry file and the bottom elevation from your previous computation file are not so inconsistent so that values may not lead to other issues.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
Moderators: pham

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