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

Support for third rank tensors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2014, 03:44
Default Support for third rank tensors
  #1
Member
 
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 60
Rep Power: 17
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

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
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 07:21


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