Accessing Reynolds Stress Components
Posted: Tue Jan 29, 2019 5:09 pm
Hello Everyone,
I am trying to access Reynolds stress components to calculate the buoyancy source term for EB-RSM.
Version : CS_5.1.3
Above lines of code resulted in error " Fortran pointer of rank 1 requested for values of field "rij",which have rank 2."
Please suggest some changes to fix the error. listing and error files are attached.
I am trying to access Reynolds stress components to calculate the buoyancy source term for EB-RSM.
Version : CS_5.1.3
Code: Select all
call field_get_val_prev_s(ivarfl(ir11), cvara_r11)
call field_get_val_prev_s(ivarfl(ir22), cvara_r22)
call field_get_val_prev_s(ivarfl(ir33), cvara_r33)
call field_get_val_prev_s(ivarfl(ir12), cvara_r12)
call field_get_val_prev_s(ivarfl(ir13), cvara_r13)
call field_get_val_prev_s(ivarfl(ir23), cvara_r23)
Please suggest some changes to fix the error. listing and error files are attached.