CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Support for third rank tensors

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

LinkBack Thread Tools Display Modes
Old   March 11, 2014, 04:44
Default Support for third rank tensors
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 48
Rep Power: 10
lhcamilo is on a distinguished road
Hi everyone,

I have been working on a solver for a reynolds stresses transport equation, which is aimed at solving each component of the said equation.

one of these components is the divergence of a third order tensor, namely: d_k( u_k u_i u_j).

My attempts to declare this third order tensor have resulted in compiling errors, which lead me to search around for implemetations of third order tensors, but I could not find that.

In fact, after googling the issue a bit I came across a 2010 post iwhich suggested that OF did not have support for such tensors, but rather each component would have to be coded in a list of scalars.

I have sort of formulated a work around but before I went there, I committed to that I was wondering if this had already been implemented in OF in some way. (Note, I had been using OF 2.0.x but I am currently compiling 2.3.x ...)

For my work around, how would I go about taking the derivative in a single direction? My work around would involve doing something like :

d_x {u_x (u_i u_j)} + d_y {u_y (u_i u_j)} + d_z {u_z (u_i u_j)}

Thanks in advance for your help
lhcamilo is offline   Reply With Quote


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
Tensors of rank 3 in openfoam comedy_tigers88 OpenFOAM Programming & Development 1 May 6, 2013 17:55
Problem running fluent with InfiniBand blackpuma FLUENT 10 August 28, 2011 01:16
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21

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