Page 1 of 1
Empty runcase file in CS3.0
Posted: Thu Apr 25, 2013 1:21 pm
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.
Re: Empty runcase file in CS3.0
Posted: Thu Apr 25, 2013 1:45 pm
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
Re: Empty runcase file in CS3.0
Posted: Thu Apr 25, 2013 3:22 pm
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.
Re: Empty runcase file in CS3.0
Posted: Thu Apr 25, 2013 3:54 pm
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