cs_user_radiative_transfer_bcs function upgrade
Posted: Fri May 16, 2025 3:39 pm
Hi,
I am starting a new project using Code_Saturne and I first wish to upgrade for v7.1 to v8.0.
Unfortunately, I have a user defined function cs_user_radiative_transfer_bcs which used to have the following signature :
when the new expected signature is now
The code I am running is using the nvar integer parameter and is filling up the rcodcl output vector of the v7.1. Both have disappeared in the v8.0 signature.
Could someone help me translating my user defined function to Code_Saturne_v8.0 ?
Thanks a lot!
I am starting a new project using Code_Saturne and I first wish to upgrade for v7.1 to v8.0.
Unfortunately, I have a user defined function cs_user_radiative_transfer_bcs which used to have the following signature :
Code: Select all
void cs_user_radiative_transfer_bcs ( int nvar,
const int bc_type[],
int icodcl[],
int isothp[],
cs_real_t * tmin,
cs_real_t * tmax,
cs_real_t * tx,
const cs_real_t dt[],
cs_real_t rcodcl[],
const cs_real_t thwall[],
const cs_real_t qincid[],
cs_real_t hfcnvp[],
cs_real_t flcnvp[],
cs_real_t xlamp[],
cs_real_t epap[],
cs_real_t epsp[],
cs_real_t textp[]
)
Code: Select all
void cs_user_radiative_transfer_bcs ( cs_domain_t * domain,
const int bc_type[],
int isothp[],
cs_real_t * tmin,
cs_real_t * tmax,
cs_real_t * tx,
const cs_real_t dt[],
const cs_real_t thwall[],
const cs_real_t qincid[],
cs_real_t hfcnvp[],
cs_real_t flcnvp[],
cs_real_t xlamp[],
cs_real_t epap[],
cs_real_t epsp[],
cs_real_t textp[]
)
Could someone help me translating my user defined function to Code_Saturne_v8.0 ?
Thanks a lot!