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

Help regarding field functions in star CCM+

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2022, 06:30
Default Help regarding field functions in star CCM+
  #1
New Member
 
Danmark
Join Date: Dec 2022
Posts: 1
Rep Power: 0
curseitx is on a distinguished road
Hi,
Firstly I'm new to Star CCM+ and CFD simulations in general. Now to the question.

I'm currently trying to plot the turbulent boundary layer profile as a function of the wall y+ value. The general thought is to illustrate the relevance of high y+ wall treatment for coarse meshes and low y+ wall treatment for fine meshes. However, when I try to create a field function reflecting the turbulent boundary layer velocity given by the formula "u_tau = sqrt(tau_w / rho)", then I get the following message of error:

Error: function 'Simulation>FieldFunctionManager>UserFieldFunction ("TurbBoundaryLayer_Velocity")' compilation error: syntax error
Unable to compile expression "mag($${Velocity})/(sqrt(mag($${WallShearStress})/${Density})"

I think the problem might be an incorrect use of the "mag" tool, but maybe one smarter than me knows how correct this.

Thank you for your attention.
Rasmus.
curseitx is offline   Reply With Quote

Old   May 15, 2023, 06:13
Default
  #2
New Member
 
TheIndianLel
Join Date: Mar 2019
Location: Germany
Posts: 25
Rep Power: 7
theindianlel is on a distinguished road
Hello!

I don't know if you are still looking for an answer but you are missing a closing bracket in the denominator.
theindianlel is offline   Reply With Quote

Reply

Tags
field functions, turbulent boundary layer, velocity, wall treatment

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Marine Propeller Hydroacoustic Simulation in Star CCM BlackEagle STAR-CCM+ 1 December 8, 2017 22:33
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 05:04
Fluent Vs Star CCM firda Main CFD Forum 3 February 26, 2011 03:51
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38
A genearl question on STAR CCM nstar STAR-CCM+ 5 June 24, 2009 10:39


All times are GMT -4. The time now is 06:42.