I am working on coupling simulation with Code_Saturne v7.0.2 with corresponding PLE library.
I have achieved such coupling simulation: Code_Saturne receives data and places on it boundary face centre by the function cs_syr_coupling_define[https://github.com/code-saturne/code_sa ... -syrthes.c].
Now, I'd like to achieve cell coupling. Like in the figure, Code_Saturne receives corresponding data and place in cell centre (#a, #b ... #h). I found the second term of function (cs_syr_coupling_define) only act on the boundary criteria. I'd like to know how to replace data in Code_Saturne cells.
Best wishes,
yang
Code: Select all
cs_syr_coupling_define("SYRTHES_02",
"Wall", /* boundary criteria */
NULL, /* volume_criteria */
'z', /* projection_axis */
allow_nonmatching,
tolerance,
verbosity,
plot);
}