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

How to use paraview to mark something on the object

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 4, 2012, 08:13
Default How to use paraview to mark something on the object
  #1
New Member
 
Sun
Join Date: Jun 2012
Posts: 3
Rep Power: 5
notian is on a distinguished road
Hi all,
I am new for paraview, and thank in advance for all kinds of help.
My question : I am doing the visualization of a wheel rotating on the road, and want to do some marks (e.g line, circle...) on the wheel so that we can see the wheel is rotating but not just moving on the road. But I do not know how to do it. Please help me.
notian is offline   Reply With Quote

Old   June 4, 2012, 14:42
Default
  #2
Senior Member
 
Hisham's Avatar
 
Hisham El Safti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 247
Blog Entries: 10
Rep Power: 8
Hisham is on a distinguished road
Hi

You can add many objects (e.g. line, sphere, etc) to your visualization by using the sources drop-down menu.

Edit: Sorry it seems I missunderstood your question. I think after adding the source you need to open the animation view and edit the object for time or consider writing a python script.

Regards

Last edited by Hisham; June 4, 2012 at 15:02.
Hisham is offline   Reply With Quote

Old   June 4, 2012, 17:15
Default
  #3
New Member
 
Sun
Join Date: Jun 2012
Posts: 3
Rep Power: 5
notian is on a distinguished road
Quote:
Originally Posted by Hisham View Post
Hi

You can add many objects (e.g. line, sphere, etc) to your visualization by using the sources drop-down menu.

Edit: Sorry it seems I missunderstood your question. I think after adding the source you need to open the animation view and edit the object for time or consider writing a python script.

Regards
Sorry, maybe I did not describe the question clearly. I mean I want to mark something on the wheel which can also move with the wheel, i.e they move together, so that we can see the wheel is rotate on the road but not slither. Thanks.
notian is offline   Reply With Quote

Old   June 4, 2012, 17:44
Default
  #4
Senior Member
 
Hisham's Avatar
 
Hisham El Safti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 247
Blog Entries: 10
Rep Power: 8
Hisham is on a distinguished road
Hi

I don't know how to do this the "right" way, but I have a suggestion.
1. make a calculator filter that calculates a field based on the coodinates (e.g. coordsX)
2. select to view the result from this filter (just like any other field)
3. manipulate the color map to yield two colors one of them will be for a slice of the wheel and the other will be for the rest (rescale range from the desired x "end of slice" and another preceeding number that is very close)
4. run animation

Nevertheless, I am sure there is a more "humane" method

Regards
Hisham is offline   Reply With Quote

Old   June 5, 2012, 17:48
Default
  #5
New Member
 
Sun
Join Date: Jun 2012
Posts: 3
Rep Power: 5
notian is on a distinguished road
Thanks, man. But it is not what I want.
notian is offline   Reply With Quote

Old   September 26, 2012, 17:43
Default
  #6
New Member
 
nooj
Join Date: Sep 2012
Posts: 2
Rep Power: 0
nooj is on a distinguished road
Create a separate mesh file with spokes or rims in it.

Chances are you generally use the same sized wheel repeatedly, so you can re-use the same rims for multiple simulations.

Or create a separate mesh with a single vertex at one spot on the wheel, and render this vertex with a glyph of your choosing (sphere).
nooj 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
Error compiling OpenFOAM-1.6-ext Canesin OpenFOAM Installation 136 April 25, 2012 11:22
ParaView 3.8.0 problem on debian Unseen OpenFOAM Installation 4 August 16, 2010 10:26
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 04:55
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36


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