Hi users, I have created a field for enstrophy in code saturne by this command
cs_field_create("enstrophy", field_type, CS_MESH_LOCATION_CELLS, 1, has_previous);
cs_field_set_key_int_bits(cs_field_by_name("enstrophy"), cs_field_key_id("post_vis"), CS_POST_ON_LOCATION);
I want to monitor the dime dynamics of the same at some points in the flow domain. When I creates the points to save information, it is saving default variables like velocity, pressure etc at monitor folder but do not save the user field variable.
Time dynamics of enstrophy is useful for me.
With Thanks and Regards
Sofen
Monitoring user field at a point with time
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 35
- Joined: Thu May 19, 2022 4:37 pm
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Monitoring user field at a point with time
Hello,
You simply need to use CS_POST_MONITOR instead of or in addition to CS_POST_ON_LOCATION.
Best regards,
Yvan
You simply need to use CS_POST_MONITOR instead of or in addition to CS_POST_ON_LOCATION.
Best regards,
Yvan