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

inner product of two vectors in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 7 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2012, 20:28
Default inner product of two vectors in OpenFoam
  #1
Member
 
pooyan
Join Date: Nov 2011
Posts: 62
Rep Power: 15
sam1364 is on a distinguished road
Hi,

I have a mathematical operation in the form of (depsilon/dxi*depsilon/dxi) in which d(epsilon)/dxi is the gradient of epsilon. So, I have a inner product of two gradient vectors?!
Can I show this inner product as the follwoing way?!

fvc(grad(epsilon))&fvc(grad(epsilon))
sam1364 is offline   Reply With Quote

Old   May 30, 2012, 04:47
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
yes, it depends on the operator between two! vector , if it is inner product, then
it would be fvc::grad(epsilon) & fvc::grad(epsilon)
nimasam 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
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 14:14
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 14:50
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 22:07
OpenFOAM Training and Workshop Hrvoje Jasak Main CFD Forum 0 October 7, 2005 08:14


All times are GMT -4. The time now is 21:44.