CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Mass residuals

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2001, 06:04
Default Mass residuals
  #1
Hamsdi
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!
  Reply With Quote

Old   October 25, 2001, 06:34
Default Re: Mass residuals
  #2
Jan Rusås
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
  Reply With Quote

Old   October 25, 2001, 08:48
Default Re: Mass residuals
  #3
Hamsdi
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 ;-)

  Reply With Quote

Old   October 25, 2001, 11:55
Default Re: Mass residuals
  #4
cfd guy
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
  Reply With Quote

Old   October 29, 2001, 06:29
Default Re: Mass residuals
  #5
Hamsdi
Guest
 
Posts: n/a
Thanks, now it works!
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 16:57.