CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] How to Plot Eddies in Paraview :)

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

Like Tree15Likes
  • 2 Post By zhernadi
  • 1 Post By Alhasan
  • 2 Post By immortality
  • 1 Post By zhernadi
  • 7 Post By wyldckat
  • 2 Post By Alhasan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2013, 18: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: 200
Rep Power: 15
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, 766 views)
Alhasan is offline   Reply With Quote

Old   June 11, 2013, 09:12
Default vortex detection criteria
  #2
New Member
 
Zoltan Hernadi
Join Date: Jul 2010
Posts: 12
Rep Power: 15
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, 22: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: 200
Rep Power: 15
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 offline   Reply With Quote

Old   June 13, 2013, 02:19
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 03:25
Default
  #5
New Member
 
Zoltan Hernadi
Join Date: Jul 2010
Posts: 12
Rep Power: 15
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, 17:41
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 612 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, 17:49
Default
  #7
Senior Member
 
Alhasan's Avatar
 
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 200
Rep Power: 15
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 offline   Reply With Quote

Old   June 13, 2013, 18:02
Default
  #8
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 21:04
Exclamation Lambda2 error
  #9
Senior Member
 
Alhasan's Avatar
 
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 200
Rep Power: 15
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 offline   Reply With Quote

Old   June 13, 2013, 21:42
Unhappy No Luck
  #10
Senior Member
 
Alhasan's Avatar
 
Hasan K.J.
Join Date: Dec 2011
Location: Bristol, United Kingdom
Posts: 200
Rep Power: 15
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, 488 views)
Alhasan is offline   Reply With Quote

Old   June 14, 2013, 03:42
Default
  #11
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 74 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 12:57.
immortality is offline   Reply With Quote

Old   June 16, 2013, 13:22
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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: http://www.cfd-online.com/Forums/ope...tml#post429974 - 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, 604 views)
File Type: jpg Screenshot from 2013-06-16 17:20:15.jpg (45.5 KB, 532 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: 200
Rep Power: 15
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 and hulli like this.
Alhasan is offline   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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] How to plot flow rate over time with Paraview sekunda ParaView 17 July 23, 2020 14:14
[OpenFOAM] Paraview: Plot over line only displays line for untranslated data Illmatic ParaView 1 January 13, 2020 12:42
Different results using sample utility vs Paraview 'Plot over line' tool agarwa58 OpenFOAM Post-Processing 5 March 20, 2016 09:57
[General] Paraview: plot over a certain value and add axis nwpukaka ParaView 1 May 16, 2014 17:01
[OpenFOAM] Plot of different variables using Paraview subhkirti ParaView 0 December 23, 2010 06:22


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