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

VolTensorField

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By eugene

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2006, 06:26
Default Hi, everyone! I need to use i
  #1
Member
 
Efimenko Evgenii
Join Date: Mar 2009
Location: Nizhnij Novgorod, Russia
Posts: 52
Rep Power: 17
evgenii is on a distinguished road
Hi, everyone!
I need to use in my program tensor field. How to create a zero volTensorField in OpenFoam?
I've tried some variants but failed.
Hopefully
Eugene
evgenii is offline   Reply With Quote

Old   February 22, 2006, 06:50
Default And this template goes for all
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
And this template goes for all field types

volTensorField fieldName
(
IOobject
(
"fileName",
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE
),
mesh,
dimentionedTensor("name", dimensionSet(0,0,0,0,0,0,0), //correct dimensions here
tensor::zero)
);

The default boundary types are "calculated"
pedramtx and Alee reza like this.
eugene 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
Taking the absolute value of a volVectorField or a volTensorField kupiainen OpenFOAM 3 July 25, 2019 14:00
How to get the Diagonal elements of volTensorField su_junwei OpenFOAM Running, Solving & CFD 0 December 1, 2008 11:29
VolTensorField Gamma in laplacian haibinli OpenFOAM Running, Solving & CFD 0 May 17, 2007 02:45


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