Search found 104 matches

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

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: 125

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: 125

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: 125

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: 873

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: 873

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: 1599

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: 1599

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...
by Jundi He
Tue Feb 12, 2019 2:20 pm
Forum: code_saturne usage
Topic: Can't use subroutine to define thermal conductivity
Replies: 8
Views: 1599

Re: Can't use subroutine to define thermal conductivity

Hi Yvan: I've tested a simple subroutine to define the thermal conductivity, and I didn't call any field in this subroutine, the simulation can be run smoothly, but does it change the local thermal conductivity? I've already given equations to calculate the thermal conductivity in the GUI. Regards! ...
by Jundi He
Tue Feb 12, 2019 2:08 pm
Forum: code_saturne usage
Topic: Can't use subroutine to define thermal conductivity
Replies: 8
Views: 1599

Re: Can't use subroutine to define thermal conductivity

Hi Yvan:

I've put

call field_get_val_s(ifcvsl, cpro_vscal)

to call the field, and when I run the simulation, it comes with this error file, seems there is a field that hasn't been defined.

Regards!
Jundi