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

[OpenFOAM] How to draw vortex by paraview?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By seju

Reply
 
LinkBack Thread Tools Search this Thread 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: 12
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: 70
Rep Power: 12
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: 12
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: 70
Rep Power: 12
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.
arvindpj, Wais and bingchuan like 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: 12
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: 12
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: 12
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


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] Paraview doesn't seem to be picking up data generated by icofoam MikeHersee ParaView 2 January 6, 2015 08:27
[General] Reading Fluent gzip-compressed files to ParaView larsschwarzer ParaView 4 August 8, 2014 04:12
[OpenFOAM] No eye icon when using ParaView with OpenFOAM rmvega ParaView 0 July 2, 2014 09:59
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 07:11
[OpenFOAM] Distributed ParaView and PV3FoamReader micalil ParaView 4 July 1, 2010 05:09


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