CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

shear stress

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

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 30, 2013, 07:32
Post shear stress
  #1
New Member
 
AKHILESH S L
Join Date: Sep 2013
Location: Trivandrum
Posts: 29
Rep Power: 12
AKHILESH S L is on a distinguished road
HI EVERYONE,
i need to find the shear stress in the fluid flow. by default there is only shear strain and wall shear in the cfx post. i need to write the user defined variable for finding the shear stress. can anybody please guide me how to write a user defined variable for shear stress? (tau = mu*du/dy)
please

thanks in advance
AKHILESH S L is offline   Reply With Quote

Old   December 30, 2013, 17:04
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Do you mean you want all components of the shear stress tensor? That can be evaluated from a built in variable operator which can give the derivative of the velocity vector (eg velocity.grad_x).
ghorrocks is offline   Reply With Quote

Old   December 31, 2013, 02:03
Post
  #3
New Member
 
AKHILESH S L
Join Date: Sep 2013
Location: Trivandrum
Posts: 29
Rep Power: 12
AKHILESH S L is on a distinguished road
THANKS ghorrocks
i need to calculate the total shear stress tensor itself. how can i get that? how can i input the variable which you have send? can u please explain me in a few steps please?
AKHILESH S L is offline   Reply With Quote

Old   December 31, 2013, 06:18
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
CEL are scalar variables, so to generate a tensor you need to store the components as individual variables. So you will have velocity u.grad_x, velocity u.grad_y, velocity u.grad_z, velocity v.grad_x.... etc.

And assuming your viscosity is constant you can just multiply by viscosity to get the stress tensor.

These are just standard CEL variables so you can use them as any other CEL variable. Have a look at the tutorials for examples of CEL expressions.
ghorrocks is offline   Reply With Quote

Old   December 31, 2013, 07:30
Post
  #5
New Member
 
AKHILESH S L
Join Date: Sep 2013
Location: Trivandrum
Posts: 29
Rep Power: 12
AKHILESH S L is on a distinguished road
thank u ghorrocks,
can i ask you something? can i get shear stress by multiplying the shear strain (which is already available in CFX post) with dynamic viscosity? tau = mu*(du/dy)?
this is more simple way na? if is possible how can i write a user defined variable for shear stress in terms of "mu" and shear strain?
can you help me in writing this code?
AKHILESH S L is offline   Reply With Quote

Old   December 31, 2013, 07:34
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This is really basic CEL expressions - have a look at the tutorials for how to do this.

An expression something like ShearStress_u_x = velocity u.grad_x will do it, then repeat with the other combinations of u/v/w, x/y/z for all the other tensor components.
sassi likes this.
ghorrocks is offline   Reply With Quote

Reply

Tags
shear stress

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
Shear Stress Calculation in the flow. auburnuser FLOW-3D 11 May 12, 2018 14:49
Fluid wall shear stress Sinead Kelly (Kelly) OpenFOAM Running, Solving & CFD 2 March 30, 2011 07:41
shear stress scalar definitions? Novak Elliott CFX 0 April 6, 2003 02:45
WALL SHEAR STRESS Min-Hua Wang CFX 0 April 3, 2002 18:40
What is the detail definition of wall shear stress zjm FLUENT 0 January 2, 2002 08:43


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