How can I visualise in CFX-Post a phase pair variable like the slip velocity, the particle slip Reynolds number, etc..?


A lot of these variables are known to the solver during the run and are simply not stored in the res file. To make those available for postprocessing you can:
1. take a look at the VARIABLES file included in your CFX-5 installation in the directory such as 'CFX-10.0'/etc

This file contains variable definitions such as:

VARIABLE: slip
Option = Definition
#Scope = Phase Pair
MMS Name = SLIP
Long Name = Slip Velocity Magnitude
Tensor Type = SCALAR
Quantity = Velocity
User Level = 3
Status = D
Output to Jobfile = No
Output to Postprocessor = No
Component Bounds Flag = Yes
Component Lower Bounds = 0
Bounds Violation Action = Stop
Variable Scope = PHASE #PAIR
END

2. extract the ccl of your run, using
cfx5cmds -def file.def -text file.ccl -read

edit the newly created file file.ccl, and in the LIBRARY section of the file, add the variable definition:

LIBRARY:
.....

VARIABLE: slip
Option = Definition
#Scope = Phase Pair
MMS Name = SLIP
Long Name = Slip Velocity Magnitude
Tensor Type = SCALAR
Quantity = Velocity
User Level = 3
Status = DOutput to Jobfile = No
Output to Postprocessor = Yes
Component Bounds Flag = Yes
Component Lower Bounds = 0
Bounds Violation Action = Stop
Variable Scope = PHASE #PAIR
END


.....
END

changing the 'Output to Postprocessor' from No to Yes.

Put the ccl back into the def file with
cfx5cmds -def file.def -text file.ccl -write


Running with this modification will ensure that the slip velocity will then be included in your res file.





Show Form
No comments yet. Be the first to add a comment!