Search found 36 matches

by Christopher
Fri Sep 24, 2021 11:19 am
Forum: code_saturne usage
Topic: Underestimation of velocity, compressible model
Replies: 31
Views: 17591

Re: Underestimation of velocity, compressible model

Hello Yvan, I found out something interesting. At least for me. I applied the same model I originally created for CS to OpenFoam v8. In CS I use a velocity inlet with a mass flow and a pressure outlet. I initialised the thermodynamics at the inlets with pressure and temperature. The result is that t...
by Christopher
Thu Sep 23, 2021 11:10 am
Forum: code_saturne usage
Topic: Underestimation of velocity, compressible model
Replies: 31
Views: 17591

Re: Underestimation of velocity, compressible model

Hi, here is the output from gdb. So is the "interesting line" number 155? I have never used gdb before. The German message is "File or directory not found" and refers to the cs_cf_thermo.c. The interesting thing is that the folder "GitHub_Master" was my source folder, w...
by Christopher
Wed Sep 22, 2021 10:18 am
Forum: code_saturne usage
Topic: Underestimation of velocity, compressible model
Replies: 31
Views: 17591

Re: Underestimation of velocity, compressible model

Hello Yvan, I finally installed a new build of CS from Git in the debug mode (with debugging symbols) and re-ran the calculation. However the output looks similar to the previous without debugging. Which data should I provide to find the bug? The error message is different as well. The main calculat...
by Christopher
Tue Aug 17, 2021 10:36 am
Forum: code_saturne usage
Topic: Underestimation of velocity, compressible model
Replies: 31
Views: 17591

Re: Underestimation of velocity, compressible model

Hi Yvan, thanks for your reply. Could you give me some help where to add "--enable-debug"? I can only start these topics: help studymanager smgr bdiff bdump compile config cplgui create gui parametric studymanagergui smgrgui trackcvg update up info run submit symbol2line when I launch code...
by Christopher
Fri Aug 13, 2021 7:58 am
Forum: code_saturne usage
Topic: Underestimation of velocity, compressible model
Replies: 31
Views: 17591

Re: Underestimation of velocity, compressible model

Hi Yvan, mesh quality is an important thing, I agree. Unfortunately, the mesh file is too large for upload (48 mb). However, when I check the 5 quality criterion's it looks not that bad (total number of cells = 770000): Criterion 1: Orthogonality: Number of bad cells detected: 0 --> 0 % Criterion 2:...
by Christopher
Thu Aug 12, 2021 8:27 am
Forum: code_saturne usage
Topic: Underestimation of velocity, compressible model
Replies: 31
Views: 17591

Re: Underestimation of velocity, compressible model

Hi Yvan, sorry for the late reply. Was busy with other things. I've tried to use the stiffened gas model and added void cs_user_model(void) { cs_cf_model_t *cf_mdl = cs_get_glob_cf_model(); cf_mdl->ieos = CS_EOS_STIFFENED_GAS; } in the cs_user_parameters.c file. Then dropped it into the SRC folder. ...
by Christopher
Mon Jul 19, 2021 11:53 am
Forum: code_saturne usage
Topic: Underestimation of velocity, compressible model
Replies: 31
Views: 17591

Re: Underestimation of velocity, compressible model

Hello Yvan, I searched for a stiffened gas model and I found this: https://www.code-saturne.org/cms/sites/default/files/docs/7.0/doxygen/src/group__compressible.html#gab5203472ecc413c677fe5469f6b6ec54 With the variable "ieos" I should give an indicator for the equation of state. In my case...
by Christopher
Thu Jul 15, 2021 2:37 pm
Forum: code_saturne usage
Topic: Underestimation of velocity, compressible model
Replies: 31
Views: 17591

Re: Underestimation of velocity, compressible model

Hello,

thanks for the answer.

I am using perfect gas as I did in my previous setup. Would you recommend a stiffened gas.model? Do I need to set it up without the GUI? Because I can only select perfect gas inside the compressible module on GUI.

Kind regards,
Christopher
by Christopher
Mon Jul 12, 2021 2:05 pm
Forum: code_saturne usage
Topic: Underestimation of velocity, compressible model
Replies: 31
Views: 17591

Underestimation of velocity, compressible model

Hello, I have ended my last topic with a comparison of an experiment with simulation data. https://www.code-saturne.org/forum/viewtopic.php?f=2&t=2788 The results were good. However, after doing some measurements at higher air temperatures and a more sophisticated setup, I now see a big differen...
by Christopher
Fri Apr 30, 2021 10:40 am
Forum: code_saturne usage
Topic: PROBLEM IN THE BOUNDARY CONDITIONS USING COMPRESSABLE MODEL
Replies: 54
Views: 52868

Re: PROBLEM IN THE BOUNDARY CONDITIONS USING COMPRESSABLE MODEL

Dear Yvan and CS community, as promised, I would like to share some validation data with you. I ran a simulation and took a measurement with a pitot tube and a thermocouple. Then I matched the two profiles in a plot. Attached to this post are two slides illustrating the simulation and experimental r...