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

How to draw vortex by paraview?

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

Like Tree1Likes
  • 1 Post By seju

Reply
 
LinkBack Thread Tools Display Modes
Old   April 23, 2014, 02:51
Default How to draw vortex by paraview?
  #1
New Member
 
Shiwei Fan
Join Date: Apr 2014
Location: China
Posts: 9
Rep Power: 3
Wais is on a distinguished road
Send a message via Skype™ to Wais
I use openFoam to run a multiphase case, but the code doesn't put out the data of vortex, how can I draw vortex by paraview?
Wais is offline   Reply With Quote

Old   April 23, 2014, 04:19
Default
  #2
Member
 
sajad
Join Date: Aug 2013
Posts: 64
Rep Power: 3
seju is on a distinguished road
Quote:
Originally Posted by Wais View Post
I use openFoam to run a multiphase case, but the code doesn't put out the data of vortex, how can I draw vortex by paraview?
dear Wais
you can add this code into creatFields and see the vorticity:
Code:
volVectorField vorticity
    (
        IOobject
        (
            "vorticity",
            runTime.timeName(),
            mesh,
            IOobject::NO_READ,
            IOobject::AUTO_WRITE
        ),
        curl U
    );
or you can Add "curl(U) leastSquares;" into gradSchemes block (fvSchemes dictionary). After that, you run the utility 'vorticity'
seju is offline   Reply With Quote

Old   April 23, 2014, 04:54
Default
  #3
New Member
 
Shiwei Fan
Join Date: Apr 2014
Location: China
Posts: 9
Rep Power: 3
Wais is on a distinguished road
Send a message via Skype™ to Wais
I think the two methods calculate the vorticity, and I want to know how to put out vorticity? Maybe I will add vorticity file to 0 folder?
Wais is offline   Reply With Quote

Old   April 24, 2014, 00:08
Default
  #4
Member
 
sajad
Join Date: Aug 2013
Posts: 64
Rep Power: 3
seju is on a distinguished road
Quote:
Originally Posted by Wais View Post
I think the two methods calculate the vorticity, and I want to know how to put out vorticity? Maybe I will add vorticity file to 0 folder?
you must go to the fvSchemes in system folder and add
Code:
curl(U) leastSquares;
into gradSchemes block
After Run your case type in terminal:
Code:
vorticity > Vortex
know you can see mount of the vorticity in Vortex in your run folder.
best regards.
Wais likes this.
seju is offline   Reply With Quote

Old   April 24, 2014, 05:08
Default
  #5
New Member
 
Shiwei Fan
Join Date: Apr 2014
Location: China
Posts: 9
Rep Power: 3
Wais is on a distinguished road
Send a message via Skype™ to Wais
Quote:
Originally Posted by seju View Post
you must go to the fvSchemes in system folder and add
Code:
curl(U) leastSquares;
into gradSchemes block
After Run your case type in terminal:
Code:
vorticity > Vortex
know you can see mount of the vorticity in Vortex in your run folder.
best regards.
I will try, thanks for your reply!
Wais is offline   Reply With Quote

Old   April 24, 2014, 08:31
Default
  #6
New Member
 
Shiwei Fan
Join Date: Apr 2014
Location: China
Posts: 9
Rep Power: 3
Wais is on a distinguished road
Send a message via Skype™ to Wais
Quote:
Originally Posted by seju View Post
you must go to the fvSchemes in system folder and add
Code:
curl(U) leastSquares;
into gradSchemes block
After Run your case type in terminal:
Code:
vorticity > Vortex
know you can see mount of the vorticity in Vortex in your run folder.
best regards.
It works.Thanks very much.
Wais is offline   Reply With Quote

Old   April 24, 2014, 08:51
Default
  #7
New Member
 
Shiwei Fan
Join Date: Apr 2014
Location: China
Posts: 9
Rep Power: 3
Wais is on a distinguished road
Send a message via Skype™ to Wais
Quote:
Originally Posted by seju View Post
you must go to the fvSchemes in system folder and add
Code:
curl(U) leastSquares;
into gradSchemes block
After Run your case type in terminal:
Code:
vorticity > Vortex
know you can see mount of the vorticity in Vortex in your run folder.
best regards.
Could I draw vortex by lambda 2 method?
Wais 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
The software to draw the evolution of 3D vortex graph yuyuxuan FLUENT 1 January 7, 2014 03:23
how to draw velocity with direction in paraView? immortality OpenFOAM Running, Solving & CFD 5 January 7, 2013 16:26
Presenation of vortex strength and velocity concept? fruitkiwi Main CFD Forum 0 September 26, 2012 22:08
How to draw a time changing vector in paraview bigphil OpenFOAM Paraview & paraFoam 0 December 5, 2009 10:28
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


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