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

Cannot evaluate field function Velocity

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By cwl
  • 1 Post By cwl

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2021, 10:10
Default Cannot evaluate field function Velocity
  #1
New Member
 
Join Date: Apr 2021
Location: Ulm, Germany
Posts: 10
Rep Power: 5
dhein is on a distinguished road
Hello,


I'm pretty new in using Star-CCM+ or in General a CFD-Software.


I want to run a transient analysis where I want to implement a stopping criteria that is activated when the total kinetic energy in the system is not varying more than a certain amount anymore.


For that I defined a Field Expression called Kinetic Energy per Volume, which I defined as:


0.5 * dot($${Velocity},$${Velocity}) * ${Density}



Now my problem is that I receive an error message when I want to run the expression (definition is my field function) which says:

Cannot evaluate field function Velocity


I hope I was able to communicate my problem and that somebody is able to help me.
dhein is offline   Reply With Quote

Old   April 28, 2021, 10:21
Default
  #2
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18
cwl is on a distinguished road
What type is the report?
cwl is offline   Reply With Quote

Old   April 28, 2021, 10:23
Default
  #3
New Member
 
Join Date: Apr 2021
Location: Ulm, Germany
Posts: 10
Rep Power: 5
dhein is on a distinguished road
I used an Expression Report. It's value I wanted to use for a Volume Integral Report afterwards.




Edit: When I tried to use a Volume Integral Report in first place, I wasn't able to choose my Field Function in that kind of Report. But now it somehow worked. Nevertheless I am curious about why the field function velocity cannot be evaluated in the case of an Expression Report.
dhein is offline   Reply With Quote

Old   April 28, 2021, 10:30
Default
  #4
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18
cwl is on a distinguished road
Quote:
I used an Expression Report.
Exactly. Expression should result in a single scalar value (number).
But your Field Function is a function defined in every cell - there is no single value to be reported.
So - just go agead with the Volume Integral Report and it will work fine.
dhein likes this.
cwl is offline   Reply With Quote

Old   April 28, 2021, 10:31
Default
  #5
New Member
 
Join Date: Apr 2021
Location: Ulm, Germany
Posts: 10
Rep Power: 5
dhein is on a distinguished road
Thank you very much, cwl!
That makes sense. Like given.
dhein is offline   Reply With Quote

Old   April 28, 2021, 10:34
Default
  #6
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18
cwl is on a distinguished road
You are very welcome :>
cwl is offline   Reply With Quote

Old   April 28, 2021, 10:36
Default
  #7
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18
cwl is on a distinguished road
Quote:
When I tried to use a Volume Integral Report in first place, I wasn't able to choose my Field Function in that kind of Report
That usually indicates that there is something wrong with the Field Function.

You can always check your Field Function by plotting it on some plane section.
If it is not available there - then check Field Function definition itself.
dhein likes this.
cwl is offline   Reply With Quote

Reply

Tags
expressions, field function velocity, field functions


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
Define periodic velocity profile by field function at the inlet uhlondon STAR-CCM+ 4 June 24, 2017 05:07
User Field Function - Velocity Vector Vitor_Manuel STAR-CCM+ 2 May 7, 2017 19:03
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23


All times are GMT -4. The time now is 00:39.