Star CCM+ Exponentials Syntax??
I trying to create my own viscosity field function. The definition is to be set as k*$StrainRate^n. k and n are known constants. My problem is, what is the correct syntax in Star CCM+ for the exponent. Start CCM+ does not seem to recognise '^' and I can't find the right operator else where.
Thanks for your help (I'm new at CFD) 
pow($x,$y) x raised to the power of y

In your case the fieldfunction should be k*pow($StrainRate,n)

Thanks for your help

Quote:
$AbsoluteTotalPressure*1.2*pow($MachNumber,2)*((1. 2*pow($MachNumber,2))/((2.4*pow($MachNumber,2))0.166666667))^2.5 it's a long formula, and I cant find the errors for power is always used "pow"? and "^"? 
Quote:
Take a look at the user guide in Using Tools > Using Field Functions > Field Function Programming Reference > Miscellaneous Functions for reference... 
Quote:

All times are GMT 4. The time now is 20:41. 