CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

calcFvcGrad

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2016, 21:57
Default
  #21
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
Hi,

I am simulating a droplet falling in a chamber. I need to have gradient of velocity filed in the whole domain and the corresponding coordination of them since I need to plot velocity gradient versus 3D location. I have used calcFvcGrad for Ug. As this is based on the center of cells I need to know the coordination of each cell centre. I have used writeCellCentres. But the number of cell centers are not the same as Ugs. I suppose that Ug is just for internal flow and cell centers are for the whole domain. I hope it make sense.

Thanks.
Elham is offline   Reply With Quote

Old   March 28, 2016, 15:14
Default
  #22
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Elham,

Sorry, but only now did I finally manage to take a look into your questions.
Fortunately I see that you've already solved your problem on another thread of yours: http://www.cfd-online.com/Forums/ope...e-control.html

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 29, 2016, 22:45
Default
  #23
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
Dear Bruno,

Yes I did it. No worries.

Elham
Elham is offline   Reply With Quote

Old   April 19, 2016, 05:26
Default shear stress profile using calcFvcGrad - U -
  #24
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 157
Rep Power: 16
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
Hi

I am trying to get the shear stress profile in a cross section using stress = mu * (du/dr). Solver used is simpleFoam.

I used " calcFvcGrad " on the U field (as shown by bruno in earlier posts) which gave me 8 velocity gradients!!! But the shear stress reproduced using one of the U fields matches at the wall with the value given by "wallShearStress" tool.

My doubt is what are the 8 gradients referring to. Also please let me know if the method i followed to obtain shear stress is flawed in any manner.

I have attached the file generated by calcFvcGrad (I have added shear stress calculation in the same file)

My geometry is a concentric annulus as show below in which i need the shear stress profile in a cross section.



Thanks a lot
Regards
AK
Attached Files
File Type: xlsx Ug0.xlsx (13.6 KB, 0 views)
Ananthakrishnan is offline   Reply With Quote

Old   April 22, 2016, 04:40
Default
  #25
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
Dear Ak,

Just as a quick reply, I remember that all of them together construct gradient of the flowfield. If you read the header of the gradient file you will see that you have 9 components for gradient if you are doing 3 dimensional analysis of probably 4 if you are doing 2 dimensional.
Elham is offline   Reply With Quote

Old   April 22, 2016, 04:52
Default
  #26
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 157
Rep Power: 16
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
Hi,

Oh yes there are 9 field(0 to 8)..thanks a lot for the clarification.
Elham likes this.
Ananthakrishnan is offline   Reply With Quote

Old   April 7, 2022, 11:19
Default
  #27
Member
 
Ardalan
Join Date: Jul 2012
Location: Atlanta, USA
Posts: 77
Rep Power: 14
Ardali is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi f0208secretx,

I was intrigued by this crash and I've finally managed to take the time to diagnose and find a fix for this problem. The bug and fix has been reported here: http://www.openfoam.org/mantisbt/view.php?id=1828

Best regards,
Bruno
Hi Bruno,

FYI: That bug still exists in OF2006
Bests,
Ardalan
Ardali 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



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