Problem running CS 4.0.2 on windows 7

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
jb_l
Posts: 31
Joined: Wed Aug 26, 2015 4:49 pm

Problem running CS 4.0.2 on windows 7

Post by jb_l »

Hello

I'm trying to use Code_saturne on Windows 7 64 bits

I've tried to run the tutorial case "Shear driven cavity"
Study directory structure has been created with "New file" in the GUI
The check mesh process run and result is ok.

But when firing calculation, the following error message appear :

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in
File "bin/code_saturne", line 76, in
File "lib/python2.7/site-packages/code_saturne\cs_script.py", line 88, in execute
File "lib/python2.7/site-packages/code_saturne\cs_script.py", line 150, in run
File "lib/python2.7/site-packages/code_saturne\cs_run.py", line 304, in main
File "lib/python2.7/site-packages/code_saturne\cs_case.py", line 1764, in run
File "lib/python2.7/site-packages/code_saturne\cs_case.py", line 1504, in prepare_data
File "lib/python2.7/site-packages/code_saturne\cs_case_domain.py", line 715, in preprocess
cs_case_domain.RunCaseError: Preprocessing stage required but no mesh is given

As I understand, no mesh is found...
The file "Cavity_mesh.med" is in the directory "MESH" of the Study
And in the Calculation environment/Mesh selection :
Under Meshes tab :
Import mesh selected,
Local mesh directory ..\MESH
List of mesh as in the tutorial

summary file of the run is attached

Does anybody has an idea??

PS : Many thanks for porting Saturne on Windows. Waiting that for...7 years maybe...
Attachments
summary.txt
Claculation run summary
(3.4 KiB) Downloaded 305 times
jb_l
Posts: 31
Joined: Wed Aug 26, 2015 4:49 pm

Re: Problem running CS 4.0.2 on windows 7

Post by jb_l »

After checking, it appear that the field "Numbers" under Calculation environnement| Meshes selection| List of meshes wasn't filled up.

I've adding "1" in this file and restart calculation.

But there is still some error in preprocessor execution :

Error in preprocessor execution
===============================

../../../preprocessor/appli/ecs_cmd.c:1123: Fatal error.

Option "--num " is not recognized.


Error running the preprocessor.
Check the preprocessor.log file for details.

Error in preprocessing stage.

Error in preprocessing stage.

Does anybody knows where is the preprocessor.log file?
Any idea about this issue?
Listing file of the calculation is joined.

Thanks a lot by advance
Attachments
listing.20150826-1817.txt
Calculation listing
(4.43 KiB) Downloaded 285 times
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem running CS 4.0.2 on windows 7

Post by Yvan Fournier »

Hello,

Your first error is probably due to not having saved the "runcase" before running the case.

Your second error is not related: you have found a small bug, for which I have the fix (which will be in 4.0.3, which we'll probably release near mid-september). I'll commit and merge it in a few days (I'm out of office this week and next week).

In the meantime, if you remove the "1" where you added if in the "Numbers" zone for mesh selection, your computation should run OK.

Regards,

Yvan
jb_l
Posts: 31
Joined: Wed Aug 26, 2015 4:49 pm

Re: Problem running CS 4.0.2 on windows 7

Post by jb_l »

Hello

It's now working.

Thanks a lot

Regards
Post Reply