CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Possibility to transport a Matrix?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 9, 2012, 07:55
Default Possibility to transport a Matrix?
  #1
Member
 
Hai Yu
Join Date: Mar 2009
Location: OvgU, Magdeburg
Posts: 65
Rep Power: 7
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, 09:48
Default
  #2
Member
 
Artem Shaklein
Join Date: Feb 2010
Location: Russia, Izhevsk
Posts: 43
Rep Power: 6
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, 12:34
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,889
Rep Power: 38
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

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
Free Surface Flow with Sediment Transport M. Riffai CFX 3 September 5, 2013 10:45
Force can not converge colopolo CFX 13 October 4, 2011 23:03
Is it possible to use divergence in the source term of an scalar transport equation? jannnesss CFX 0 January 8, 2010 20:53
OpenFOAM version 1.6 details lakeat OpenFOAM Running, Solving & CFD 42 August 26, 2009 22:47
Re: Can I simulate sediment transport with FLUENT li li FLUENT 0 October 21, 2003 21:42


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