Hello everyone. I am new with code_saturne and working on dc electric arc now. I have done a lot of research but still don't understand how to set boundary conditions correctly. I will very appreciate it if someone can generously sent me a simple example case of dc electric arc for reference or give me some practical advice on how to write codes of boundary conditions setting.
Here are the example images of the mesh and boundary conditions used in my simulation.
dc electric arc
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
dc electric arc
- Attachments
-
- 231.PNG
- (5.83 KiB) Not downloaded yet
-
- Posts: 4070
- Joined: Mon Feb 20, 2012 3:25 pm
Re: dc electric arc
Hello,
I can find a test case, but the first step would be to define boundary zones on your mesh for each of the zones described here.
Do you have an initial setup (xml file from the GUI) from your first tries ?
Regards,
Yvan
I can find a test case, but the first step would be to define boundary zones on your mesh for each of the zones described here.
Do you have an initial setup (xml file from the GUI) from your first tries ?
Regards,
Yvan
Re: dc electric arc
Hello, Yvan.
I have set relevant boundary conditions on the mesh and then on the GUI., but it didn't work. The simulation result was not what I want. Then I searched on the forum and someone said that boundary conditions can be set with .F90 files. Sadly I basically know nothing about Fortran. So it's difficult for me to write codes.
Also I think there's might be something wrong with my model's initiation. I did all the setting with GUI. Will that be enough? Or I have to do something with initiation.F90 file?
Regards.
Tian
I have set relevant boundary conditions on the mesh and then on the GUI., but it didn't work. The simulation result was not what I want. Then I searched on the forum and someone said that boundary conditions can be set with .F90 files. Sadly I basically know nothing about Fortran. So it's difficult for me to write codes.
Also I think there's might be something wrong with my model's initiation. I did all the setting with GUI. Will that be enough? Or I have to do something with initiation.F90 file?
Regards.
Tian
-
- Posts: 4070
- Joined: Mon Feb 20, 2012 3:25 pm
Re: dc electric arc
Hello,
You can find example electric arcs boundary conditions files in the SRC/EXAMPLES file of your case, but I recommend using the GUI to the maximum (you can combine the 2, using the GUI for most definitions, including most boundary zones). There s also an optional C routine for another part of the BC, so I do not recommend this.
If the results are not what you expected, there can be multiple reasons, so, detailing the problems here will be more useful than switch to user subroutines.
Best regards,
Yvan
You can find example electric arcs boundary conditions files in the SRC/EXAMPLES file of your case, but I recommend using the GUI to the maximum (you can combine the 2, using the GUI for most definitions, including most boundary zones). There s also an optional C routine for another part of the BC, so I do not recommend this.
If the results are not what you expected, there can be multiple reasons, so, detailing the problems here will be more useful than switch to user subroutines.
Best regards,
Yvan