|
[Sponsors] |
April 26, 2011, 17:48 |
Field function cannot be evaluated on region
|
#1 |
New Member
Paulo Arthur Beck
Join Date: Apr 2011
Posts: 2
Rep Power: 0 |
Hello All,
I'm trying to implement a user field function which is supposed to return the viscosity of a non-Newtonian fluid given the strain rate magnitude and other threshold parameters. I'm aware of the solver parameter "Temporary Storage Retained" which is set to true. When trying to run the simulation, I'm receiving the message "Field function "SMD Viscosity" cannot be evaluated on region cell-2", where "SMD Viscosity" and "cell-2" are particular to my simulation. Has someone faced this issue? Thank you all, |
|
April 28, 2011, 18:33 |
|
#2 |
Senior Member
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 22 |
There's an error in the definition of the field function "SMD Viscosity".
Check whether all field functions referenced in "SMD Viscosity" are existing, no mistypings occured and you have put in the right names. |
|
April 28, 2011, 19:40 |
|
#3 |
New Member
Paulo Arthur Beck
Join Date: Apr 2011
Posts: 2
Rep Power: 0 |
Thank you Abdul099. I've found the problem to be a variable name ill defined. The correct function definition, as a sample to others in need of help, looks like the following one:
($Iteration<1) ? $eta0 : (1-exp((-$eta0*$StrainRate)/$tau0))*(($tau0/$StrainRate)+$KConsistency*pow($StrainRate,$nBehav ior-1))+$etaInf*(1-exp(-$etaInf/($KConsistency*pow($StrainRate,$nBehavior-1)))) The $StrainRate variable is available only if the "Temporary Storage Retained" solver property is set to true. $StrainRate is the modulus of the mean strain rate tensor (Eq. 450 from the User's Manual). Last edited by pauloabeck; April 28, 2011 at 19:41. Reason: mispelling |
|
Tags |
field function, star ccm+ |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
UDF vs Custom field function | andrew | FLUENT | 5 | June 24, 2011 11:53 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 05:38 |
field function in STAR-CCM+ | stu | Siemens | 1 | May 9, 2008 12:11 |
Custom Field function...>>>Please HELP..! | sushii | FLUENT | 2 | October 11, 2007 02:04 |