|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Join Date: Apr 2009
Posts: 112
Rep Power: 6 ![]() |
Hi,
In my simulations I include an additional scalar variable, say, T (this is not a transported quantity). I obtain the value of T in densit.f, via some equation like SCALAR(IT) = 300, where IT is the integer number assigned to this particular scalar. Now, I'm wondering whether STAR will store this value of T, which can later be read during post-processing. Thanks! |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Pauli
Join Date: Mar 2009
Posts: 165
Rep Power: 6 ![]() |
Was the scalar defined in Prostar (sc,x,defi..)? If so, I'd expect it to get stored in the output (.ccmp) file. For a transient run, you must request the scalar be output to the .ccmt file.
If this is something you are creating in a user subroutine and trying to place into the STAR SCALAR array, I would not necessarily expect it to appear in the output files. It may. But I wouldn't automatically expect it. |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2009
Posts: 112
Rep Power: 6 ![]() |
Thanks, yes it's defined in Prostar. It's a transient simulation and I have requested to post values to .ccmt file. As a test, I just ran a sample run with 10 iteration but it doesn't seem to output the correct number, just gives me zero. I'll have another look at the code.
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calculation of additional variable in multiple domain | cosine | CFX | 11 | January 27, 2013 12:38 |
| Additional Variable | tav98f | CFX | 3 | April 28, 2011 12:33 |
| Solving for an additional species CO in coalChemistryFoam | N. A. | OpenFOAM | 1 | August 11, 2010 11:52 |
| GETVAR SUBROUTINE for additional variable in CFX | Tuks | Main CFD Forum | 0 | November 8, 2005 06:13 |
| Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 20:09 |