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

some troubles with "USER_GET_GVAR"

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2007, 10:09
Default some troubles with "USER_GET_GVAR"
  #1
Ardisia
Guest
 
Posts: n/a
Hi, 1. I'm trying to use Junction box routine to get pressure on some boundary "wallname". But it fails, CALL USER_GET_GVAR('Air Ideal Gas.Pressure','wallname','areaAve', CRESLT,return_Pressure_Value, CZ,DZ,IZ,LZ,RZ), but if I change "Pressure" to be "Density" or "Temperature", then it's OK to get values, why?

2. How can I use USER_GET_GVAR function to get force in x-direction and y-direction seperately?

Thanks for your help in advance.

  Reply With Quote

Old   February 10, 2007, 16:41
Default Re: some troubles with "USER_GET_GVAR"
  #2
Joe
Guest
 
Posts: n/a
1 Different variables are stored at different locations e.g. nodes, integration points etc. This may be the problem.

2 The forces are given to you as a 3 component vector you have to extract the components of interest to you.
  Reply With Quote

Old   February 12, 2007, 09:35
Default Re: some troubles with "USER_GET_GVAR"
  #3
opaque
Guest
 
Posts: n/a
Dear Ardisia,

The variable pressure is not a phase specific variable; therefore, it should not be prefixed with the fluid name.

Try using

CALL USER_GET_GVAR('Pressure','wallname','areaAve', CRESLT,return_Pressure_Value, CZ,DZ,IZ,LZ,RZ)

instead

This is documented in the USER_GETVAR section, and it should apply for USER_GET_GVAR..

Opaque..

lkm7959 likes this.
  Reply With Quote

Old   February 13, 2007, 23:21
Default Re: some troubles with "USER_GET_GVAR"
  #4
Ardisia
Guest
 
Posts: n/a
opaque, it works, Use "Pressure" instead of "Air Ideal Gas.Pressure" is OK now!!

Thanks very much....

Ardisia
  Reply With Quote

Reply


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
GAMG solver causes troubles colinB OpenFOAM Running, Solving & CFD 5 June 13, 2013 07:48
Install troubles on fedora yoshimitsuspeed OpenFOAM 1 July 20, 2011 02:49
Interface troubles Samu CFX 2 December 8, 2009 02:38
some video troubles... giosue Siemens 2 February 19, 2003 10:03
Troubles modelling flow through a grid Hans Klaufus CFX 1 June 28, 2000 16:43


All times are GMT -4. The time now is 07:21.