Restart from k-eps tubulence model with spalart-allmaras one
Posted: Thu May 14, 2020 9:54 am
Hello,
I'm trying to improve one of my simulations changing the turbulence model in CS 6.0.0.
My simulation is very heavy and takes time to stabilize so I would rather make a restart from if.
The first simulation works with k-eps standard turbulence model and now I would like to use the spalart-allmaras model.
Yet I have this error when I tried it :
I attached my listing file, my setup file and the cs_user_physical_properties.f90 with my modifications (on viscosity calculation).
I think I miss something with the setup file but I don't know where exactly.
Thank a lot for your help.
Best regards,
Camille.
I'm trying to improve one of my simulations changing the turbulence model in CS 6.0.0.
My simulation is very heavy and takes time to stabilize so I would rather make a restart from if.
The first simulation works with k-eps standard turbulence model and now I would like to use the spalart-allmaras model.
Yet I have this error when I tried it :
Code: Select all
INSTANT 0.304425000E+00 TIME STEP NUMBER 60885
=============================================================
/gpfs1/home/2006003/cbarna01/code_saturne-6.0.0/src/base/cs_field.c:1104: Fatal error.
Fortran pointer of rank 1 requested for values of field "velocity",
which have rank 2.
Call stack:
1: 0x2b24317e4306 <cs_f_field_var_ptr_by_id+0x96> (libsaturne-6.0.so)
2: 0x2b2431eaaf21 <__field_MOD_field_get_val_s+0x21> (libsaturne-6.0.so)
3: 0x401d60 <usvist_+0x53> (cs_solver)
4: 0x2b24318bff17 <phyvar_+0x2e07> (libsaturne-6.0.so)
5: 0x2b24318e5180 <tridim_+0xfb0> (libsaturne-6.0.so)
6: 0x2b2431768412 <caltri_+0x20f2> (libsaturne-6.0.so)
7: 0x2b24314bc8d5 <cs_run+0x5e5> (libcs_solver-6.0.so)
8: 0x2b24314bc1b5 <main+0x175> (libcs_solver-6.0.so)
9: 0x2b2435f56495 <__libc_start_main+0xf5> (libc.so.6)
10: 0x401249 <> (cs_solver)
End of stack
I attached my listing file, my setup file and the cs_user_physical_properties.f90 with my modifications (on viscosity calculation).
I think I miss something with the setup file but I don't know where exactly.
Thank a lot for your help.
Best regards,
Camille.