Empty runcase file in CS3.0

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
zeph67
Posts: 53
Joined: Tue Oct 23, 2012 5:54 pm

Empty runcase file in CS3.0

Post by zeph67 »

Hello !

I just installed CS3.0.0. But when I create a study, the runcase file is almost empty, i.e. no field for number of processors, mesh, periodicity, etc.
Very surprising for someone who's been using Code_Saturne for a long time...

How/where must I impose those things, if not in runcase ?

Thanks in advance.
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Empty runcase file in CS3.0

Post by Yvan Fournier »

Hello,

Yes, this is normal (though if you are on a cluster, do not forget the "post-install" stage described in the installation manual: the runcase should at least contain the batch directives if you are using a batch system).

Settings originally in the "runcase" can be determined using the GUI or using the "cs_user_scripts.py" in DATA (to be copied from DATA/REFERENCE, just as a user subroutine would be copied from SRC/REFERENCE to SRC than edited).

You may want to briefly check the user manual for more details in this regard, as quite a few things have been streamlined (the most useful/succint info for what has changed would be our presentations from the last user meeting, but they have not been uploaded yet to this website, so for now, the big and boring user manual is all that is published).

Regards,

Yvan
zeph67
Posts: 53
Joined: Tue Oct 23, 2012 5:54 pm

Re: Empty runcase file in CS3.0

Post by zeph67 »

OK. Now it is almost clear to me.

But how can I perform periodicity ? I looked at cs_user_mesh.c , but I don't know what to do.
Must I take the file to the SRC directory (just like any useful user subroutine) and then modify it ?

Thanks in advance.
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Empty runcase file in CS3.0

Post by Yvan Fournier »

Hello,

Yes, C user subroutines are handled just like Fortran user subroutines.

I also recommend using the GUI, which can handle most simple functions of cs_user_mesh.c (including periodicity).

Regards,

Yvan
Post Reply