Page 12 of 13

Re: turbine modelling

Posted: Mon Jul 16, 2012 2:04 pm
by JamesMcNaughton

Re: turbine modelling

Posted: Mon Jul 16, 2012 2:26 pm
by stage75
THank you a lot James,

In my case I don't use GUI, I use the command line, and in the case of coupling I have two DATA (DATA.1 and DATA.2)!.

Re: turbine modelling

Posted: Mon Jul 16, 2012 2:45 pm
by JamesMcNaughton
Do it once for DATA.1 and once for DATA.2 then

Re: turbine modelling

Posted: Mon Jul 16, 2012 3:54 pm
by stage75
I copied the whole directory RESTART.07161632 from the RESU directory to the DATA.1 and DATA.2 directories then I changed my ntmabs and time step then I run "./runcase" I obtenied this error! (I tried to erase all the white spaces between caracteres)

Code :

Code: Select all

File "./runcase", line 95
    THERMOCHEMISTRY_DATA=
                        ^
SyntaxError: invalid syntax
and

Code: Select all

PARAM= PARAMETERS
NameError: name 'PARAMETERS' is not defined

Do you have an idea

Re: turbine modelling

Posted: Mon Jul 16, 2012 5:37 pm
by JamesMcNaughton
This seems strange as you should not have changed the runcase file.

But I think the line should read:

Code: Select all

THERMOCHEMISTRY_DATA = None
Maybe the white space is important?

And the restart should be like, for example: DATA.1/RESTART/suiava. So try renaming your RESTART.07161632 to RESTART

Re: turbine modelling

Posted: Tue Jul 17, 2012 8:37 am
by stage75
I copied the whole directory RESTART.07161632 from the RESU directory to the DATA.1 and DATA.2 directories then I changed RESTART.07161632 to RESTART.

I try, as you said, DATA.1/RESTART/suiava. I have this message (bash: cd: RESTART/suiava: N'est pas un dossier), The principle is to restart the simulation by the commande . / runcase like the first simulation or not?

Thank's

Re: turbine modelling

Posted: Tue Jul 17, 2012 8:54 am
by JamesMcNaughton
It looks like it is looking for the folder:

Code: Select all

DATA.1/RESTART/suiava
when it should be looking for the folder

Code: Select all

DATA.1/RESTART
(this contains the files suiava and suiavx).

Have hard coded something in runcase that might be an issue? Does it say suiava anywhere in the file? Otherwise you'll have to ask someone more knowledgeable than myself as I never had issues like this when using the coupling.

To restart you type ./runcase as before (set isuite=1 in usiini1).

James

Re: turbine modelling

Posted: Tue Jul 17, 2012 9:27 am
by stage75
Thank you veryyy much James, I think I've found, I had to add the number of current "ntmabs" to the old (ntmabs = 50 +50 for exemple) (I've deleted the old)

Thank you james you helped me a lot (you and yvan and others)

Other question, Is there an option to save my simulation at every moment that I want instead to restart several times?

Thank's a loooot

Re: turbine modelling

Posted: Tue Jul 17, 2012 10:50 am
by JamesMcNaughton
Glad it is working now..

To print the post-processing (ensight / paraview) files change ntchr=X with X the frequency of time-steps to print at.

Re: turbine modelling

Posted: Tue Jul 17, 2012 2:07 pm
by stage75
I view with Salome, I don't know too well paraview.

Thank you very much James.

In the following I would like to make biphasic (basin contains half water and half air), I'll see how it works if I can and I would ask questions on the forum :)

Thank's a lot,

For Yvan, I see If you have not yet had time to look the prob I think it's good it's not worth it, I confirm tomorrow on the forum is that the results are OK!

Thank's for all