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

How to set mass fraction at inlet boundary conditi

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 3, 2003, 11:52
Default How to set mass fraction at inlet boundary conditi
  #1
Eric
Guest
 
Posts: n/a
I want to use user-fortran to read one mass fraction value from an outlet boundary and set the read value to an inlet boundary. Can anyone tell me how to read the mass fraction value from an outlet and how to set the value to an inlet?

  Reply With Quote

Old   September 5, 2003, 13:31
Default Re: How to set mass fraction at inlet boundary con
  #2
Carola
Guest
 
Posts: n/a
Have you ever read the tutorial about a combustion chamber?, here they have this example ( mass fraction value to an inlet )

Take care

Carola
  Reply With Quote

Old   September 7, 2003, 04:23
Default Re: How to set mass fraction at inlet boundary con
  #3
Eric
Guest
 
Posts: n/a
Hi Carola,

I use CFX4.4 and I don't where can find the tutorial abour a combustion chamber. I refer to some example for User-fortran and I don't know how to use USRBCS to set mass fraction at an inlet. My source code is as follow. Can you give me some comment or advise?

CALL GETSCA('MASS FRACTION1',IVAR,CWORK) CALL IPREC('INLET-AS1','PATCH','CENTRES',IPT,ILEN,JLEN,KLEN,CWORK,IW ORK)

IPHS = 1

DO 100 K = 1,KLEN

DO 110 J = 1,JLEN

DO 120 I = 1,ILEN

INODE = IP(I,J,K)

SCAL(INODE,IPHS,IVAR) = 0.5

120 CONTINUE

110 CONTINUE

100 CONTINUE

Thank you!

Eric
  Reply With Quote

Old   September 8, 2003, 13:09
Default Re: How to set mass fraction at inlet boundary con
  #4
Carola
Guest
 
Posts: n/a
Hi Eric!, Iīm afraid that I canīt help you. I thought that you had CFX-5.5.1!, sorry!.

take Care,

Carola
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mass fraction and volume fraction eric weddle CFX 0 September 26, 2011 05:02
Difference between Volume Fraction and Mass Fraction in CEL foo7 CFX 0 September 21, 2011 08:45
Domain Imbalance HMR CFX 3 March 6, 2011 21:10
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13


All times are GMT -4. The time now is 04:55.