Search found 8 matches

by seby2
Mon Oct 29, 2018 8:56 am
Forum: code_saturne usage
Topic: Adding librairies at the compilation
Replies: 2
Views: 1967

Re: Adding librairies at the compilation

Hello, I only modify domain.compile_libs in cs_user_script.py, nothing else. I get the following errors during compilation : cs_case_domain.RunCaseError: Compile or link error. undefined reference to « ParaMEDMEM::DataArrayDouble::New() » It works if I add the librairies directly in compilation opti...
by seby2
Thu Oct 25, 2018 10:36 am
Forum: code_saturne usage
Topic: Adding librairies at the compilation
Replies: 2
Views: 1967

Adding librairies at the compilation

Hello, I am trying to add some librairies at the compilation by using cs_user_script.py file. In this file, I tried to replace domain.compile_libs = None by domain.compile_libs = "-lmedcoupling" But it does not seem to work. What is the correct syntax to add librairies in this file ? Is th...
by seby2
Thu Oct 18, 2018 7:19 pm
Forum: code_saturne usage
Topic: Postprocessing inside Code_Saturne
Replies: 2
Views: 1805

Re: Postprocessing inside Code_Saturne

Hello,

That answers my question. Thank you.

Regards,
Seb
by seby2
Thu Oct 18, 2018 12:30 pm
Forum: code_saturne usage
Topic: Postprocessing inside Code_Saturne
Replies: 2
Views: 1805

Postprocessing inside Code_Saturne

Hello, I understand the source file nc_user_initialization.cxx can allow to define user functions in order to perform a preprocessing on the fields because this file is read before the calculation starts. Is there a file allowing to define user functions in order to perform a postprocessing on the f...
by seby2
Tue Sep 18, 2018 8:04 pm
Forum: code_saturne usage
Topic: Create a new main restart file outside Code_Saturne
Replies: 7
Views: 3440

Re: Create a new main restart file outside Code_Saturne

Hello,

Yes, you are right!
Actually, there is no problem. I did not think the time is relative. Now you say that, it seems to be obvious. :D
Thank you.

Regards,
Seb
by seby2
Tue Sep 18, 2018 11:33 am
Forum: code_saturne usage
Topic: Create a new main restart file outside Code_Saturne
Replies: 7
Views: 3440

Re: Create a new main restart file outside Code_Saturne

hello, Thank you. This is my problem. Actually, I have a MED file containing a mesh and the associated fields corresponding to a computation performed by Code_Saturne. I know the exact physical time corresponding to these fields but I do not have the restart file. I want to rebuild the restart file ...
by seby2
Sun Sep 16, 2018 5:39 pm
Forum: code_saturne usage
Topic: Create a new main restart file outside Code_Saturne
Replies: 7
Views: 3440

Re: Create a new main restart file outside Code_Saturne

Thank you for your answers. I understand the solutions that you propose. I do not want to modifiy fields or the mesh at the initialisation of a computation but I want to modify them during the calculation at each time step. I think cs_user_initialisation allows to define only initial conditions of t...
by seby2
Wed Sep 12, 2018 9:06 am
Forum: code_saturne usage
Topic: Create a new main restart file outside Code_Saturne
Replies: 7
Views: 3440

Create a new main restart file outside Code_Saturne

Hello, I want to restart a calculation from a MED file containing previous results of a calculation. Restarting a calculation needs a restart file (not a MED file). So I would like to create my own main restart file containing the datas of the mesh and associated fields in order to restart a calcula...