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
No mesh given
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
No mesh given
- Attachments
-
- check_mesh.log
- (13.6 KiB) Downloaded 200 times
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: No mesh given
Hello,
Could you post the contents of your "runcase.bat" file (in the scripts directory) ?
Regards,
Yvan
Could you post the contents of your "runcase.bat" file (in the scripts directory) ?
Regards,
Yvan
Re: No mesh given
Hello ,
My runcase.bat file seem to be normal since the solver is in the right directory but I may be wrong.
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
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
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
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: No mesh given
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
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