Search found 17 matches

by vgm567
Thu Nov 16, 2017 11:17 am
Forum: code_saturne usage
Topic: Controlling postprocessing of time-moment field
Replies: 3
Views: 1872

Re: Controlling postprocessing of time-moment field

Hi Yvan, Thanks a lot for your very quick reply and pointing out the correct numbering. Actually in my case I have several time-moments (hence I want to suppress post-processing some of them). Please could you confirm whether usipes subroutine is the correct place to put call field_set_key_int for t...
by vgm567
Wed Nov 15, 2017 9:14 pm
Forum: code_saturne usage
Topic: Controlling postprocessing of time-moment field
Replies: 3
Views: 1872

Controlling postprocessing of time-moment field

Hi, I would like some help with being able to deactivate postprocessing of some time-moment fields that I create in the cs_user_time_moments function in the cs_user_parameters.c file. I am aware that the general procedure is for e.g. call field_set_key_int(f_id, keyvis, 0) in usipes subroutine but w...
by vgm567
Tue May 30, 2017 9:25 am
Forum: code_saturne usage
Topic: Post-processing of slope test
Replies: 1
Views: 1611

Post-processing of slope test

Hi, I have a quick question regarding interpreting the meaning of post-processing output of the cells in which the slope-test is activated. The output of the post-processing field using "slope_test_upwind_id" key gives a scalar called "velocity_slope_upwind" with values ranging f...
by vgm567
Mon Mar 21, 2016 10:02 pm
Forum: code_saturne usage
Topic: time ave. of velocities with turbomachinery module active
Replies: 6
Views: 3636

Re: time ave. of velocities with turbomachinery module activ

Hello Yvan,

Many thanks. This works now. :)
Also just a note, that I find cs_glob_turbomachinery is defined in cs_turbomachinery.c and not in cs_turbomachinery.h.

Regards

Michael
by vgm567
Mon Mar 21, 2016 3:50 pm
Forum: code_saturne usage
Topic: time ave. of velocities with turbomachinery module active
Replies: 6
Views: 3636

Re: time ave. of velocities with turbomachinery module activ

Hello, Based on your reply I made the change by using this line const cs_rotation_t *rot = (const cs_turbomachinery_t *)cs_glob_turbomachinery->rotation; to replace const cs_rotation_t *rot = cs_glob_rotation; I am unsure whether this is what you meant? To compile this I had to modify and include cs...
by vgm567
Mon Mar 21, 2016 1:46 pm
Forum: code_saturne usage
Topic: time ave. of velocities with turbomachinery module active
Replies: 6
Views: 3636

Re: time ave. of velocities with turbomachinery module activ

Also, the user examples ( http://code-saturne.org/doxygen/src/parameters.html , "Time moment related options") might interest you, as there is an example specific to turbomachinery. Thanks Yvan for the quick response. Actually I am using the code from above mentioned example (example 5). ...
by vgm567
Mon Mar 21, 2016 11:19 am
Forum: code_saturne usage
Topic: time ave. of velocities with turbomachinery module active
Replies: 6
Views: 3636

time ave. of velocities with turbomachinery module active

Hi, I am having trouble trying to calculate the time moments of the relative velocities for my case (which uses transient turbomachinery model). I have included the relevant function as per Example 5 from doxygen in cs_user_parameters.c. However I find that when the following line const cs_rotation_...
by vgm567
Wed Jul 15, 2015 4:13 pm
Forum: code_saturne usage
Topic: Opening like boundary condition
Replies: 11
Views: 6095

Re: Opening like boundary condition

Thanks Brian. This code snippet works. Hello, Below is the coding that we have used for the free inlet-outlet boundary condition with a given pressure. You will need to change the name of the group from XXXX to the name of the group that you are using and also comment out the lines for specifying a ...
by vgm567
Mon Jul 13, 2015 11:04 am
Forum: code_saturne usage
Topic: Opening like boundary condition
Replies: 11
Views: 6095

Re: Opening like boundary condition

Thanks. Hope to get some information on this BC and how to setup in cs_user_boundary_conditions.f90 Just for the record, I am unable to get this BC working using GUI either. I receive a crash at first time-step with " SIGSEGV signal (forbidden memory area access) intercepted! " Regards V M...
by vgm567
Mon Jun 29, 2015 10:50 am
Forum: code_saturne usage
Topic: Opening like boundary condition
Replies: 11
Views: 6095

Re: Opening like boundary condition

Hi , I hope you can help me further with the new Free inlet/outlet BC in v4.0.1 I can see this selection in GUI and I read the explanation about the pressure BC in Section 5.4.5 of Theory guide. I am using a build without XML support so I would like to implement this BC on my outlet faces through cs...