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

Field FUnction

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 6, 2016, 23:08
Default Field FUnction
  #1
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

($DynamicViscosity*grad($$Velocity[0]))

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, 16:57
Default
  #2
Senior Member
 
Matt
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

Reply

Tags
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 91 December 21, 2022 05:50
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 08:15
problems after decomposing for running alessio.nz OpenFOAM 7 March 5, 2021 05:49
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59


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