Page 1 of 1

No mesh given

Posted: Mon Apr 04, 2016 9:32 am
by GautierR
Hello,

I'm trying to start a simple thermal case, the one of the tutorial. I've made the mesh with Salome and export it in MED files.

When I open it with Code Saturne, I can import the mesh and add in an automatic way the boundary condition (unsing check_mesh.log).

Butt when I start the calculation, an error appear during preprocessing stage :
"Preprocessing stage is required but no mesh is given"

I think the error is due to implementation of the path for the mesh directory.

I use the GUI windows version 4.0.

Best Regards

Gautier

Re: No mesh given

Posted: Mon Apr 04, 2016 11:49 am
by Yvan Fournier
Hello,

Could you post the contents of your "runcase.bat" file (in the scripts directory) ?

Regards,

Yvan

Re: No mesh given

Posted: Fri Apr 08, 2016 6:53 am
by GautierR
Hello ,

My runcase.bat file seem to be normal since the solver is in the right directory but I may be wrong.

Code: Select all

@echo off

rem Ensure the correct command is found:
set PATH=C:\Program Files (x86)\Code_Saturne\4.0\bin;%PATH%

rem Run command:
code_saturne run

Edit :
Something weird regarding the slash and backslash appears for me, in the error it's said that it doesnt found the Mesh directory :

cs_case_domain.RunCaseError : Mesh File C:/Users/..../MESH\Cavity_mesh.med

Edit :
It's now working for some case but I still have no idea of the reason of this error.

Regards,

Gautier

Re: No mesh given

Posted: Fri Apr 08, 2016 10:14 am
by Yvan Fournier
Hello,

If you use the GUI, the name of the XML file should apprear in the runcase.bat in the same line as "code_saturne run".

If the runcase was saved correctly, you should not have issues. Be careful to save XML files in the DATA directory, not elsewhere, as this can lead to similar issues you are describing.

Regards,

Yvan