Search found 106 matches

by Jundi He
Tue Jul 06, 2021 4:39 pm
Forum: code_saturne usage
Topic: Restart the simulation using a different mesh
Replies: 3
Views: 1557

Re: Restart the simulation using a different mesh

Hi Yvan, Thanks for the reply. Is there an example on Doxygen or somewhere to explain how to do this? It would be great if I can read through an example. Thanks! Basically I need to initialize part my flow and thermal field using the checkpoint, and part of it using the user defined values. Regards!...
by Jundi He
Mon Jul 05, 2021 4:53 pm
Forum: code_saturne usage
Topic: Restart the simulation using a different mesh
Replies: 3
Views: 1557

Restart the simulation using a different mesh

Hi Code Saturne developers:

I am trying to restart my simulation using a different mesh, in the new mesh, a new cavity is added to the old domain (red part):
IMG-0326.jpg
Is this possible in Code Saturne? Thanks!

Regards!
Jundi
by Jundi He
Mon May 24, 2021 2:08 pm
Forum: code_saturne usage
Topic: Problem with the synthetic turbulence inlet
Replies: 5
Views: 2096

Re: Problem with the synthetic turbulence inlet

Hi, Just to update, this problem has been solved, the synthetic inlet condition is imposed successfully now. The previous failure is due to a simple mistake: I didn't include a initialization statement, this is to switch on the synthetic inlet condition. Without that statement, even though a subrout...
by Jundi He
Sat May 22, 2021 11:52 am
Forum: code_saturne usage
Topic: Problem with the synthetic turbulence inlet
Replies: 5
Views: 2096

Re: Problem with the synthetic turbulence inlet

Hi Yvan:

I am running the simulation on a Linux (Ubuntu 16.04) machine. I have also looked at the compile.log file, there is no critical error. Just in case I have attached the compile.log file.

I am trying this simulation on another machine.

Regards!
Jundi
by Jundi He
Fri May 21, 2021 6:39 pm
Forum: code_saturne usage
Topic: Problem with the synthetic turbulence inlet
Replies: 5
Views: 2096

Re: Problem with the synthetic turbulence inlet

Hi Yvan: Thanks for the checking, I have changed the synthetic inlet condition to SEM method, but still it is not correctly imposed. I have 2 further questions for this: 1. Is the subroutine compiled and executed? I've put some output statement (at line 194 and 197, please see the screenshot), if th...
by Jundi He
Fri May 21, 2021 12:00 am
Forum: code_saturne usage
Topic: Problem with the synthetic turbulence inlet
Replies: 5
Views: 2096

Problem with the synthetic turbulence inlet

Hi Code Saturne developers: I am using Code Saturne to run a LES, and I need to impose a synthetic turbulence inlet condition for the face named 'inlet'. According to the documentation, I used subroutine "cs_user_les_inflow_define" to define the synthetic inlet, with my inlet bulk velocity...
by Jundi He
Wed Jan 06, 2021 12:01 pm
Forum: code_saturne usage
Topic: Cannot check mesh (preprocessor problem)
Replies: 2
Views: 2017

Re: Cannot check mesh (preprocessor problem)

Dear Yvan: Thanks for the explanation, I found out the problem and solved it. When I installed Code Saturne 4.0.6, I linked some of the external library that relevant to the preprocessing to the Salome package. And I have updated Salome so that I deleted the old version, which is the one that Code S...
by Jundi He
Sat Jan 02, 2021 7:23 pm
Forum: code_saturne usage
Topic: Cannot check mesh (preprocessor problem)
Replies: 2
Views: 2017

Cannot check mesh (preprocessor problem)

Dear developers: I am facing a problem that I have never met before when I tried to check mesh (the mesh format is .med), when I clicked "check mesh" or run the cs_preprocess program through terminal, it shows this error message: /home/hejundi/code_saturne_4.0.6/libexec/code_saturne/cs_pre...
by Jundi He
Wed Feb 13, 2019 12:51 pm
Forum: code_saturne usage
Topic: Can't use subroutine to define thermal conductivity
Replies: 8
Views: 3655

Re: Can't use subroutine to define thermal conductivity

Hi Yvan:

I've correct the subroutine according to one of the subroutine used by my colleague, thanks!

Regards!
Jundi
by Jundi He
Tue Feb 12, 2019 4:23 pm
Forum: code_saturne usage
Topic: Can't use subroutine to define thermal conductivity
Replies: 8
Views: 3655

Re: Can't use subroutine to define thermal conductivity

Hi Yvan: How should I define ifcvsl corrently? Is it like this: call field_get_key_int(ivarfl(isca(iscal)), kivisl, ifcvsl) call field_get_val_s(ifcvsl, cpro_vscal) I need to define the thermal conductivity by the subroutine, the reason I define it in the GUI is that I can't leave it empty in the GU...