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

How to Plot Eddies in Paraview :)

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

Like Tree12Likes
  • 2 Post By zhernadi
  • 1 Post By Alhasan
  • 2 Post By immortality
  • 1 Post By zhernadi
  • 5 Post By wyldckat
  • 1 Post By Alhasan

Reply
 
LinkBack Thread Tools Display Modes
Old   June 10, 2013, 17:00
Default How to Plot Eddies in Paraview :)
  #1
Senior Member
 
Alhasan's Avatar
 
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 181
Rep Power: 5
Alhasan is on a distinguished road
Hey All,

i am Trying to get eddies for LES case on my paraview in openFOAM

- i switched the contours on !! no help and i dunno where to go what to do get the eddies like the ones i have attached in the image

Please help

Thanks for your time

Hasan K.J
Attached Images
File Type: jpg Screen Shot 2013-05-13 at 19.44.23.jpg (36.8 KB, 201 views)
Alhasan is online now   Reply With Quote

Old   June 11, 2013, 08:12
Default vortex detection criteria
  #2
New Member
 
Zoltan Hernadi
Join Date: Jul 2010
Posts: 12
Rep Power: 6
zhernadi is on a distinguished road
Dear Hasan,

It depends on the vortex detection criteria. You may try using Q utility to generate second invariant of the velocity gradient tensor and visualize a contour of this field. Other option is using Lambda2 utility. But there are other vortex detection criteria as well. I hope this helps.

Zoltan
Alhasan and rajibroy like this.
zhernadi is offline   Reply With Quote

Old   June 12, 2013, 21:33
Default Where is Q utility and Lambda 2 utility
  #3
Senior Member
 
Alhasan's Avatar
 
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 181
Rep Power: 5
Alhasan is on a distinguished road
Hey Zoltan,

I am not able to find these two utilities the Q utility and Lambda 2 utility ?

- please can u tell where the option is in paraview ?
- i searched i am not able to locate it

Thanks

Regards,
Hasan K.J
nanavati likes this.
Alhasan is online now   Reply With Quote

Old   June 13, 2013, 01:19
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
hi
Execute the commands in terminal.
Alhasan and fportela like this.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 13, 2013, 02:25
Default
  #5
New Member
 
Zoltan Hernadi
Join Date: Jul 2010
Posts: 12
Rep Power: 6
zhernadi is on a distinguished road
In addition to Ehsan's help, you might be interested in this list of OpenFOAM utilities:
http://openfoam.org/docs/user/standard-utilities.php
Alhasan likes this.
zhernadi is offline   Reply With Quote

Old   June 13, 2013, 16:41
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
Hi hasan
could you see the vortices?could you attach them?
I used lambda2 and Q without sucess.not any vortices are displayed!
Attached Images
File Type: jpg Lambda.jpg (11.5 KB, 152 views)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 13, 2013, 16:49
Default
  #7
Senior Member
 
Alhasan's Avatar
 
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 181
Rep Power: 5
Alhasan is on a distinguished road
No... i havent tried it yet ? but does it actually make a difference if its LES or RAS case...?
Alhasan is online now   Reply With Quote

Old   June 13, 2013, 17:02
Default
  #8
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
i don't think it has a lot of effect on vortices.
what your opinion dear Zoltan?how could I set a contour for labda or Q?is the wide range normal in your opinion?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 13, 2013, 20:04
Exclamation Lambda2 error
  #9
Senior Member
 
Alhasan's Avatar
 
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 181
Rep Power: 5
Alhasan is on a distinguished road
Hey guys,
My life is never simple and i will never get used to it

- i typed Q and it worked fine with my case
- then i typed Lambda2 and i get this error does any body know what this error means and whats causing it

- and Ehsan if you manage to get the eddies please let me know

Regards,
Hasan K.J.

and it works only for last time with some warning

Create mesh for time = 10000

Time = 10000
Reading U
--> FOAM Warning :
From function eigenValues(const tensor&)
in file primitives/Tensor/tensor/tensor.C at line 174
complex eigenvalues detected for tensor: (1902.57 7.65293e-07 -0.000402738 7.65293e-07 1902.57 3.34481e-05 -0.000402738 3.34481e-05 4.34386e-10)
--> FOAM Warning :
From function eigenValues(const tensor&)
in file primitives/Tensor/tensor/tensor.C at line 174
complex eigenvalues detected for tensor: (1902.57 7.65152e-07 -0.000250995 7.65152e-07 1902.57 2.85284e-05 -0.000250995 2.85284e-05 1.62937e-09)
--> FOAM Warning :
From function eigenValues(const tensor&)
in file primitives/Tensor/tensor/tensor.C at line 174
complex eigenvalues detected for tensor: (1902.57 7.65293e-07 0 7.65293e-07 1902.57 0 0 0 2.587e-09)
Writing -Lambda2

End

Create time

Create mesh for time = 0

