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

Peclet number does not appear in ParaView

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 9, 2010, 03:52
Default Peclet number does not appear in ParaView
  #1
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 8
idrama is on a distinguished road
Hello Foamers!

I ran an icoFoam case and afterwards the Pe tool. I wanted to visualize Pe in ParaView I notice that I have no access to fields. I would like to see them, what do I do?

Cheers in advance
idrama is offline   Reply With Quote

Old   July 9, 2010, 06:09
Default
  #2
New Member
 
Join Date: May 2010
Location: Cologne
Posts: 27
Rep Power: 7
marcbest is on a distinguished road
hi claus,

i think you can only see Pe as Vector arrows. To do this you have to type

foamToVTK -surfaceFields

then start paraview and open VTK/surcfaceFields, then "Apply" and Filters/Common/Glyph or simply click the "Glyph" button, after this you can see the vectors of Pe...


i hope this helps

Last edited by marcbest; July 9, 2010 at 06:52.
marcbest is offline   Reply With Quote

Old   July 9, 2010, 07:27
Default
  #3
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 8
idrama is on a distinguished road
Hello marcbest,

thanks for you advice which had worked, but this way is unsatisfactory, because such an effort must be made. I keep looking for an better solution; probaly the code has to be rewritten.

Cheers
idrama is offline   Reply With Quote

Old   July 9, 2010, 12:51
Default
  #4
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
Hi
why don't you try to add peclet number in creatFields.H? as a variable which it shouldn't be read but it should be write ????
nimasam is offline   Reply With Quote

Old   July 10, 2010, 04:17
Default
  #5
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 8
idrama is on a distinguished road
Hi,

what you mean by that? Do you mean to cope the problem by using volScalarField? Currently, I am trying either, but the problem is: I do not know how to compute the measure of the cells, i.e.

Let U, nu and nut be given then

volScalarField Pe
(
IOobject
(
"Pe",
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE
),
mag(U)/(nu+nut)*"What"
)

What can I insert for "What"?

Cheers
idrama is offline   Reply With Quote

Old   July 10, 2010, 04:20
Default
  #6
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 8
idrama is on a distinguished road
Additionally, I should mention that I am only interesting in Navier-Stokes convection-dominated flows.
idrama is offline   Reply With Quote

Old   July 10, 2010, 07:17
Default
  #7
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
hi friend
one way can be to enter characteristic length, through Dic by "readScalar" function
then put this length instead of "what" but im not sure!!!
nimasam is offline   Reply With Quote

Old   September 15, 2010, 11:56
Default
  #8
New Member
 
Join Date: Jul 2010
Posts: 17
Rep Power: 6
alf12 is on a distinguished road
Quote:
I keep looking for an better solution; probaly the code has to be rewritten.
You may have a look at the Co utility, it outputs a volScalarField from a surfaceScarlarField. This could be adapted to the Pe utility
alf12 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
Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Mesh Utilities 41 January 17, 2013 03:43
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 10:37
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15


All times are GMT -4. The time now is 23:37.