Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: How to run a simulation with TELEMAC 2D

How to run a simulation with TELEMAC 2D 9 years 7 months ago #16408

  • Pierre-Louis
  • Pierre-Louis's Avatar
Hello

I'm a new user of TELEMAC.
I have compiled telemac v7p0 on my computer but when I try to run the examples given with the sources I get the error message below.
READ_CONFIG : FICHIER CONFIG NON TROUVE : CONFIG
VALEURS PAR DEFAUT DE LU ET LNG : 0 ET
READ_CONFIG: FILE CONFIG NOT FOUND: CONFIG
DEFAULTS VALUES OF LU AND LNG: 0 AND 0
.
CHOIX DE LA LANGUE = 0 INVALIDE.
ARRET DE DAMOCLES

STOP 2

I know there is already a topic with this error but I have not found the solution.

thanks.
The administrator has disabled public write access.

How to run a simulation with TELEMAC 2D 9 years 7 months ago #16410

  • jmhervouet
  • jmhervouet's Avatar
Hello,

This is probably an error in your configuration. The files which are missing are created by the Python (or Perl) scripts, so probably there is a wrong address somewhere in the paths. You can also look in the temporary folder created to run the case which files have been copied (normally you should find the data files with standardised names like T2DGEO for the geometry file, etc.).

With best regards,

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

How to run a simulation with TELEMAC 2D 9 years 7 months ago #16412

  • Pierre-Louis
  • Pierre-Louis's Avatar
hi

I do not have a temporary folder created when I run the simulation. I just have two empty text file, T2DCAS and T2DDICO .

should I just run the executable to run the simulation telemac2D.exe or should I use a python script.

For the EQ_LIBRARY_PATH and SYSTELCFG environment variable, are they necessary for the simulation or only for the compilation.


Best Regards, Pierre-Louis
The administrator has disabled public write access.

How to run a simulation with TELEMAC 2D 9 years 7 months ago #16413

  • jmhervouet
  • jmhervouet's Avatar
Hello,

If you use Perl, SYSTELCFG is necessary also for running the cases (it gives the addresses of scripts). For Python I do not know, maybe a specialist can give hints or you can post your configuration and say exactly how you run the case.

With best regards,

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

How to run a simulation with TELEMAC 2D 9 years 7 months ago #16415

  • Pierre-Louis
  • Pierre-Louis's Avatar
I use neither pearl nor Python.
I run my simulation like this.

> Telemac.exe test_cas.cas

I also tryed

> python -s f2py.py telemac2d.exe test_cas.cas

and i have this output

Reading fortran codes...
Reading file 'telemac2d.exe' (format:free)
Reading file 't2d_breach.cas' (format:free)
Post-processing...
Post-processing (stage 2)...
Building modules...

but nothing more.

Best regards, Pierre-Louis
The administrator has disabled public write access.

How to run a simulation with TELEMAC 2D 9 years 7 months ago #16416

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

it looks like you are try to execute the executable directly -- you should run the script rather, who will deal with the executable on its own ... something like telemac2d.py file.cas

Hope this helps,
Sébastien.
The administrator has disabled public write access.

How to run a simulation with TELEMAC 2D 9 years 7 months ago #16417

  • Pierre-Louis
  • Pierre-Louis's Avatar
Ok, but where do i find such a script on my source file. Can you show me what kind of file it is ?
Thanks

Best Regards Pierre-Louis
The administrator has disabled public write access.

How to run a simulation with TELEMAC 2D 9 years 7 months ago #16418

  • hshen
  • hshen's Avatar
Try something like this, and see whether it run

step 1: open a cmd window
step 2: paste this command (change C:\opentelemac-mascaret to your telemac root folder, and win7gfors is the folder hosting your executables). You also need to define the SYSTELCFG environment variable, runcode.py will search for this variable.

C:\opentelemac-mascaret\python27\python.exe C:\opentelemac-mascaret\v7p0r1\scripts\python27\runcode.py -c win7gfors -s C:\opentelemac-mascaret\v7p0r1\examples\telemac2d\riv_art\t2d_riv_art.cas
The administrator has disabled public write access.

How to run a simulation with TELEMAC 2D 9 years 7 months ago #16431

  • Pierre-Louis
  • Pierre-Louis's Avatar
hi hshen

I have the python.exe but i do not have "runcode.py". it seems to be my principal problem.
is win7gfors a comande ?
My executable host folder is "wingfors\bin". is it ok ?

thanks
The administrator has disabled public write access.

How to run a simulation with TELEMAC 2D 9 years 7 months ago #16441

  • hshen
  • hshen's Avatar
Check the size of your model download (e.g. v7p0r1)? You may not have a complete download (mine is 2.11 GB). win7gfors is just my configuration name, it is fine to use other names.

Folder <root>\v7p0r1\scripts\python27 includes a bunch of python scripts to work with telemac model
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: pham

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