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

VolTensorField

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 22, 2006, 05: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: 7
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, 05:50
Default And this template goes for all
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 724
Rep Power: 11
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"
eugene 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
How to get the Diagonal elements of volTensorField su_junwei OpenFOAM Running, Solving & CFD 0 December 1, 2008 10:29
VolTensorField Gamma in laplacian haibinli OpenFOAM Running, Solving & CFD 0 May 17, 2007 01:45
Taking the absolute value of a volVectorField or a volTensorField kupiainen OpenFOAM 1 September 16, 2005 07:22


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