Search found 2720 matches

by Yvan Fournier
Sun Oct 20, 2019 2:55 am
Forum: Code_Saturne usage
Topic: How can I get the derivatives of velocity field?
Replies: 9
Views: 247

Re: How can I get the derivatives of velocity field?

Hello,

If you are running in parallel, you need to allocate using n_cells_with_ghosts and not n_cells..

If this is not the cause of the crash, running under a debugger or under Valgrind would help.

Regards,

Yvan
by Yvan Fournier
Fri Oct 18, 2019 10:57 pm
Forum: Code_Saturne usage
Topic: How can I get the derivatives of velocity field?
Replies: 9
Views: 247

Re: How can I get the derivatives of velocity field?

Hello, Do you have other outputs active ? What system are you running on ? (i.e. some users have had issues with user functions not being called on Ubuntu systems). Your code looks OK, so I do not see any obvious mistake (but there can always be a subtle one). Could you use a "printf" or bft_printf"...
by Yvan Fournier
Tue Oct 15, 2019 1:09 pm
Forum: Code_Saturne usage
Topic: Export the data calculated by extra operations
Replies: 5
Views: 83

Re: Export the data calculated by extra operations

Hello,

In this case, you need to move your code from cs_user_extra_operations to cs_user_postprocess_values (in cs_user_postprocess.c) so as tou output this to a reguar "writer" (EnSight in your example).

Regards,

Yvan
by Yvan Fournier
Mon Oct 14, 2019 7:04 pm
Forum: Code_Saturne usage
Topic: Error in parallelization in Saturne 5.2
Replies: 1
Views: 54

Re: Error in parallelization in Saturne 5.2

Hello, The MPI version in the "universal" build probably does not match that of Ubuntu 18.04. The solution would be to recompile code_saturne (while using the Sslome libraries). Basically, the same thing you tried before except for the --with-salome option, which you can avoid for now (or add --with...
by Yvan Fournier
Sun Oct 13, 2019 8:43 pm
Forum: Code_Saturne usage
Topic: SIGSEGV signal writing results in extra operations
Replies: 7
Views: 171

Re: SIGSEGV signal writing results in extra operations

Hello, Since you can install the code, a good test in my opinion would be to modify the cs_user_extra_operations.c from the main sources, then reinstall and see how it behaves. This will allow determining whether the call site is never reached for some reason or whether the default user function is ...
by Yvan Fournier
Fri Oct 11, 2019 8:39 pm
Forum: Code_Saturne usage
Topic: SIGSEGV signal (forbidden memory area access) intercepted in version 6.0
Replies: 2
Views: 99

Re: SIGSEGV signal (forbidden memory area access) intercepted in version 6.0

Hello,

Could you post the whole case setup (except the mesh, unless it is small) ?

Regards,

Yvan
by Yvan Fournier
Wed Oct 09, 2019 11:15 pm
Forum: Code_Saturne usage
Topic: Periodicity and scalars LES
Replies: 1
Views: 90

Re: Periodicity and scalars LES

Hello, We do not have a "direct" way of doing this (I would love to replace the current periodicity logic with an extension of the internal coupling to nonconforming cases and vector or tensor variables, which would allow this, but this is a long-term idea which needs more thought)... The simplest s...
by Yvan Fournier
Wed Oct 09, 2019 11:08 pm
Forum: Code_Saturne usage
Topic: SIGSEGV signal writing results in extra operations
Replies: 7
Views: 171

Re: SIGSEGV signal writing results in extra operations

Hello, This is strange. cs_user_extra_operations_finalize is called directly by C code, while the other 2 cs_user_extra_operations_* functions may be called through Fortran, so I suspect i subtle installation (or reinstallation) issue. Did you simply overwrite your previous installation, or did you ...
by Yvan Fournier
Wed Oct 09, 2019 9:46 am
Forum: Installation issues
Topic: Issue when installing CS 6.0.0 with Salome - Ubuntu 18.04
Replies: 23
Views: 337

Re: Issue when installing CS 6.0.0 with Salome - Ubuntu 18.04

Hello, The Python detection error is strange, but since you seem to have forced PYTHON=/usr/bin/python3.7, while SALOME has its own Python 3.6, this may lead to the error. If buiding code_saturne under SALOME, you should use at least the same Python version as SALOME, and if possible, SALOME's bundl...
by Yvan Fournier
Tue Oct 08, 2019 1:16 pm
Forum: Installation issues
Topic: Issue when installing CS 6.0.0 with Salome - Ubuntu 18.04
Replies: 23
Views: 337

Re: Issue when installing CS 6.0.0 with Salome - Ubuntu 18.04

Hello,

Is it possible that you installed the code from inside a Salome environment ("salome shell" or "salome context") and are running outside one ?

Do you still have the error when running unde "salome shell" or "salome context" ?

Best regards,

Yvan