I have been trying to test the HTLES hybrid model using version v8.0.1. In the user routines cs_user_parameters.c and cs_user_initialization.c, I use the following instructions:
Code: Select all
...
cs_turb_model_t *turb_model = cs_get_glob_turb_model();
turb_model->iturb = CS_TURB_K_OMEGA;
turb_model->type = CS_TURB_HYBRID;
turb_model->hybrid_turb = CS_HYBRID_HTLES;
...
Code: Select all
SIGABRT signal (abort) intercepted.
Call stack:
1: 0x7f6de099eacf <gsignal+0x10f> (libc.so.6)
2: 0x7f6de0971ea5 <abort+0x127> (libc.so.6)
3: 0x7f6de09dfcd7 <+0x8fcd7> (libc.so.6)
4: 0x7f6de09e6fdc <+0x96fdc> (libc.so.6)
5: 0x7f6de09e73fc <+0x973fc> (libc.so.6)
6: 0x7f6de2c4def0 <bft_mem_free+0x260> (libsaturne-8.0.so)
7: 0x7f6de2a4705a <cs_htles_initialization+0xeca> (libsaturne-8.0.so)
8: 0x7f6de23f6024 <caltri_+0x1455> (libsaturne-8.0.so)
9: 0x7f6de38b9360 <main+0x760> (libcs_solver-8.0.so)
10: 0x7f6de098ad85 <__libc_start_main+0xe5> (libc.so.6)
11: 0x40624e <_start+0x2e> (cs_solver)
End of stack
Code: Select all
** VARIABLES INITIALIZATION
------------------------
-----------------------------------------
Property Min. value Max. value
-----------------------------------------
density 0.1206E+01 0.1206E+01
molecular_viscos 0.1758E-04 0.1758E-04
turbulent_viscos 0.2193E-07 Infinity
-----------------------------------------
HTLES: Error counter: 24
HTLES: Error counter: 24
HTLES: Error counter: 24
HTLES: Error counter: 24
HTLES: Error counter: 24
HTLES: Error counter: 24
HTLES: Error counter: 24
...
Code: Select all
...
/* Verification
* TODO correct it in parallel
* */
for (cs_lnum_t c_id = 0; c_id < n_cells; c_id++) {
if (cpt_edg_per_cells[c_id] != 36) {
bft_printf("HTLES: Error counter: %d \n", cpt_edg_per_cells[c_id]);
}
}
...
Is the HTLES code designed to work only with purely hexahedral meshes?