Search found 45 matches

by Erwan Le Coupanec
Mon Aug 18, 2014 10:08 am
Forum: code_saturne usage
Topic: How to define the expansion coefficient in code saturne?
Replies: 1
Views: 1544

Re: How to define the expansion coefficient in code saturne?

Hello,

If you refer to the term mentioned in the state law in the compressible doc (though I'm not sure you do), you can define its law in the file cfther.f90. There, you'll find a routine called

Code: Select all

cf_thermo_eps_sup
which is called in

Code: Select all

cfener
.

Regards,

Erwan
by Erwan Le Coupanec
Mon Aug 18, 2014 9:50 am
Forum: code_saturne usage
Topic: calcul fait dans itrmas.f90
Replies: 5
Views: 3813

Re: calcul fait dans itrmas.f90

Hello, Regarding your question about the mass accumulation term, the section of code you cite from the 1.3.1 version has been moved to other routines deeper in the calling tree. To be more precised, the mass accumulation term is added directly to the diagonal part of the matrix in the C function cs_...
by Erwan Le Coupanec
Thu May 22, 2014 10:53 am
Forum: code_saturne usage
Topic: Error subroutine 'cfther'
Replies: 6
Views: 3324

Re: Error subroutine 'cfther'

Hello Luciano, The gradient calculation method "iterative handling of non-orthogonalities" is more precised and ensures conservativity, while the "least square method over extended cell neighborhood" is more robust and should be used for example when the quality of the mesh is no...
by Erwan Le Coupanec
Mon May 12, 2014 4:10 pm
Forum: code_saturne usage
Topic: Usage advice compressible vs low-mach
Replies: 2
Views: 2401

Re: Usage advice compressible vs low-mach

Hello, you first should take a look at the Mach number, if M > 0.3, the compressible module should be used. If M < 0.3, but the density variations are such that \frac{\Delta \rho}{\rho} \ge 0.1 and the pressure variations are rather slow, you can consider using the low-Mach algorithm. Typically if y...
by Erwan Le Coupanec
Mon May 12, 2014 1:30 pm
Forum: code_saturne usage
Topic: Error subroutine 'cfther'
Replies: 6
Views: 3324

Re: Error subroutine 'cfther'

Hello Luciano, It's good that you managed to run your computation with a progressive increase of the pressure. Is 2.5 bar the pressure you impose as Ptot (I saw in your listing file that you were using the Ptot, Htot boundary condition) ? Note that this boundary condition is a "reservoir" ...