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

inner product of two vectors in OpenFoam

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

Like Tree2Likes
  • 2 Post By nimasam

Reply
 
LinkBack Thread Tools Display Modes
Old   May 29, 2012, 19:28
Default inner product of two vectors in OpenFoam
  #1
Member
 
pooyan
Join Date: Nov 2011
Posts: 61
Rep Power: 4
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, 03:47
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,063
Blog Entries: 1
Rep Power: 13
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
yes, it depends on the operator between two! vector , if it is inner product, then
it would be fvc::grad(epsilon) & fvc::grad(epsilon)
mm.abdollahzadeh and sam1364 like this.
nimasam is offline   Reply With Quote

Reply

Thread Tools
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 On
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 13:14
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 21:07
OpenFOAM Training and Workshop Hrvoje Jasak Main CFD Forum 0 October 7, 2005 07:14


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