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

Possibility to transport a Matrix?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2012, 06:55
Default Possibility to transport a Matrix?
  #1
Member
 
Hai Yu
Join Date: Mar 2009
Location: Harbin
Posts: 67
Rep Power: 17
yuhai is on a distinguished road
Dear Friends,

I want to introduct a new 3x3 elements variable Matrix into pimpleFoam or pisoFoam by transport equation. (noncoupled)
the basis equation is (in reality it is more complex):

ddt(S)
+(U.grad)S
=f1(grad(U).S+S.grad(U))

in the equation, S is the 3x3 element matrix.

Is it possible?

Thanks!
yuhai is offline   Reply With Quote

Old   July 9, 2012, 08:48
Default
  #2
Member
 
Artem Shaklein
Join Date: Feb 2010
Location: Russia, Izhevsk
Posts: 43
Rep Power: 16
ARTem is on a distinguished road
Hello, yuhai.
I haven't used it yet, but have you tried volTensorField or volSymmTensorField?
Typedef, given in src » finiteVolume » fields » volFields » volFieldsFwd.H:
typedef GeometricField<symmTensor, fvPatchField, volMesh> volSymmTensorField;
typedef GeometricField<tensor, fvPatchField, volMesh> volTensorField;
And detailed description of available operations with tensors and symmTensors is given in ProgrammersGuide at p. 15 and below (you can easily google and download it).
ARTem is offline   Reply With Quote

Old   July 9, 2012, 11:34
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by ARTem View Post
Hello, yuhai.
I haven't used it yet, but have you tried volTensorField or volSymmTensorField?
Typedef, given in src » finiteVolume » fields » volFields » volFieldsFwd.H:
typedef GeometricField<symmTensor, fvPatchField, volMesh> volSymmTensorField;
typedef GeometricField<tensor, fvPatchField, volMesh> volTensorField;
And detailed description of available operations with tensors and symmTensors is given in ProgrammersGuide at p. 15 and below (you can easily google and download it).
Yep. Tensor is the way to go. And yes: it works. Some turbulence models rely on transporting tensors
gschaider 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
Free Surface Flow with Sediment Transport M. Riffai CFX 3 September 5, 2013 09:45
Force can not converge colopolo CFX 13 October 4, 2011 22:03
Is it possible to use divergence in the source term of an scalar transport equation? jannnesss CFX 0 January 8, 2010 19:53
OpenFOAM version 1.6 details lakeat OpenFOAM Running, Solving & CFD 42 August 26, 2009 21:47
Re: Can I simulate sediment transport with FLUENT li li FLUENT 0 October 21, 2003 20:42


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