Welcome, Guest
Username: Password: Remember me

TOPIC: Should (FORMATTED FILE 1) contain all the data?

Should (FORMATTED FILE 1) contain all the data? 12 years 9 months ago #3823

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Hello,

I made a boundary data file in SELAFIN format which contains the time series of water levels for all the nodes in the mesh. I wanted to use it in parallel computation. However, this "FORMATTED FILE 1" is too large to use (more than 5GB). So i'm wondering should this "FORMATTED FILE 1" contain all the data points of the mesh? How does parallel version of Telemac use this file? Will it be splitted into the pieces with the same size as the geometry file?

Thanks a lot!
The administrator has disabled public write access.

Re: Should (FORMATTED FILE 1) contain all the data? 12 years 9 months ago #3825

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
if you build data with a selafin format you should use the BINARY FILE.
Formatted file are just duplicate as many as the number of domains.
Binary files are cut by partel like the geometry file.

I'm not sure to well understand what you did but why create a file with the time series of water for all nodes in the mesh if the goal is to use it for boundary file?
I'm sure you could do something more efficient.
I've made something similar for a large open boundary (100km long in the channel) where I just have free surface and two components of velocity at each boundary node...

Regards
Christophe
The administrator has disabled public write access.

Re: Should (FORMATTED FILE 1) contain all the data? 12 years 9 months ago #3827

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Thanks Christophe. I would like to do the same as you did for your case but in parallel. How did you impose boundary conditions which vary over time and space? I also have the velocities at boundary nodes but haven't used that. Is it better to use velocity instead of water level as the boundary conditions?

Before I just gave the values to the boundary nodes by reading the data from a text file. Now I try to do it in parallel. I remember you said it was not a right way to read data from a text file in parallel computation...
The administrator has disabled public write access.

Re: Should (FORMATTED FILE 1) contain all the data? 12 years 9 months ago #3838

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Hello,

I think if I use formatted data file I don't need to make it as a SELAFIN format file.

My question is how to read this "formatted data file 1" from telemac? In the subroutine I wrote:

READ(26,*) (MNRBC(I),I=1,18)
WRITE(LU,*) 'GLOBAL NO. OF RIVER BC :',(MNRBC(I),I=1,18)

But it caused some problems.
The administrator has disabled public write access.

Re: Should (FORMATTED FILE 1) contain all the data? 12 years 9 months ago #3839

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Hi,

I think I made a mistake. Formatted file is an ASCII file.
Now the problem is solved. Thanks!
The administrator has disabled public write access.
Moderators: pham

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