Folder name¶
Definition¶
1<Item name="flowdatafolder" caption="Flow data folder">
2 <Definition valueType="foldername" />
3</Item>
Example of widget¶
Example code to read data¶
Calculation condition, Grid generating condition¶
FORTRAN¶
1integer:: ier
2character(200):: flowdatafolder
3
4call cg_iRIC_Read_String(fid, "flowdatafolder", flowdatafolder, ier)
C/C++¶
1int ier
2char flowdatafolder[200];
3
4ier = cg_iRIC_Read_String(fid, "flowdatafolder", flowdatafolder)
Python¶
1flowdatafolder = cg_iRIC_Read_String(fid, "flowdatafolder")
Boundary condition¶
FORTRAN¶
1integer:: ier
2character(200):: flowdatafolder
3
4call cg_iRIC_Read_BC_String(fid, "inflow", 1, "flowdatafolder", flowdatafolder, ier)
C/C++¶
1int ier
2char flowdatafolder[200];
3
4ier = cg_iRIC_Read_BC_String(fid, "inflow", 1, "flowdatafolder", flowdatafolder)
Python¶
1flowdatafolder = cg_iRIC_Read_BC_String(fid, "inflow", 1, "flowdatafolder")