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

Reference Pressure in CFX Junction Box Routines

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2013, 09:51
Default Reference Pressure in CFX Junction Box Routines
  #1
New Member
 
Join Date: Oct 2010
Posts: 29
Rep Power: 16
Silmaril is on a distinguished road
Hi,

I wonder if there is a way to get the Reference Pressure value within a Junction Box (JCB) Routine.

I cannot use the USER_GETVAR function (only for CEL, and I don't know if it works either). Moreover, while trying the USER_GET_GVAR function (available in JCB) the "pref" or "Reference Pressure" are not recognized as an admissible value for the variable input...

Any suggestions on this?

Thanks in advance

Lorenzo
Silmaril is offline   Reply With Quote

Old   September 3, 2013, 09:57
Default
  #2
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21
singer1812 is on a distinguished road
Dont know your answer offhand, but I am wondering why you need to do that?

Use an expression to set your reference pressure, and reference that.
singer1812 is offline   Reply With Quote

Old   September 3, 2013, 10:43
Default
  #3
New Member
 
Join Date: Oct 2010
Posts: 29
Rep Power: 16
Silmaril is on a distinguished road
I have to couple CFX with a 1D thermal hydraulic code, the CFX input should be the most generic (since should be used even from users other than me). So I need to get the assigned Reference Pressure Value in the most generic way...

In the meanwhile, I tried to caluclate it as the difference between average Absolute and Relative Pressures in some part of the computational domain, and it works relatively well. However I still prefer a quicker and more elegant solution, if possible.
Silmaril is offline   Reply With Quote

Reply

Tags
junction box, mms, reference pressure


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
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
about reference pressure adam2008 CFX 1 May 17, 2011 09:03
CFX pressure in Simulations problem nasdak CFX 1 April 14, 2010 14:22
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 14:19
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00


All times are GMT -4. The time now is 18:52.