lately I am facing a problem concerned with user define functions in the src folder, which is more like a "found" but not "used" issue.
I have done so tests on my virtual machine of ubuntu 18.04 with some modified "source codes", and Code Caturne version is 7.0 alpha which I downloaded a while ago from Github. At that time, I directly change some alogrithms or added my models in files that provided by the /src/rayt. And then, I put them into a case's src folder, it works well as I imagined.
But things are different while I installed Code Saturne on a HPC. For stability, I chose version 6.0.7. Already knew that some functions' decleration may be different, I decided to do a simple test by setting isothermal condition for cells and wall, and constant absorption coefficient. Forthermore, my modification is like
Code: Select all
void
cs_rad_transfer_solve(int bc_type[],
const cs_real_t dt[],
cs_real_t cp2fol,
const cs_real_t cp2ch[],
const int ichcor[])
{
printf("Hello World\n");
......
}
Hence, I indeed need your kind help. My setup are attached below.
Thank you