|
[Sponsors] |
Multiple scalar initialization using initfi.f |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 3, 2010, 19:38 |
Multiple scalar initialization using initfi.f
|
#1 |
New Member
Sameera Wijeyakulasuriya
Join Date: Aug 2009
Posts: 12
Rep Power: 16 |
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:
IF (ICTID.EQ.5) THEN SCALAR(1) = 0.0 SCALAR(2) = 0.1 ELSEIF (ICTID.EQ.6) THEN SCALAR(1) = 1.0 SCALAR(2) = 0.0 ELSE SCALAR(1) =0.6 SCAALR92) = 0.2 ENDIF How do I define Scalar(1) and Scalar(2) in initfi.f? Any ideas? |
|
|
|
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 23, 2014 23: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 13:41 |
STAR-CD user-defined scalar | Murali | Siemens | 0 | February 12, 2003 22:52 |