Extraction of heat Transfert coefficient
Posted: Wed Aug 24, 2011 11:12 am
Hello ,
I'm performing calculation of a simple pipe with wall dirichlet for the temperature.
I would like to extract the heat transfert coefficient calculated by Code_Saturne (HFLUI) which is saved in the array HBORD(IFAC) as i set ISVHB = 1 in tridim.F.
I have tryied to extract it via usvpst.F, but the code crashes, the error message is the following :
SIGSEGV signal (forbidden memory area access) intercepted!
Call stack:
1: 0x2ad817ee3110 ? (?)
2: 0x42f42f <usvpst_+0xa3> (cs13.exe)
3: 0x46f751 <pstvar_+0x102b> (cs13.exe)
4: 0x50af85 <caltri_+0x62a5> (cs13.exe)
5: 0x450087 <main+0x5e7> (cs13.exe)
6: 0x2ad817ed04ca <__libc_start_main+0xda> (libc.so.6)
7: 0x417b2a ? (?)
End of stack
I made it work by copying HBORD in RTUSER in condli.F and reading RTUSER in usvpst.F. But, i'm not sure that the value is correct as i've seen that the HFLUI calculated by clptur.F is slightly different then the one calculated by condli.F.
So my questions are :
1 : How can i read the array HBORD from any user subroutines ?
2 : If 1 can't be done, how can i be sure that i'm reading the good value of HFLUI ?
3 : What the dimension of HFLUI written in HBORD ? W/(m.°C) or W/°C ?
Thanks for you help.
I'm performing calculation of a simple pipe with wall dirichlet for the temperature.
I would like to extract the heat transfert coefficient calculated by Code_Saturne (HFLUI) which is saved in the array HBORD(IFAC) as i set ISVHB = 1 in tridim.F.
I have tryied to extract it via usvpst.F, but the code crashes, the error message is the following :
SIGSEGV signal (forbidden memory area access) intercepted!
Call stack:
1: 0x2ad817ee3110 ? (?)
2: 0x42f42f <usvpst_+0xa3> (cs13.exe)
3: 0x46f751 <pstvar_+0x102b> (cs13.exe)
4: 0x50af85 <caltri_+0x62a5> (cs13.exe)
5: 0x450087 <main+0x5e7> (cs13.exe)
6: 0x2ad817ed04ca <__libc_start_main+0xda> (libc.so.6)
7: 0x417b2a ? (?)
End of stack
I made it work by copying HBORD in RTUSER in condli.F and reading RTUSER in usvpst.F. But, i'm not sure that the value is correct as i've seen that the HFLUI calculated by clptur.F is slightly different then the one calculated by condli.F.
So my questions are :
1 : How can i read the array HBORD from any user subroutines ?
2 : If 1 can't be done, how can i be sure that i'm reading the good value of HFLUI ?
3 : What the dimension of HFLUI written in HBORD ? W/(m.°C) or W/°C ?
Thanks for you help.