turbine modelling

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
JamesMcNaughton
Posts: 72
Joined: Mon Mar 19, 2012 1:21 pm

Re: turbine modelling

Post by JamesMcNaughton »

stage75

Re: turbine modelling

Post 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)!.
JamesMcNaughton
Posts: 72
Joined: Mon Mar 19, 2012 1:21 pm

Re: turbine modelling

Post by JamesMcNaughton »

Do it once for DATA.1 and once for DATA.2 then
stage75

Re: turbine modelling

Post 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
JamesMcNaughton
Posts: 72
Joined: Mon Mar 19, 2012 1:21 pm

Re: turbine modelling

Post 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
stage75

Re: turbine modelling

Post 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
JamesMcNaughton
Posts: 72
Joined: Mon Mar 19, 2012 1:21 pm

Re: turbine modelling

Post 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
stage75

Re: turbine modelling

Post 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
JamesMcNaughton
Posts: 72
Joined: Mon Mar 19, 2012 1:21 pm

Re: turbine modelling

Post 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.
stage75

Re: turbine modelling

Post 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
Post Reply