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

diagonal tensorfield

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2016, 11:32
Default diagonal tensorfield
  #1
Senior Member
 
Daniel Witte
Join Date: Nov 2011
Posts: 148
Rep Power: 15
danny123 is on a distinguished road
Hello,

I want to create a tensorfield from vectorfield, which is diagonal (the tensorfield) then invert it. Thus, my thinking is maybe I can write the vector directly into the tensor using the diagTensorField object. Something like:

Code:
voldiagTensorField Diag_ten ("Diag_ten",Vec);
(Vec shall be a volVectorField).

This does not seem to work (voldiagTensorField« wurde in diesem Gültigkeitsbereich nicht definiert), meaning this does not exists, I guess.

Any ideas?

Regards,

Daniel
danny123 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
Problem about Rotor simulation whit high rotating speed Thomas pan OpenFOAM Running, Solving & CFD 4 June 20, 2018 07:24
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 05:13
why divergence occures in these cases immortality OpenFOAM Running, Solving & CFD 2 January 25, 2013 11:21
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 13:50


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