Time = 0
Reading U
#0 Foam::error:rintStack(Foam::Ostream&) in "/panfs/storage/local/non-commercial/OpenFOAM/OpenFOAM-SGISLES11-2.1.X_X8664_21JUNE12_REPO/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/panfs/storage/local/non-commercial/OpenFOAM/OpenFOAM-SGISLES11-2.1.X_X8664_21JUNE12_REPO/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
#2 in "/lib64/libc.so.6"
#3 acos in "/lib64/libm.so.6"
#4 Foam::eigenValues(Foam::Tensor<double> const&) in "/panfs/storage/local/non-commercial/OpenFOAM/OpenFOAM-SGISLES11-2.1.X_X8664_21JUNE12_REPO/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
#5 Foam::eigenValues(Foam::Field<Foam::Vector<double> >&, Foam::UList<Foam::Tensor<double> > const&) in "/panfs/storage/local/non-commercial/OpenFOAM/OpenFOAM-SGISLES11-2.1.X_X8664_21JUNE12_REPO/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
#6
in "/panfs/storage/local/non-commercial/OpenFOAM/OpenFOAM-SGISLES11-2.1.X_X8664_21JUNE12_REPO/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/bin/Lambda2"
#7
in "/panfs/storage/local/non-commercial/OpenFOAM/OpenFOAM-SGISLES11-2.1.X_X8664_21JUNE12_REPO/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/bin/Lambda2"
#8
in "/panfs/storage/local/non-commercial/OpenFOAM/OpenFOAM-SGISLES11-2.1.X_X8664_21JUNE12_REPO/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/bin/Lambda2"
#9
in "/panfs/storage/local/non-commercial/OpenFOAM/OpenFOAM-SGISLES11-2.1.X_X8664_21JUNE12_REPO/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/bin/Lambda2"
#10 __libc_start_main in "/lib64/libc.so.6"
#11
at /usr/src/packages/BUILD/glibc-2.11.3/csu/../sysdeps/x86_64/elf/start.S:116
Floating point exception
Alhasan is online now   Reply With Quote

Old   June 13, 2013, 20:42
Unhappy No Luck
  #10
Senior Member
 
Alhasan's Avatar
 
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 181
Rep Power: 5
Alhasan is on a distinguished road
Hey guys,

the maximum i can get to with my only working Q utility is this much
i tried contours with the Q selected nothing works ?

- if anybody manages to get it or know how to get it please help us

thanks

Regards,
Hasan K.J
Attached Images
File Type: jpg Screen Shot 2013-06-14 at 01.42.23.jpg (12.3 KB, 131 views)
Alhasan is online now   Reply With Quote

Old   June 14, 2013, 02:42
Default
  #11
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
how should set contour settings for a good figure?
its a test case.
whats the stages to see vortices contours?
thanks.
Attached Files
File Type: gz for_test3.tar.gz (5.8 KB, 21 views)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.

Last edited by immortality; June 16, 2013 at 11:57.
immortality is offline   Reply With Quote

Old   June 16, 2013, 12:22
Default
  #12
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

OK, using Ehsan's test case, here's what's going on: you are being blind-sighted by the maximum values. You need to change the scales down to lower values, such as [-200000, 200000], as shown in the 1st attached image.

If you don't know how to change the scale, read this post: Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 - post #2.

As for contours, from the menu, choose "Filters -> Alphabetical -> Contour". Then configure as shown in the second image.

Best regards,
Bruno
Attached Images
File Type: jpg example_at_3.0e-05.jpg (21.6 KB, 162 views)
File Type: jpg Screenshot from 2013-06-16 17:20:15.jpg (45.5 KB, 140 views)
wyldckat is offline   Reply With Quote

Old   December 2, 2013, 20:37
Default
  #13
New Member
 
Join Date: Aug 2012
Posts: 2
Rep Power: 0
youjingxuanlin is on a distinguished road
hi, Alhasan
Have you solved the error with Lambda2? if so, please tell me how to solve it? thanks
youjingxuanlin is offline   Reply With Quote

Old   December 3, 2013, 10:16
Default
  #14
Senior Member
 
Alhasan's Avatar
 
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 181
Rep Power: 5
Alhasan is on a distinguished road
Quote:
Originally Posted by youjingxuanlin View Post
hi, Alhasan
Have you solved the error with Lambda2? if so, please tell me how to solve it? thanks
Hi Youjing,

The problem i had was sorted when i put the right value for the Q criterion that i was trying to get on paraView

- First you use the Command and get the Q or Lambda2 from openFOAM

- then you paraView and select the contour botton and apply
- then select the Lambda2 within the Contour dialogue box
- then choose the right range or value, - if you dunno the right range play with the values till you get what you are looking for

All the Best,
Hasan K.J
wyldckat likes this.
Alhasan is online now   Reply With Quote

Old   December 5, 2013, 20:47
Default
  #15
New Member
 
Join Date: Aug 2012
Posts: 2
Rep Power: 0
youjingxuanlin is on a distinguished road
Quote:
Originally Posted by Alhasan View Post
Hi Youjing,

The problem i had was sorted when i put the right value for the Q criterion that i was trying to get on paraView

- First you use the Command and get the Q or Lambda2 from openFOAM

- then you paraView and select the contour botton and apply
- then select the Lambda2 within the Contour dialogue box
- then choose the right range or value, - if you dunno the right range play with the values till you get what you are looking for

All the Best,
Hasan K.J
Thanks for your fast reply, i think i can solve it now!
youjingxuanlin 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
plot temperature vs time in paraview - chtMultiRegionFoam phsieh2005 OpenFOAM Paraview & paraFoam 2 March 16, 2014 07:50
XY curved plot with Paraview nunoloureiro OpenFOAM 16 August 26, 2013 13:16
Ubuntu 12.10 + openfoam2.2.0 ==> paraview error message peteryuan OpenFOAM Installation 6 August 18, 2013 18:00
plot particles and animation in paraview phsieh2005 OpenFOAM Paraview & paraFoam 1 July 26, 2013 05:35
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 04:56.