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

How to calcuate strain rate tensor in SA model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 22, 2020, 00:09
Default How to calcuate strain rate tensor in SA model
  #1
New Member
 
Join Date: Apr 2020
Posts: 11
Rep Power: 6
ranjithdj is on a distinguished road
Hi all,


I am simulating flow over a bump using SA model. I want to calculate u'v'=2*v_t*S_ij. I can get eddy viscosity (u_t=v_t/density) directly from field function. How to calculate strain rate tensor(S_ij). How to define user function for S_ij?


Thanks
Ranjith
ranjithdj is offline   Reply With Quote

Old   April 22, 2020, 14:07
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
At the bottom of the tree in tools you'll find field functions and there you can create a custom field function. There is an interactive GUI that you can use.



Or do you need help with the formula for Sij?

Last edited by LuckyTran; April 22, 2020 at 16:09.
LuckyTran is offline   Reply With Quote

Old   April 22, 2020, 15:57
Default
  #3
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
Hi Ranjith,

the strain rate is available as field function. However, its a temporary field function which is usually not stored. To get it: open the flow solver and look for the option "Temporary Storage Retained". This will make many intermittent functions available. One of them is called something like Strain Rate Modulus or Strain Rate Tensor Modulus, maybe use the search feature. It's variable name is actually ${StrainRate}.

However, the value of that function represents the total shear rate, or its magnitude, so it's only a scalar without any information about the direction.
I believe, the definition of that Modulus can be found somewhere in the theory guide as well.

If you really need to define a tensor, you might check the documentation on user field functions. In the last couple of versions the support for tensor valued operations have been extended. So you might find a short cut to your desired output

Best, Sebastian
bluebase is offline   Reply With Quote

Old   April 22, 2020, 22:30
Default
  #4
New Member
 
Join Date: Apr 2020
Posts: 11
Rep Power: 6
ranjithdj is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
At the bottom of the tree in tools you'll find field functions and there you can create a custom field function. There is an interactive GUI that you can use.



Or do you need help with the formula for Sij?
Thank you. I have doubts again.
S_ij within the boundary layer will be only the diagonal matrix right. i.e 2(∂U/∂x+∂V/∂y+∂W/∂z) or I have to take all other components.
How can I get value for ∂U/∂x or ∂V/∂x in StarCCM?
ranjithdj is offline   Reply With Quote

Old   April 23, 2020, 10:23
Default
  #5
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
Hi Ranjith,


search for "Calculating Derivatives with Vector Field Functions" in the manual.


Best, Sebastian
bluebase is offline   Reply With Quote

Old   April 23, 2020, 18:52
Default
  #6
New Member
 
Join Date: Apr 2020
Posts: 11
Rep Power: 6
ranjithdj is on a distinguished road
Quote:
Originally Posted by bluebase View Post
Hi Ranjith,

the strain rate is available as field function. However, its a temporary field function which is usually not stored. To get it: open the flow solver and look for the option "Temporary Storage Retained". This will make many intermittent functions available. One of them is called something like Strain Rate Modulus or Strain Rate Tensor Modulus, maybe use the search feature. It's variable name is actually ${StrainRate}.

However, the value of that function represents the total shear rate, or its magnitude, so it's only a scalar without any information about the direction.
I believe, the definition of that Modulus can be found somewhere in the theory guide as well.

If you really need to define a tensor, you might check the documentation on user field functions. In the last couple of versions the support for tensor valued operations have been extended. So you might find a short cut to your desired output

Best, Sebastian
Thank you, Sebastian. I got the field function by temporary storage for strain rate. Do you know how the strain rate will be calculated? So the below figure shows formula for strain rate. Is that every element of tensor should be calculated or only diagonal?
https://www.google.com/imgres?imgurl...MygMegUIARCKAg
Attached Images
File Type: jpg Strain tensor.jpg (81.6 KB, 37 views)
ranjithdj is offline   Reply With Quote

Old   April 23, 2020, 18:55
Default
  #7
New Member
 
Join Date: Apr 2020
Posts: 11
Rep Power: 6
ranjithdj is on a distinguished road
Thank you, Sebastian and LuckyTran
ranjithdj is offline   Reply With Quote

Reply


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
Target Coarsening Rate for Discrete Transfer Radiation Model canalpk CFX 0 December 23, 2018 16:02
evaporation rate in wall film vaporization model tmy CONVERGE 2 November 13, 2018 10:52
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
strain rate magnitude ahmadbakri STAR-CCM+ 1 June 3, 2010 13:03
Strain Rate in eulerian model galeazzo FLUENT 0 January 25, 2005 07:52


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