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

how to calculate mixed derivative

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mitti

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2013, 14:39
Default how to calculate mixed derivative
  #1
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
Dear Foamers,
Is there any way to compute second order mixed derivatives ?

But different than using twice grad operator ?

Thanks !
ZMM
ziemowitzima is offline   Reply With Quote

Old   February 15, 2013, 15:03
Default
  #2
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17
ziemowitzima is on a distinguished road
e.g.
could mixed derivative as:
\frac{\partial^2 f}{\partial x \partial y}
be calculated using fvc::laplacian method, as follows:
HTML Code:
nu = (0 1 0 0 0 0 0 0 0 ); 
fvc::laplacian(nu,f)
??

It does something, but I am not sure what ...

Thanks
ZMM
ziemowitzima is offline   Reply With Quote

Old   June 5, 2018, 15:19
Default
  #3
New Member
 
Join Date: Nov 2016
Posts: 15
Rep Power: 10
mitti is on a distinguished road
Did you found any solution for this problem?

Or can anyone else give a hint how to implement it for e.g. a scalar and a vector?
ali moeni likes this.
mitti is offline   Reply With Quote

Old   June 27, 2023, 05:30
Default
  #4
New Member
 
Join Date: Oct 2021
Posts: 5
Rep Power: 5
ali moeni is on a distinguished road
Hey, I've been studying turbulence models for some time and I came across this issue. I know it's a little late, but it's better than never.

for a similar second-order mixed derivative of velocity, turbulence Models use :

fvc::magSqrGradGrad(U))

however Im not 100% sure.
ali moeni is offline   Reply With Quote

Reply

Tags
mixed derivatives


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
Derivative of a scalar or a variable through UDF fevi84 Fluent UDF and Scheme Programming 7 February 3, 2015 22:39
How to calculate turbulent shear stresses danielec87 OpenFOAM 0 August 30, 2012 19:25
Derivative in CFD-Post fevi84 ANSYS 0 August 2, 2012 17:29
discontinuous second derivative new_at_this Main CFD Forum 9 April 28, 2012 17:55
how to calculate velocity's second derivative kian OpenFOAM Running, Solving & CFD 1 August 6, 2009 03:07


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