Search found 201 matches

by Antech
Tue Oct 03, 2017 11:30 am
Forum: code_saturne usage
Topic: Maximim number of linear solver iterations in Code Saturne 5
Replies: 16
Views: 12228

Re: Maximim number of linear solver iterations in Code Satur

Hello.
Thanks for your answers, I reviewed what you said and took a closer look at sources, trying to understand the solver options setup mechanism in extent I can...
As I can see, for every variable the solver is selected automatically if not set by the user (Automatic option) so, in any case, I ...
by Antech
Mon Oct 02, 2017 1:20 pm
Forum: code_saturne usage
Topic: Maximim number of linear solver iterations in Code Saturne 5
Replies: 16
Views: 12228

Re: Maximim number of linear solver iterations in Code Satur

Under "all solvers" I mean linear solvers that may be selected via GUI. Assume I run calculations selecting different solvers, I'd like to make this user function universal, for it to handle arbitrary solver selection. And let it be for velocity only (or for velocity and pressure), not for all ...
by Antech
Mon Oct 02, 2017 10:27 am
Forum: code_saturne usage
Topic: definition of various pressures
Replies: 13
Views: 48138

Re: definition of various pressures

Hello.
I faced the similar problem with pressure treatment because I work on aerodynamic resistance of the chimney with noise killers and, therefore, the leveling (elevation) pressure difference is important because the fluid is a gas turbine flue gas with density of around 0.43 kg/m3 (ambient ...
by Antech
Mon Oct 02, 2017 8:39 am
Forum: code_saturne usage
Topic: Maximim number of linear solver iterations in Code Saturne 5
Replies: 16
Views: 12228

Re: Maximim number of linear solver iterations in Code Satur

Hello. Thanks for advise. I thought about this (change only maximum iterations for velocity and pressure that are accessible by field names). Can it be advanced to all solvers? I would like to do it universal, not dependent on solver selection (for example, I use Automatic solver selection in ...
by Antech
Fri Sep 29, 2017 1:51 pm
Forum: code_saturne usage
Topic: Maximim number of linear solver iterations in Code Saturne 5
Replies: 16
Views: 12228

Re: Maximim number of linear solver iterations in Code Satur

Thanks for fast reply.
I just need to trim "very long" iterations at initial stage of calculation. Most of iterations, even from very start, are done quickly but some require thousands on linear solver iterations to converge to 1.0E-5 precision (usually for velocity). So I wanted to reduce maximum ...
by Antech
Fri Sep 29, 2017 10:45 am
Forum: code_saturne usage
Topic: Maximim number of linear solver iterations in Code Saturne 5
Replies: 16
Views: 12228

Re: Maximim number of linear solver iterations in Code Satur

Hello and thanks for suggestion.
In your example fields are accessed by name. Can I cycle (loop) through all fields setting maximum ~1000 iterations for every field? Is something like this correct or I must use another approach?
for ( iField=0 ; iField<cs_field_n_fields() ; iField++)
{
cs_field_t ...
by Antech
Thu Sep 28, 2017 12:24 pm
Forum: code_saturne usage
Topic: Maximim number of linear solver iterations in Code Saturne 5
Replies: 16
Views: 12228

Re: Maximim number of linear solver iterations in Code Satur

Hello, Ivan.
Thanks for useful info! Years has passed from the moment I was here at first time and you still help people to cope with difficulties using Saturne. Great work.

I took a look at the cs_user_parameters-linear_solvers.c and, if I get it right, I should change the n_max_iter_coarse_solver ...
by Antech
Wed Sep 27, 2017 10:17 am
Forum: code_saturne usage
Topic: Maximim number of linear solver iterations in Code Saturne 5
Replies: 16
Views: 12228

Maximim number of linear solver iterations in Code Saturne 5

Hello. I need to control the maximum number of iterations in linear solver (although I set the precision to 1E-5, sometimes it tries to do too many iterations for velocity). In earlier versions I was able to set the maximum iterations for each variable in GUI, but now, in Saturne 5.0.4, these ...
by Antech
Tue Sep 26, 2017 9:18 am
Forum: code_saturne usage
Topic: Calculation starts only in single processor mode
Replies: 11
Views: 9680

Re: Calculation starts only in single processor mode

Hello, rodion .
IMHO, you just need to obtain rights for you case directory. When you are in your case directory (check with pwd ), switch to root ( su root ) and then use chmod a+rwx ./* to eliminate access problems for any user. Please be careful while you're under root account. Changing access ...
by Antech
Thu Dec 15, 2016 1:59 pm
Forum: code_saturne usage
Topic: Particle tracking: newbie's questions
Replies: 27
Views: 30806

Re: Particle tracking: newbie's questions

Hello.
I prepared the case for Code Saturne developers that demonstrate the strange inconsistency in particle flow through the boundary reported by the solver and calculated by integrating the particle mass flux in ParaView (please note that for Fluent both methods give the same value).
How to see ...