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

USER_GETVAR for MUSIG variables

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2008, 14:12
Default USER_GETVAR for MUSIG variables
  #1
Jo
Guest
 
Posts: n/a
Hi, all

I tried to call some variables such as Group I Diameter, Size Fraction, and Index by using USER_GETVAR function.

and I keep getting errors to call them.

I used the following information: Materials: Water and Air at 25 C Musig Fluid: Air Groups: Group 1 and Group 2

The followings are the <variable_description> that I used:

Air.Group 1.Size Fraction Air at 25 C.Group 1.Size Fraction Air at 25 C.Air.Group 1.Size Fraction Air at 25 C.Musig Fluid Air.Group 1.Size Fraction Air at 25 C.Musig Fluid.Air.Group 1.Size Fraction Air at 25 C.Musig Fluid 1.Group 1.Size Fraction

I used many different ones, but none of them worked.

Do you know the right format for USER_GETVAR?
  Reply With Quote

Old   February 13, 2017, 11:29
Default
  #2
New Member
 
Lakshay Garg
Join Date: Jan 2017
Posts: 9
Rep Power: 9
Laksh is on a distinguished road
Were you able to solve your problem Jo? I am facing the same problem
Laksh is offline   Reply With Quote

Old   February 13, 2017, 14:52
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 1,815
Rep Power: 32
Opaque will become famous soon enough
You can try the following syntax

For variables independent of the size group

MyPolydispersedFluid.<Variable of Interest>

For variables dependent of the size group

MyPolydispersedFluid.MySizeGroup.<Variable of Interest>

Please let us know if it works for you.
Opaque is offline   Reply With Quote

Old   February 14, 2017, 06:38
Default
  #4
New Member
 
Lakshay Garg
Join Date: Jan 2017
Posts: 9
Rep Power: 9
Laksh is on a distinguished road
Quote:
Originally Posted by Opaque View Post
You can try the following syntax

For variables independent of the size group

MyPolydispersedFluid.<Variable of Interest>

For variables dependent of the size group

MyPolydispersedFluid.MySizeGroup.<Variable of Interest>

Please let us know if it works for you.
Hey Opaque, thank you for replying to the post. Yes, I have already tried the above two suggestions without success. To tell you a bit about my problem; I am trying to apply a PBM for a polydisperse flow(air -continuous & water - polydisperse) in a porous filter. To implement mass transfer source/sink, I need to access some variables(mass/number) of different size bins. I have tried several combinations for the correct format but without success.
Do you know about the format of predefined variables "Group I & J mass, number, etc". As per the "variables" text file, these variables can be used in MUSIG simulation but again the format is a problem.
Thank you in advance for your help.
Laksh is offline   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
ADDITIONAL VARIABLES LIMITERS N.P CFX 5 December 1, 2011 07:47
$FOAM_USER_APPBIN & LIBBIN variables not set rassilon OpenFOAM Installation 2 February 16, 2010 20:54
PHI file structure Eugene Phoenics 9 November 2, 2001 22:00
How Do You Name Variables in Difference Equations? Zi-Wei Chiou Main CFD Forum 3 October 17, 2001 23:47
Saving variables on a user patch with physical coordinates Zoltan Turzo CFX 2 April 20, 2000 15:05


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