|
[Sponsors] |
October 25, 2001, 06:04 |
Mass residuals
|
#1 |
Guest
Posts: n/a
|
Hello, I want to check the mass residuals before choosing a turbulunce model in my USR Fortran routine. Is there a variable which stores the mass residuals? (I haven't found it in the manual ) (Using CFX 4.4)
Thanks in advance! |
|
October 25, 2001, 06:34 |
Re: Mass residuals
|
#2 |
Guest
Posts: n/a
|
It is in the manual
You can declare all the residuals as a variable under >>VARIABLE NAMES USER SCALAR1 'MASS RESIDUAL' You must then read how to get acces to this variable in the actual usr. fortran you want to use , ie CALL GETSCA(...... Hope this is a help. Jan |
|
October 25, 2001, 08:48 |
Re: Mass residuals
|
#3 |
Guest
Posts: n/a
|
Thanks for the quick response. I still have a problem accessing the variable in my routine. The error text in the output file is as follows:
THE FOLLOWING KEYWORD HAS NOT BEEN PROCESSED USER SCALAR1 I called it with CALL GETSCA('MASS RESIDUALS', IRMASS, CWORK) Thanks again ;-) |
|
October 25, 2001, 11:55 |
Re: Mass residuals
|
#4 |
Guest
Posts: n/a
|
Hi,
Did you check out if you included the number of user scalar equations in the options of the command file? I'll give you a brief example: --CFX4 --OPTIONS THREE DIMENSIONS BODY FITTED GRID CARTESIAN COORDINATES TURBULENT FLOW ISOTHERMAL FLOW INCOMPRESSIBLE FLOW USER SCALAR EQUATIONS 1 --VARIABLE NAMES USER SCALAR1 'MASS RESIDUAL' Hope this helps, Regards, cfd guy |
|
October 29, 2001, 06:29 |
Re: Mass residuals
|
#5 |
Guest
Posts: n/a
|
Thanks, now it works!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
v & mass residuals | azmir | Siemens | 0 | January 4, 2005 07:11 |
CFX4.4 - mass residuals in 2D? | Novak Elliott | CFX | 4 | September 17, 2003 00:55 |
adjust a range of target residuals shown on mass a | Jackie | CFX | 0 | February 14, 2003 11:40 |