Search found 106 matches

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

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

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

Re: Can't use subroutine to define thermal conductivity

Hi Yvan:

But even if I don't define the thermal conductivity, I just make a simple do loop to all the cell:

do iel=1, ncel
enddo

The simulation still crashes. It seems that it's not the issue of initialization.

Regards!
Jundi
by Jundi He
Tue Feb 12, 2019 11:48 am
Forum: code_saturne usage
Topic: Can't use subroutine to define thermal conductivity
Replies: 8
Views: 3688

Can't use subroutine to define thermal conductivity

Hi Code Saturne developers: I was going to use the subroutine to define the local thermal conductivity of some special regions of the fluid. This is my subroutine, the calculations before line 331 can be neglected, from line 331 to line 334, I do loop to all the elements, and define the thermal cond...
by Jundi He
Mon Jan 07, 2019 11:49 am
Forum: code_saturne usage
Topic: About Syrthes installation
Replies: 7
Views: 4330

Re: About Syrthes installation

Hi Yvan:

OK, thanks for the suggestions.

Regards!
Jundi
by Jundi He
Sat Jan 05, 2019 4:24 pm
Forum: code_saturne usage
Topic: About Syrthes installation
Replies: 7
Views: 4330

Re: About Syrthes installation

Hi Yvan: It's better to solve the issue based on Syrthes, because a lot of my calculation scripts are based on Syrthes, and I've been using Syrthes on HPCs and desktops for long time in this project. This installation problem appears on a latest purchased work station (Linux Ubuntu 16.04). Where can...
by Jundi He
Fri Jan 04, 2019 5:29 pm
Forum: code_saturne usage
Topic: About Syrthes installation
Replies: 7
Views: 4330

About Syrthes installation

Hi Code Saturne team: I can't find a Syrthes forum so I just ask my question here, very basic question about the installation of the software Syrthes. I've modified the file setup.ini, then run the syrthes_install.py, then I set up a simple solid simulation, and run from the GUI, then it crash, sayi...
by Jundi He
Mon Dec 10, 2018 6:20 pm
Forum: code_saturne usage
Topic: Question about constant source term in periodic channel
Replies: 2
Views: 1791

Re: Question about constant source term in periodic channel

Hi Yvan: Yes, if the streamwise pressure gradient is linear, using a constant source term to simulate the periodic flow is physical enough, as the source term is the local force (pressure drop) that drives the flow, there are lots of such typical flows: straight channel, pipe flows. But for a flow l...
by Jundi He
Thu Dec 06, 2018 8:41 pm
Forum: code_saturne usage
Topic: Question about constant source term in periodic channel
Replies: 2
Views: 1791

Question about constant source term in periodic channel

Hi Code Saturne team: I have a periodic channel with ribs on the wall, the mesh is shown in the photo below. The top and bottom face are periodic, and the flow is downward. I was using a constant source term to drive the flow, which is a typical method to simulate periodic flow. But I realised that ...
by Jundi He
Fri Nov 30, 2018 5:35 pm
Forum: code_saturne usage
Topic: Code Saturne 4.0.6 access boundary face temperature
Replies: 5
Views: 3155

Re: Code Saturne 4.0.6 access boundary face temperature

Hi Luciano: When I look into the example subroutine, I found it uses the normal vector of the boundary face and the time step to calculate the heat flux, as shown below, is it calculating the budget, or the total heat flux from the begin? If I only need to use the instantaneous heat flux of the boun...