CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Odd problem linking variables with field functions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2022, 19:42
Default Odd problem linking variables with field functions
  #1
New Member
 
John Rosser
Join Date: Dec 2022
Posts: 1
Rep Power: 0
JRosser_Purdue is on a distinguished road
I am trying to model particle flow where the particle cohesiveness is linked to the temperature of the particle. I want to make it so that the cohesive work value is 0 when the particles are above 0 Celsius.

The field function I created in place of the cohesive work value is defined as:
(${ParticleTemperature} >= 273.15) ? 0300)

I get this error:
"Unable to compute field function CW_T on "ContactCloud". Please check that function is defined here."

I cannot find any information about the contact cloud online or in the user manual.

I can make the cohesive work value dependent on other contact parameters, but that does not help me as it must be dependent on the particle temperature.
JRosser_Purdue is offline   Reply With Quote

Old   December 12, 2022, 12:31
Default
  #2
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 17
fluid23 is on a distinguished road
It looks like you maybe have extra braces. Whatever you copied in shows a where there should be ':'. Also, do you need the one after 273.15?

It sounds like this is part of a larger function, right? Consider creating a separate variable for this and call that in the larger function. It will be easier to troubleshoot.

I don't think your problem is 'ContactCloud' or whatever that is (I can't find it either). I think it's just a syntax error, but I don't see the full picture of what you are doing.
fluid23 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Particle Field Variables in Lagrangian Particle Tracking - CFX lyday011 CFX 10 May 31, 2022 13:51
Variables and Field Functions Necicse FLUENT 0 June 10, 2021 13:03
Can any ambiguous function found in both report and field function creates problem? AbhishekShingalaCFD STAR-CCM+ 6 May 12, 2021 23:00
[swak4Foam] swakExpression not writing to log alexfells OpenFOAM Community Contributions 3 March 16, 2020 18:19
Adaptive Mesh Refinement and Custom Field Variables hconel OpenFOAM 0 October 24, 2019 17:50


All times are GMT -4. The time now is 03:24.