CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Field FUnction

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 6, 2016, 22:08
Default Field FUnction
New Member
Akshay Bagi
Join Date: Feb 2013
Posts: 17
Rep Power: 13
akshaybagi is on a distinguished road
Hi, I want to create a field function to measure the shear stress in a fluid flow. I have written a field function but it is not giving me proper values.
The function is


I want to use the value from this function to refine my mesh - basically I want to refine mesh wherever the value of shear stress is above some threshold value. When I do the refinement, I cant see any change from the previous mesh.
For mesh refinement, my function is

(mag2($DynamicViscosity * grad($$Velocity[0]))>1.0e-6)?0.75:0

What this does is it changes the cell size to 0.75 wherever the value of the function is greater than 1.0e-6. But I dont see any refinement using this function.

Please help.
akshaybagi is offline   Reply With Quote

Old   January 11, 2016, 15:57
Senior Member
Join Date: Aug 2014
Posts: 947
Rep Power: 17
fluid23 is on a distinguished road
Have you done a scalar plot of your field function to verify that there are values greater than 1.0e-6? Also verify that the units are correct. That could screw things up as well.
fluid23 is offline   Reply With Quote


field function refinement, shear stress, star ccm+

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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 07:56
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 07:15
problems after decomposing for running OpenFOAM 7 March 5, 2021 04:49
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 06:59

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