Search found 106 matches

by Jundi He
Fri Nov 30, 2018 4:07 pm
Forum: code_saturne usage
Topic: Code Saturne 4.0.6 access boundary face temperature
Replies: 5
Views: 3153

Re: Code Saturne 4.0.6 access boundary face temperature

Hi Luciano:

Many thanks for the information.

Regards!
Jundi
by Jundi He
Thu Nov 29, 2018 7:23 pm
Forum: code_saturne usage
Topic: Code Saturne 4.0.6 access boundary face temperature
Replies: 5
Views: 3153

Re: Code Saturne 4.0.6 access boundary face temperature

Hi: I've done a test case and know that this function can only be used in Code Saturne 5.0, not for 4.0. I have another question, I know that if I need to get the mass flux of a face (ifac), I will use: call field_get_key_int(ivarfl(iw),kimasf,iflmas) call field_get_val_s(iflmas, imasfl) then the ma...
by Jundi He
Thu Nov 29, 2018 5:03 pm
Forum: code_saturne usage
Topic: Code Saturne 4.0.6 access boundary face temperature
Replies: 5
Views: 3153

Code Saturne 4.0.6 access boundary face temperature

Hi Code Saturne team:

I am using Code Saturne 4.0.6 and I need to access the temperature of a boundary face, can I call the function:

field_get_val_s_by_name('boundary_face', xvart) ? Thanks for the time.

Regards!
Jundi
by Jundi He
Fri Oct 26, 2018 11:40 am
Forum: code_saturne usage
Topic: About adding boundary layer to the mesh
Replies: 5
Views: 3063

Re: About adding boundary layer to the mesh

Hi Luciano Garelli:

We have install Code Saturne 5.2.1, but we can't see any option to add a additional boundary layer to the wall, could you simply show us how to do it? Many thanks!

Regards!
Jundi
by Jundi He
Thu Oct 25, 2018 10:07 am
Forum: code_saturne usage
Topic: About adding boundary layer to the mesh
Replies: 5
Views: 3063

Re: About adding boundary layer to the mesh

Hi Luciano Garelli:

For the left part, it's the ribs, this is a top view of the channel, so the ribs are not shown. If I use Code Saturne 5.2.0, can the code generate a boundary layer near the wall? Thanks!

Regards!
Jundi
by Jundi He
Wed Oct 24, 2018 4:31 pm
Forum: code_saturne usage
Topic: About adding boundary layer to the mesh
Replies: 5
Views: 3063

About adding boundary layer to the mesh

Hi Code Saturne team: I've got an issue about my mesh, in the red circle position, the division of the mesh changed by using triangles. But the y plus value in this location has a step change, the best way to avoid this is to add a boundary layer in this location, do Code Saturne 5 has this function...
by Jundi He
Wed Oct 03, 2018 11:20 am
Forum: code_saturne usage
Topic: Using Matlab to read the Code Saturne result file
Replies: 3
Views: 2545

Re: Using Matlab to read the Code Saturne result file

Hi Yvan:

OK, thanks, I am reading the user manual to know the structure of the output file.

Regards!
Jundi
by Jundi He
Tue Oct 02, 2018 6:47 pm
Forum: code_saturne usage
Topic: Using Matlab to read the Code Saturne result file
Replies: 3
Views: 2545

Using Matlab to read the Code Saturne result file

Hi Code Saturne team: I have a steady state simulation done by Code Saturne, and I am going to read the result file. As I know, different variables are stored in different files, for example, temperature field is stored in file "results.tempc.00001" which is binary. And now I am going to r...
by Jundi He
Mon Apr 16, 2018 10:46 am
Forum: code_saturne usage
Topic: Question about the mapped inlet subroutine
Replies: 16
Views: 10145

Re: Question about the mapped inlet subroutine

Hi Yvan: I was doing the periodic case with the momentum source term previously, but in this case, I have a constant heat flux on the rib wall, if I do the "true" periodic case, I need to impose a heat sink, which is impossible, because my geometry is an eccentric channel with ribs, the ma...
by Jundi He
Fri Apr 13, 2018 4:27 pm
Forum: code_saturne usage
Topic: Question about the mapped inlet subroutine
Replies: 16
Views: 10145

Re: Question about the mapped inlet subroutine

Hi Yvan: I guess I know what cause the problem. The contour shows the streamwise velocity of the channel (downward flow, inlet from the top and outlet from the bottom), because of the ribs on the left wall, there are re-circulations near the rib wall. If the subroutine copy the outlet velocity field...