Welcome, Guest
Username: Password: Remember me

TOPIC: Telemac/Sisyphe/Coupling

Telemac/Sisyphe/Coupling 7 years 3 months ago #27572

  • AICHA
  • AICHA's Avatar
Hello,

I'm trying to run an exemple from Sysiphe, could you help me please to understand what is the problem. thank you.

I am getting the following error:


_____________
runcode::main:
:
uncontroled error from python:: IOError(2, 'No such file or directory')
~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v7p1\scripts\python27\runcode.py", line 1604, in
main
runCAS(cfgname,cfg,codeName,casFiles,options)
File "C:\opentelemac-mascaret\v7p1\scripts\python27\runcode.py", line 1034, in
runCAS
putFileContent(f90File,getFileContent(f90File)++getFileContent(f90FilePl
age))
File "C:\opentelemac-mascaret\v7p1\scripts\python27\utils\files.py", line 119,
in getFileContent
SrcF = open(file,'r')
IOError: [Errno 2] No such file or directory: 't2dfort.f'
~~~~~~~~~~~~~~~~~~

BR,
Aicha
The administrator has disabled public write access.

Telemac/Sisyphe/Coupling 7 years 3 months ago #27573

  • Phelype
  • Phelype's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 64
Hello Aicha,

From what it looks like, the error is that python did not find some file (IOError(2, 'No such file or directory')). More specifically, when it was trying to read the fortran file (IOError: [Errno 2] No such file or directory: 't2dfort.f').

Try checking if all fortran files (I say all because you said it is a coupled model) exist and if they are in the correct path.

Also (I must say that now I'm just guessing), check if the steering of your coupled module does not contain a path to a fortran file. I think that all fortran code must be supplied in the main steering file.

If that does not help, upload the files needed to reproduce this error so I can try to solve it.

Best regards,

Phelype
The administrator has disabled public write access.
The following user(s) said Thank You: AICHA

Telemac/Sisyphe/Coupling 7 years 3 months ago #27589

  • AICHA
  • AICHA's Avatar
Hello phelype,

Thank you for your response, actually i foud out that the problem was a keyword that i ve used, till i removed it, the simulation was well done !!!!

i have a question, is it possible to prescriBe the velocity and the flowrate at the same time in my parameters file ??
Thank you,

BEST REGARDS,

Aicha.
The administrator has disabled public write access.

Telemac/Sisyphe/Coupling 7 years 3 months ago #27591

  • Phelype
  • Phelype's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 64
Hello Aicha,

I'm not sure about the answer to your question. I never tried it.

Here's how I think of it:

You have a liquid boundary and the mass balance must be maintained everywhere.

When you impose a velocity field, the flowrate and the surface height both adjust to be compatible with the condition you impose. For example, if you increase too much the velocity, the flowrate will also increase in the same way, and maybe the surface height will go up a little.

But when you impose both, the only unknown variable is the surface height, which has to compensate for the conditions of velocity and flowrate. So let's say you increase the velocity field but keeps the flowrate. Then the surface height must increase proportionally. Then the pressure field will be modified and then the whole solution will be compromised.

Technically, I think it may work as long as you don't give some impossible hydrodynamic condition (Although, there may be some trigger in telemac that denies this, if it is really not possible).
Theoretically, I think you should only impose what is needed, and not give redundant boundary conditions.

But keep in mind that I am not sure of what I'm saying here. It may be just gibberish ;P

Maybe someone with more experience may answer you better.

Regards,

Phelype
The administrator has disabled public write access.
The following user(s) said Thank You: AICHA

Telemac/Sisyphe/Coupling 7 years 3 months ago #27630

  • AICHA
  • AICHA's Avatar
Hello Phelype,

when i add the velocity values to the flowrates XD, the surface height go up a little as you told me XD.

i wanted to see what would happen if i vary the surface current velocity!!! from 0.1m/s to 1m/s.

thank you for your help :)

B.R,
Aicha.
The administrator has disabled public write access.
Moderators: Pablo, pavans

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