dc electric arc

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
manar
Posts: 11
Joined: Wed Sep 28, 2016 10:12 am

Re: dc electric arc

Post by manar »

Hello Yvan
after trying many times I got this message :

C:\Users\Nana\Desktop\19_PFENDER\CASE1\SCRIPTS>#!/bin/bash



C:\Users\Nana\Desktop\19_PFENDER\CASE1\SCRIPTS># Ensure the correct command is found:



C:\Users\Nana\Desktop\19_PFENDER\CASE1\SCRIPTS>export PATH=C:\Program Files (x86)\Code_Saturne\4.0\bin:$PATH



C:\Users\Nana\Desktop\19_PFENDER\CASE1\SCRIPTS># Run command:



C:\Users\Nana\Desktop\19_PFENDER\CASE1\SCRIPTS>\code_saturne run --param pfender_case1.xml

'#!' is not recognized as an internal or external command,
operable program or batch file.
'#' is not recognized as an internal or external command,
operable program or batch file.
'export' is not recognized as an internal or external command,
operable program or batch file.
'#' is not recognized as an internal or external command,
operable program or batch file.
'\code_saturne' is not recognized as an internal or external command,
operable program or batch file.
Yvan Fournier
Posts: 4209
Joined: Mon Feb 20, 2012 3:25 pm

Re: dc electric arc

Post by Yvan Fournier »

Hello,

The syntax from the Linux version might not be immediately convertible to a Windows script (not too sure).

Could you try creating a new case under Windows, and comparing the runcase.bat from the new case with the one from the test case ? Basically, the options after "code_saturne run" (i.e. "--param pfender_case1.xml") should be those of the test case, the rest of the runcase.bat being based on the new case.

Regards,

Yvan
manar
Posts: 11
Joined: Wed Sep 28, 2016 10:12 am

Re: dc electric arc

Post by manar »

thanks a lot Yvan for your valuable suggestion
now its running , but I am getting this error , I don't know what exactly it refers to ?




../../../src/alge/cs_multigrid.c:2780: Fatal error.

algebraic multigrid [elec_pot_r]: divergence after 29 cycles:
initial residual: 1.1349e+004; current residual: 1.5034e+008
manar
Posts: 11
Joined: Wed Sep 28, 2016 10:12 am

Re: dc electric arc

Post by manar »

Hello
I changed the reference time step to 5 us and now I am facing an enthalpy problem :oops:


../../../src/alge/cs_sles_it.c:3934: Fatal error.

Jacobi: error (divergence) solving for Enthalpy



any suggestions ?
Yvan Fournier
Posts: 4209
Joined: Mon Feb 20, 2012 3:25 pm

Re: dc electric arc

Post by Yvan Fournier »

Hello,

Could you post your whole listing and other *.log files ? I know the convergence of some electric arc cases can be touchy, but there should no be a crash so early. Did you change any other settings ?

Regards,

Yvan
manar
Posts: 11
Joined: Wed Sep 28, 2016 10:12 am

Re: dc electric arc

Post by manar »

Hello Yvan
the attachments are the(error.text , performance , preprocessor ) files for the case that you sent me , I just created new case with the same parameters of the model test you sent with the same dp
-ELE file .


the listing file is here : https://www.dropbox.com/s/15zkwa939g6s0 ... g.txt?dl=0

best regards
Attachments
preprocessor.log
preprocessor
(5.42 KiB) Downloaded 319 times
error.txt
error
(188 Bytes) Downloaded 331 times
summary.txt
summary
(4.54 KiB) Downloaded 295 times
manar
Posts: 11
Joined: Wed Sep 28, 2016 10:12 am

Re: dc electric arc

Post by manar »

Hello Yvan :
the example is working now , I decreased the CFL number Little bit , Now I wamnt to modify the media from argon to air , as well as the electrodes , some thing I couldn't get , should I change the fluid parameters and the enthalpy and the sublimation only? , another question : regarding the fluid properties ,what the the temperature that I can choose for ?




best regards
Yvan Fournier
Posts: 4209
Joined: Mon Feb 20, 2012 3:25 pm

Re: dc electric arc

Post by Yvan Fournier »

Hello,

Yes, changing the fluid properties to those representing air should work.

I don't understand your question relative to temperature. As electric arcs imply temperature variations, you probably need to use temperature-dependent properties valid over a wide range.

Regards,

Yvan
manar
Posts: 11
Joined: Wed Sep 28, 2016 10:12 am

Re: dc electric arc

Post by manar »

Hello Yvan
thanks alot , I really did for the example case you send me , however , when trying to modify the the electrode size and the gab between the electrodes I get an error (attached ) , what I see is the hot column I introduced in the cs_initialization.f90 only with out any arc seen in the column , there are alot of parameters which I dont know how to manipulate :roll: , some times I managed to run a simulations but seems no motion in the arc column .

another question regarding the training session in Beijing which is scheduled on November , I tried to communicate with the particular persons through Email to ask few questions but there was no reply , is that event still to be conducted ? I am a foreigner who lives in chine and speaks english , am I eligible to attend :D


best regards
Attachments
listing.txt
listing file
(201.71 KiB) Downloaded 310 times
Yvan Fournier
Posts: 4209
Joined: Mon Feb 20, 2012 3:25 pm

Re: dc electric arc

Post by Yvan Fournier »

Hello,

I am not too familiar with the electric arcs model, but I hear from its developers that it is quite "touchy" and the simulations are often unstable.

Yes, the training session in Beijing is still scheduled, and should be a rather large session. I do not know if registration is still open or not, so you should try sending Tingting XU another e-mail. I can also check on my side.

Best regards,

Yvan
Post Reply