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

Implementation of product of volVectorFields model in OpenFoam 6

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2019, 05:35
Default Implementation of product of volVectorFields model in OpenFoam 6
  #1
Member
 
K
Join Date: Mar 2018
Posts: 34
Rep Power: 8
kuria is on a distinguished road
Hey Foamers


I am kind of lost while trying to implement this equation:
|\nabla\alpha|^2I - \nabla \alpha \times \nabla \alpha^T


\alpha is the volume fraction field which is a volScalarField
\nabla \alpha is a volVectorField
\nabla \alpha^T should be the transpose of the matrix that contains \nabla \alpha
And I is the identity matix

But transpose of the matrix multiplied with a original matrix would give me a scalar value which is equivalent to the square of magnitude of the vector.


Any thoughts on this or on how to implement it would be super helpful!
kuria 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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
OpenFOAM webinar: A multidimensional parallel numerical solver of ADM1 model for anae Gavin OpenFOAM Announcements from Other Sources 0 July 12, 2018 11:30
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 06:40
Simulating an aether model of EM using OpenFoam? lamare Electromagnetics 2 September 15, 2016 06:08
Adding a custom turbulence model in OpenFOAM 3.0 Sylvain OpenFOAM Programming & Development 3 July 18, 2016 09:15


All times are GMT -4. The time now is 22:47.