CFD Online Logo CFD Online URL
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

LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2022, 05:30
Default Help regarding field functions in star CCM+
New Member
Join Date: Dec 2022
Posts: 1
Rep Power: 0
curseitx is on a distinguished road
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.
curseitx is offline   Reply With Quote

Old   May 15, 2023, 05:13
New Member
Join Date: Mar 2019
Location: Germany
Posts: 25
Rep Power: 7
theindianlel is on a distinguished road

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


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 21:33
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
Fluent Vs Star CCM firda Main CFD Forum 3 February 26, 2011 02:51
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 04:38
A genearl question on STAR CCM nstar STAR-CCM+ 5 June 24, 2009 09:39

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