Search found 98 matches

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

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

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

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

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

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

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: 5
Views: 443

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: 5
Views: 443

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: 5
Views: 443

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

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...