CFD Online Logo CFD Online URL
Home > Forums > STAR-CD

Multiple scalar initialization using initfi.f

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

LinkBack Thread Tools Display Modes
Old   August 3, 2010, 19:38
Default Multiple scalar initialization using initfi.f
New Member
Sameera Wijeyakulasuriya
Join Date: Aug 2009
Posts: 12
Rep Power: 10
sdwijeya is on a distinguished road
I want to initialize the domain for two scalars and trying to figure out how I can do that. initfi.f has only one variable for scalar and hence I'm not sure how to initialize both the scalars? what I want is as follows:

SCALAR(1) = 0.0
SCALAR(2) = 0.1
SCALAR(1) = 1.0
SCALAR(2) = 0.0
SCALAR(1) =0.6
SCAALR92) = 0.2

How do I define Scalar(1) and Scalar(2) in initfi.f?

Any ideas?
sdwijeya is offline   Reply With Quote


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
dieselFoam problem!! trying to introduce a new heat transfer model vivek070176 OpenFOAM Programming & Development 10 December 24, 2014 00:48
Specifying nonuniform boundary condition maka OpenFOAM Running, Solving & CFD 59 October 22, 2014 14:52
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
CFX12 rif errors romance CFX 4 October 26, 2009 14:41
STAR-CD user-defined scalar Murali Siemens 0 February 12, 2003 23:52

All times are GMT -4. The time now is 11:15.