Hello Everyone,
I am modeling a case a simple aerofoil. But the file of mesh_output doesn't output, which I need used as mesh input on archer. I don't know why. I attached the setup.xml and listing.
Thank you for your help.
All the best, Yany.
no mehs_output
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
no mehs_output
- Attachments
-
- listing.txt
- (22.7 KiB) Downloaded 319 times
-
- setup.xml
- (6.92 KiB) Downloaded 315 times
-
- Posts: 4209
- Joined: Mon Feb 20, 2012 3:25 pm
Re: no mehs_output
Hello,
To "listing" does not seem to be complete. Does the code crash or hang ?
Also, if the mesh is not modified, the mesh_output is removed, so using the "preprocess" mode is better if you are planning a separate run. The mesh_output generation may also be deactivated or forced by setting mesh->modified in cs_user_mesh.c
Regards,
Yvan
To "listing" does not seem to be complete. Does the code crash or hang ?
Also, if the mesh is not modified, the mesh_output is removed, so using the "preprocess" mode is better if you are planning a separate run. The mesh_output generation may also be deactivated or forced by setting mesh->modified in cs_user_mesh.c
Regards,
Yvan
Re: no mehs_output
Hello Yvan,
I think it's because the mesh is not modified, as I change another mesh, the file mesh_output can output. The problem is that I used the file attached to restart the case on archer:
if domain.param == None:
domain.mesh_input = "../MESH/mesh_output"
domain.partition_input = None
domain.restart_input = "RESU/checkpoint"
If there the no mesh_output file, How can I do that? Thank you.
Yany.
I think it's because the mesh is not modified, as I change another mesh, the file mesh_output can output. The problem is that I used the file attached to restart the case on archer:
if domain.param == None:
domain.mesh_input = "../MESH/mesh_output"
domain.partition_input = None
domain.restart_input = "RESU/checkpoint"
If there the no mesh_output file, How can I do that? Thank you.
Yany.
- Attachments
-
- cs_user_scripts.py
- (8.3 KiB) Downloaded 314 times
-
- Posts: 4209
- Joined: Mon Feb 20, 2012 3:25 pm
Re: no mehs_output
Hello,
Using the GUI is the simplest way of choosing this mode.
Otherwise, with cs_user_scripts.p, search for "--preprocess" in the comments.
Regards,
Yvan
Using the GUI is the simplest way of choosing this mode.
Otherwise, with cs_user_scripts.p, search for "--preprocess" in the comments.
Regards,
Yvan
Re: no mehs_output
I'm sorry Yvan, I can't get your point.
Because the code_saturne on archer dosen't support the format of Cgns, So I need to get the mesh_output in my own computer and make it as the mesh input on arhcer. The problem is the mesh_output didn't exist. So how can I get that? I have tried preprocess mode.
Thank you!
Yany.


Because the code_saturne on archer dosen't support the format of Cgns, So I need to get the mesh_output in my own computer and make it as the mesh input on arhcer. The problem is the mesh_output didn't exist. So how can I get that? I have tried preprocess mode.
Thank you!
Yany.
-
- Posts: 4209
- Joined: Mon Feb 20, 2012 3:25 pm
Re: no mehs_output
Hello,
If you only need to convert the CGNS file, the "mesh_input" file is all you need to transfer to Archer.
So instead of --preprocess, set domain.exec_solver to false in the user_scripts.py (in define_domain_parameters).
Regards,
Yvan
If you only need to convert the CGNS file, the "mesh_input" file is all you need to transfer to Archer.
So instead of --preprocess, set domain.exec_solver to false in the user_scripts.py (in define_domain_parameters).
Regards,
Yvan
Re: no mehs_output
Hi Yvan,
Thank you.
You mean mesh_input can be used as followed on archer?
if domain.param == None:
domain.mesh_input = "../MESH/mesh_input"
domain.partition_input = None
domain.restart_input = None
I have set domain.exec_solver to false in the user_scripts.py . But it still didn't works. The error is no cs.solver output.
Thank you.
You mean mesh_input can be used as followed on archer?
if domain.param == None:
domain.mesh_input = "../MESH/mesh_input"
domain.partition_input = None
domain.restart_input = None
I have set domain.exec_solver to false in the user_scripts.py . But it still didn't works. The error is no cs.solver output.
-
- Posts: 4209
- Joined: Mon Feb 20, 2012 3:25 pm
Re: no mehs_output
Hello,
Yes, you can use the mesh_input as you describe (you can place it anywhere, as long as the path is correct).
Best regards,
Yvan
Yes, you can use the mesh_input as you describe (you can place it anywhere, as long as the path is correct).
Best regards,
Yvan
Re: no mehs_output
Hi Yvan,
Thank you so much for your kind help . It now works. But I have one more question. What's is the different between the cs.solver and run.solver? In this case I can got run.solver, but no cs.solver......
Yany
Thank you so much for your kind help . It now works. But I have one more question. What's is the different between the cs.solver and run.solver? In this case I can got run.solver, but no cs.solver......
Yany
-
- Posts: 4209
- Joined: Mon Feb 20, 2012 3:25 pm
Re: no mehs_output
Hello,
cs_solver is the executable, run_solver the script. There might be no cs_solver when there are no user subroutines, in which case the default cs_solver in the code installation library is used (thar path appears in run_solver).
Best regards,
Yvan
cs_solver is the executable, run_solver the script. There might be no cs_solver when there are no user subroutines, in which case the default cs_solver in the code installation library is used (thar path appears in run_solver).
Best regards,
Yvan