Search found 11 matches

by s marco
Wed Mar 18, 2020 4:33 pm
Forum: code_saturne usage
Topic: ibeta
Replies: 2
Views: 2829

ibeta

Hi everyone, I am using AFM for temperature in code saturne v6 and in divrit.f90 I have ibeta (thermal expansion coefficient) which is called in this way: if (ibeta.gt.0) then call field_get_val_s(iprpfl(ipproc(ibeta)), cpro_beta) endif and later in the same subroutine it is used in AFM formulation:...
by s marco
Tue Mar 17, 2020 3:19 pm
Forum: code_saturne usage
Topic: thermal expansion coefficient
Replies: 4
Views: 3579

Re: thermal expansion coefficient

Ok thanks.

So how can I change the value of ibeta?

Kind regards,
Marco
by s marco
Tue Mar 17, 2020 1:51 pm
Forum: code_saturne usage
Topic: thermal expansion coefficient
Replies: 4
Views: 3579

Re: thermal expansion coefficient

Hi thanks Luciano it could be usefull. I am using AFM for temperature and in code saturne v4 I have divrit.f90 in which beta is called in this way if (ibeta.gt.0) then call field_get_val_s(iprpfl(ipproc(ibeta)), cpro_beta) endif and then it is used in AFM formulation. ! AFM and EB-AFM models ! "...
by s marco
Mon Mar 16, 2020 6:18 pm
Forum: code_saturne usage
Topic: thermal expansion coefficient
Replies: 4
Views: 3579

thermal expansion coefficient

Hi,

how does it works to set up a constant value for the thermal expansion coefficient?

Best regards,
Marco
by s marco
Mon Mar 09, 2020 3:23 pm
Forum: code_saturne usage
Topic: Initialization of Turbulence
Replies: 1
Views: 1983

Initialization of Turbulence

Hi,
I am working with version 6 and I want to inizialize the turbulence by formula but also with default expression I get this:

‘r11’ undeclared (first use in this function)
cs_real_t _k = 0.5 * (r11 + r22 + r33) ;

Do you have any suggestions?

Best regards,
Marco
by s marco
Fri Mar 06, 2020 4:01 pm
Forum: code_saturne usage
Topic: Turbulent Prandtl number
Replies: 3
Views: 3059

Re: Turbulent Prandtl number

Thanks a lot.

In which subroutine should I specify this value?

Kind regards,
Marco
by s marco
Fri Mar 06, 2020 2:15 pm
Forum: code_saturne usage
Topic: AFM
Replies: 1
Views: 2188

AFM

Hi, I am trying to validate a different AFM in version 6. To do that I changed coefficients xiafm, etaafm, cthafm in the subroutine cs_turboulence_model.c, please find it attached. That works in code_saturne_4 but in code_saturne_6 I got errors in compile stage, please find it in compile.log. Is the...
by s marco
Tue Mar 03, 2020 12:22 pm
Forum: code_saturne usage
Topic: Turbulent Prandtl number
Replies: 3
Views: 3059

Turbulent Prandtl number

Hi,
how can I change the turbulent Pr number in my setup for code saturne 6?
I' ve only found advises about sigmas but it seems be available only in older version.

Thanks in advance,
Marco
by s marco
Tue Mar 03, 2020 12:12 pm
Forum: code_saturne usage
Topic: Different turbulence models
Replies: 1
Views: 2060

Different turbulence models

Hi,
I am using code saturne 6. Where can I find the exact difference between
  • k-e linear production
  • k-e
and
  • no wall function
  • 1-scale model
  • scalable 2-scale model
in advanced option.

Best regards,
Marco
by s marco
Tue Feb 25, 2020 4:14 pm
Forum: Discussion
Topic: Constant bulk temperature with periodicity
Replies: 1
Views: 11265

Constant bulk temperature with periodicity

Dear all, I am running a bare rode bundle case at Re_t=550 and Pr=0.031 in code_saturne v4. A constant heat flux is imposed to the walls and all the other boundaries are periodic. For this case, I am using a true periodicity condition and a momentum source term to ensure the bulk flow velocity; so t...