Search found 32 matches

by C.FLAG.
Fri Mar 02, 2018 1:05 pm
Forum: code_saturne usage
Topic: LES for natural convection - chequered fields
Replies: 1
Views: 1558

Re: LES for natural convection - chequered fields

Dear Cosimo, If you have the option the use a more recent build of Code_Saturne, you could try to flag your temperature as buoyant (key "is_buoyant") so it will be updated in the Velocity-Pressure loop. Combined with an increased NTERUP, it could potentially improve your results. Can you c...
by C.FLAG.
Tue Feb 13, 2018 3:02 pm
Forum: code_saturne usage
Topic: key auto_variables for probes
Replies: 1
Views: 1362

key auto_variables for probes

Hi, The documentation says that the key 'auto_variables' can be modified using cs_probe_set_option. However, it seems to be missing from the list of available keys. Any chance to restrict the number of variables written by a probe? (I was able to add some values on top of the default ones using ' cs...
by C.FLAG.
Mon Aug 22, 2016 8:41 am
Forum: Discussion
Topic: boundary contribution in cocg_s_it
Replies: 4
Views: 5082

Re: boundary contribution in cocg_s_it

Dear Martin,

Thank you for your confirmation, it is clearer now.

Best regards,
Cedric
by C.FLAG.
Fri Aug 19, 2016 1:21 pm
Forum: Discussion
Topic: boundary contribution in cocg_s_it
Replies: 4
Views: 5082

Re: boundary contribution in cocg_s_it

Dear Yvan, Thank you for your answer. I have found the computation of the lhs boundary contribution for the iterative gradient in "_iterative_scalar_gradient_old" (file cs_gradient.c). It is activated with the input flag recompute_cocg. However, there are no such things in "_iterative...
by C.FLAG.
Fri Aug 19, 2016 8:59 am
Forum: code_saturne usage
Topic: Stop to avoid exceeding time allocation.
Replies: 7
Views: 4088

Re: Stop to avoid exceeding time allocation.

Hi,

The line "cpu time (seconds, -t) 3600" seems to indicate that you can not run your simulation on the login node for a long time.

The best thing to do is probably to run very short jobs on the login node or to move to the compute nodes.

Regards,
Cedric
by C.FLAG.
Fri Aug 19, 2016 8:25 am
Forum: Discussion
Topic: boundary contribution in cocg_s_it
Replies: 4
Views: 5082

boundary contribution in cocg_s_it

Hello, According to the theory guide, there is a boundary contribution for the iterative gradient lhs. I was expecting to find that contribution in the subroutine _compute_cell_cocg_s_it by analogy with the lsq gradient (in the subroutine _compute_cell_cocg_s_lsq, the boundary contribution to the lh...
by C.FLAG.
Wed Jun 22, 2016 7:33 am
Forum: code_saturne usage
Topic: Wall stress discontinuous at restart
Replies: 3
Views: 2606

Re: Wall stress discontinuous at restart

Dear Yvan,

My apologies for replying late. Your suggestion works like a charm, the stress is now continuous at restart.

Thank you for your help,
Regards,
Cedric
by C.FLAG.
Thu May 05, 2016 12:20 pm
Forum: code_saturne usage
Topic: Wall stress discontinuous at restart
Replies: 3
Views: 2606

Wall stress discontinuous at restart

Dear users / developpers, I am running version 4.0.4, LES of a periodic channel flow. I monitor the stress at the wall (output in the listing). I have set ineedf=1 in the subroutine usipes. I compute the wall stress in cs_f_user_extra_operations, following the examples provided (cs_user_extra_operat...
by C.FLAG.
Tue Apr 12, 2016 7:50 am
Forum: code_saturne usage
Topic: Computing moments of gradient
Replies: 2
Views: 2004

Re: Computing moments of gradient

Dear Yvan,

Your solution seems to work like a charm. And while waiting for converged results, I will look at the theory documentation, see if i can build something more optimized.

Thank you for your help,
Best regards,
Cedric
by C.FLAG.
Mon Apr 11, 2016 5:21 pm
Forum: code_saturne usage
Topic: Computing moments of gradient
Replies: 2
Views: 2004

Computing moments of gradient

Dear users, developpers, I am trying to compute the moments (mean and variance) of the velocity gradient. Following the examples, in cs_user_time_moments, I am using cs_time_moment_define_by_func to use a function which compute the velocity gradient. But there is a problem : the gradient is defined ...