Page 1 of 1
Electric arc initialization
Posted: Tue May 22, 2012 8:34 am
by alexandre.lebouvier
Hello,
I use the electric arc module (ielarc = 2) of CS 2.2.1, but it seems that the code does not enter the cs_user_initialization file where I define my hot column (through the enthalpy) for the ignition of the arc. That line does not appear in the listing file for example :
9001 format( /,&
' ELECTRIC MODULE' ,/,&
' variables initialization by user' ,/,&
/)
My file is based on the example given in the software. No problem for the other specific loops like uselrc. Is there an option somewhere ?
Thank you
Alex
Re: Electric arc initialization
Posted: Wed May 23, 2012 8:58 am
by Jacques Fontaine
Hello,
Could you post your:
listing, user fortrans, xml, and if it's possible your mesh.
Ty,
JF
Re: Electric arc initialization
Posted: Wed May 23, 2012 9:45 am
by alexandre.lebouvier
Hello,
My mesh is too big, but it was working fine on CS 2.0_rc2.
I attached my files.
Alexandre
Re: Electric arc initialization
Posted: Wed May 23, 2012 11:47 am
by Jacques Fontaine
ippmod(ielarc) = 2 so you enter in :
Code: Select all
elseif (ippmod(ielarc).ge.1) then
if (ntcabs.eq.1) then
write(nfecra,9011)
endif
return
endif
before your print.
Re: Electric arc initialization
Posted: Wed May 23, 2012 1:15 pm
by alexandre.lebouvier
This is not really my point.I may not be clear. My problem is that the hot column I define (L256, cs_user_initialization) is not read by the code and at the first time step, I get the same initial temperature in the whole domain. Looking at deeply the initialization file, I saw that I don't get for example some of the messages I should get in the listing file like these ones : 'ELECTRIC ARC MODULE : THERMAL PROPERTIES ARE READ IN A FILE' or 'ELECTRIC MODULE variables initialization by user'. That makes me think that the initialization file is maybe not used in my case...
Alexandre
Re: Electric arc initialization
Posted: Wed May 23, 2012 8:54 pm
by Jacques Fontaine
Hello,
Sorry, I'm not be clear.
L175 there is a "return". If ippmod(ielarc) (=2) is never changed, the code enters in cs_user_ninitalization and returns to the main program at line 175. The code under line 175 is not taken into account.
As explained in the example you must remove the code between :
TEST_TO_REMOVE_FOR_USE_OF_SUBROUTINE_START
and
TEST_TO_REMOVE_FOR_USE_OF_SUBROUTINE_END
in order to use the end of subroutine.
Best regards,
JF
Re: Electric arc initialization
Posted: Thu May 24, 2012 7:47 am
by alexandre.lebouvier
Thank you very much, my case is working fine now!