Search found 18 matches

by Kyle
Wed Jul 18, 2018 4:19 pm
Forum: code_saturne usage
Topic: dc electric arc
Replies: 49
Views: 45968

Re: dc electric arc

Rodion, I installed Code_Saturne on Windows and I was able to successfully run your case on it. I haven't tried the pfender case yet, but I plan to later today. I still don't know what my problem is for my Linux installation, but I'll keep trying to figure it out while I'm working with the Windows v...
by Kyle
Wed Jul 11, 2018 7:48 pm
Forum: code_saturne usage
Topic: dc electric arc
Replies: 49
Views: 45968

Re: dc electric arc

Dear Rodion, I will take your advice and install Code_Saturne on Windows to see if that works. Yvan, I can try to make use of the Windows installation of Code_Saturne for now, but in the long term my mentors are very preferential towards Linux installations. You mentioned a couple of weeks ago that ...
by Kyle
Tue Jul 10, 2018 1:22 am
Forum: code_saturne usage
Topic: dc electric arc
Replies: 49
Views: 45968

Re: dc electric arc

Hello Yvan, and Rodion, Something has come to my attention that may help in solving the issue. The "write" line in "inivar.f90" appears in the listing file only if I modify the original /src/base/inivar.f90 and reconfigure/reinstall Code_Saturne, although even in this case the &q...
by Kyle
Fri Jul 06, 2018 7:03 am
Forum: code_saturne usage
Topic: dc electric arc
Replies: 49
Views: 45968

Re: dc electric arc

Hello Yvan, I added the "write" to the beginning of the inivar.f90 file like you suggested, and it did appear in the "listing" file this time, right before the initialization of the variables. I added the section below; I don't know what the numbers before and after INIVAR mean, ...
by Kyle
Tue Jul 03, 2018 1:39 am
Forum: code_saturne usage
Topic: dc electric arc
Replies: 49
Views: 45968

Re: dc electric arc

Hello Rodion, After working with your case more, I've found that my Code_Saturne does not read the "cs_user_initialization.c" file. I found this out by changing the enthalpy value for everything outside of the hot column, and I saw that the uniform enthalpy value of the result remained the...
by Kyle
Wed Jun 27, 2018 6:36 pm
Forum: code_saturne usage
Topic: dc electric arc
Replies: 49
Views: 45968

Re: dc electric arc

Rodion,

My simulation of your case also had uniform enthalpy at 1.4e4, I should have specified that instead of the temperature, that's my bad.

I will try your recommendations and see if they fix the problem.

Thanks,
Kyle
by Kyle
Wed Jun 27, 2018 6:32 pm
Forum: code_saturne usage
Topic: dc electric arc
Replies: 49
Views: 45968

Re: dc electric arc

Hello again, How exactly do I modify the inivar.f90 file to call the function cs_user_f_initialization? It appears to already do so in the following section of code, maybe there is an error in that section? if (ippmod(iphpar).eq.0) then call cs_user_f_initialization(nvar, nscal, dt) ! Avec l'interfa...
by Kyle
Wed Jun 27, 2018 5:11 pm
Forum: code_saturne usage
Topic: dc electric arc
Replies: 49
Views: 45968

Re: dc electric arc

Dear Rodion, I will try to change the file src/base/inivar.f90 to make it accept .f90 files, but I will also keep working on making the new .c file in case I can't get it to work. On a side note, I tried running the case that you sent me with the cs_user_initialization.c file that you provided, but ...
by Kyle
Wed Jun 27, 2018 5:58 am
Forum: code_saturne usage
Topic: dc electric arc
Replies: 49
Views: 45968

Re: dc electric arc

Hello again,

I went ahead and tried to run the pfender case on Code_Saturne v5.2.0, but the result is exactly the same. Tomorrow I will work on remaking the initialization file into a C file.

Thanks,
Kyle
by Kyle
Wed Jun 27, 2018 2:59 am
Forum: code_saturne usage
Topic: dc electric arc
Replies: 49
Views: 45968

Re: dc electric arc

Hello,

I am runnning code_saturne v5.0.8 on a VirtualMachine with Ubuntu 16.04. In the morning I will attempt to run the code on v5.2 to see if it works.

Thanks,
Kyle