No mesh given

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
GautierR
Posts: 11
Joined: Mon Dec 07, 2015 2:35 pm

No mesh given

Post 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
Attachments
check_mesh.log
(13.6 KiB) Downloaded 200 times
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: No mesh given

Post by Yvan Fournier »

Hello,

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

Regards,

Yvan
GautierR
Posts: 11
Joined: Mon Dec 07, 2015 2:35 pm

Re: No mesh given

Post 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
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: No mesh given

Post 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
Post Reply