CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

gradient of a tensor

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2019, 06:38
Default gradient of a tensor
  #1
Member
 
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 16
EmadTandis is on a distinguished road
Hi all,
I need to evaluate "u.grad(B)" where u is velocity vector and B is a second order tensor. But I faced an error says gradient of tensor cannot be evaluated. Do you have any suggestion to evaluate the term?
EmadTandis is offline   Reply With Quote

Old   February 12, 2019, 09:15
Default
  #2
Senior Member
 
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13
massive_turbulence is on a distinguished road
Quote:
Originally Posted by EmadTandis View Post
Hi all,
I need to evaluate "u.grad(B)" where u is velocity vector and B is a second order tensor. But I faced an error says gradient of tensor cannot be evaluated. Do you have any suggestion to evaluate the term?
If you can take the derivative of each component of the 2nd order tensor that would probably work! You would need to do some extra coding on your part.

From: Calculation of Gradient of a Tensor (Stress) in Cylindrical Coordinates in openFoam

"Unfortunately I didn't find any solution, however I defined some volScalarField for every component of stress tensor separately and then calculated the derivative of them."
massive_turbulence is offline   Reply With Quote

Old   February 7, 2021, 18:03
Default
  #3
New Member
 
roozbeh
Join Date: Oct 2011
Posts: 8
Rep Power: 15
roozbeh_s is on a distinguished road
Quote:
Originally Posted by EmadTandis View Post
Hi all,
I need to evaluate "u.grad(B)" where u is velocity vector and B is a second order tensor. But I faced an error says gradient of tensor cannot be evaluated. Do you have any suggestion to evaluate the term?
Dear Emad,
have you found any solution to take a gradient of a tensor?
roozbeh_s is offline   Reply With Quote

Reply

Tags
gradient, voltensorfield


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
pisoFOAM (LES) - internal pipe flow - convergence gu1 OpenFOAM Running, Solving & CFD 0 January 11, 2018 17:39
question regarding LES of pipe flow - pimpleFoam Dan1788 OpenFOAM Running, Solving & CFD 37 December 26, 2017 15:42
Periodic flow using Cyclic - comparison with Fluent nusivares OpenFOAM Running, Solving & CFD 30 December 12, 2017 06:35
wmake libso error while compiling library for dynamic mesh Naveed Salman OpenFOAM Programming & Development 3 August 28, 2017 21:53
About deformation gradient tensor ZHANG Main CFD Forum 0 June 18, 2007 13:51


All times are GMT -4. The time now is 06:51.