Hello everybody:
This is my first post both in this board and in Code_Saturne community so, first of all I think a brief introduction should be mandatory:
My name is Pablo and I am performing my PhD with Code_Saturne since a (relatively) recent time. Because of my academic/professional past I have some experience with other commercial softwares but since I discovered Code_Saturne (a few years ago) I have boosted its use and knowledge due to it is a unfairly unknown Open Source tool out of research circles.
The point is my PhD concerns Lagrangian simulations and so I am developing preliminary simulations which involves additional variables which are calculated as function of other variables and post-processed. By now, the strategy I am following is based on:
- Frozen-field preliminar simulation to define the velocity/thermal field.
- Lagrangian simulation based on the aforementioned simulation defined by GUI/subroutines:
- Subroutine “uslag1”:Allows to define the additional variable “nvls=1”, as well as other simulation parameters
- Subroutine “uslaed”: Integration of the additional variable SDE
- Subroutine “cs_user_extra_operations”: Allows to extract, calculate and save the additional variable in the “ettp” array.
The question is, although the calculation and save process in the “ettp” array is correctly made (because the values stored in the “ettp(npt, jvls(1))” has been checked with a “write(nfectra,…)” statement), I can’t find a way to check the results in the postprocesor (Paraview) because I haven’t been able to find in the documentation a way to “record” the additional variable on the particle trajectories as for example temperature would be recorded via the activation of the “iviste=1” in the “uslag1” subroutine.
Could somebody help me to visualize the additional variable results on the particle trajectories?
Thanks in advance.
PS. I’m actually using both Code_Saturne 3.2 / 3.2.2 versions