|
[Sponsors] |
[OpenFOAM] Temperature and streamlines simultaneously in paraview for wedge-typed mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 23, 2013, 12:44 |
Temperature and streamlines simultaneously in paraview for wedge-typed mesh
|
#1 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Greetings All
I want to get a picture from paraview which has both temperature contour and streamlines. After clicking on stream tracer from filter in paraview, I need to specify points for line source; I do not know how to determine these points for a wedge-typed mesh. would some body plz hint me? My system of coordinates are completely clear from the attachments; If you tell me where the point should be, I would become very happy. X domain: 0 - 0.15 y domain: 0 - 0.9 z domain: -0.0065429081 - 0.0065429081 Regards Bobi |
|
October 23, 2013, 13:35 |
|
#2 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Greetings all
I found the point source positions: (according to geometry) (0 0.45 0) to (0.15 0.45 0) The result is the following image; however I want a continous temp slice on which streamlines are shown in black lines. would somebody plz hint me how can I get it? Also in Sources->Ruler; when we use this ruler nothing happens in the pic; how can we have a real ruler that shows distance in any location of the pic? Any hint? Regards Bobi Last edited by babakflame; October 24, 2013 at 02:18. |
|
October 24, 2013, 10:35 |
|
#3 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Greeting all
I have posted the best pic I got from paraview and the shape that is my desired. Would anybody PLZ hint me how can I get the desired pic (left one) from paraview? Kind Regards Bobi |
|
October 24, 2013, 12:33 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi Bobi,
you want the left picture visualized in paraview? Can you sent me the case (last timestep) without PDF on my email account. Then I will have a look on it. Regards Tobi |
|
October 24, 2013, 13:19 |
|
#5 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Hi Tobi
Yes, What I got as the best is the right picture; however I want sth like the left one i.e continous temperature profile with streamlines in black on it. I sent the requirements via file2send. Kind Regards Bobi |
|
October 24, 2013, 14:58 |
|
#7 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Hi Tobi
Yes, Exactly sth like this. Would you PLZ hint me how did you do this in paraview? I can cut a slice through the mesh and get the temperature distribution on it;but how about black streamlines? What I found in paraview is colour lines (from stream tracer) not these black lines that you put on the image. The advantage of black lines is that it makes stream lines distinctive from the background temperature. Another important question. Is there any way to put vertical and horizontal rulers around our graph (like tecplot) in paraview? Kind Regards Bobi |
|
October 24, 2013, 16:48 |
|
#8 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi,
hmmm ... i dont know if this is possible or how to do that. In the attachment you find a file you can load with paraview. 1. cut your domain with some clips 2. build a slice through your domain 3. add calculator 4. build new vectorfield "Velocity_xy = i_Hat*U_X+j_Hat*U_Y" 5. streamlines with that source on a line 6. move your slice to temperature values 7. move your streamlines to "solid color" 8. change color to black and maybe print your lines thicker 9. build glyph on streamlines with the velocity field 10. change type to "cone" 11. change settings of cone 12. enjoy. Regards Tobi |
|
October 25, 2013, 05:51 |
|
#9 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Hi Tobi
Many thanks for your instructions. Also I tried to open the file you had put in the forum with paraview. I put it on its original folder. After running paraview from that folder and loading state (this file), I confronted with this error: Code:
babak@babak-System:~$ cd OpenFOAM/babak-2.2.x/flameletModel-2.2.x/tutorials/flameletSimpleFoam/HM1Tobi2 babak@babak-System:~/OpenFOAM/babak-2.2.x/flameletModel-2.2.x/tutorials/flameletSimpleFoam/HM1Tobi2$ paraFoam created temporary 'HM1Tobi2.OpenFOAM' ERROR: In /home/babak/OpenFOAM/ThirdParty-2.2.x/ParaView-3.12.0/VTK/IO/vtkOpenFOAMReader.cxx, line 4348 vtkOpenFOAMReaderPrivate (0x520e020): Can't open directory /home/shorty/OpenFOAM/shorty-2.2.x/run/case/ ERROR: In /home/babak/OpenFOAM/ThirdParty-2.2.x/ParaView-3.12.0/VTK/Filtering/vtkExecutive.cxx, line 756 vtkPVCompositeDataPipeline (0x5208cf0): Algorithm vtkPOpenFOAMReader(0x5204690) returned failure for request: vtkInformation (0x520d690) Debug: Off Modified Time: 109401 Reference Count: 1 Registered Events: (none) Request: REQUEST_INFORMATION FORWARD_DIRECTION: 0 ALGORITHM_AFTER_FORWARD: 1 ERROR: In /home/babak/OpenFOAM/ThirdParty-2.2.x/ParaView-3.12.0/ParaViewCore/ServerImplementation/vtkSIProxyDefinitionManager.cxx, line 543 vtkSIProxyDefinitionManager (0x2ba3520): No proxy that matches: group=misc and proxy=ViewLayout were found. ERROR: In /home/babak/OpenFOAM/ThirdParty-2.2.x/ParaView-3.12.0/ParaViewCore/ServerManager/vtkSMDeserializer.cxx, line 62 vtkSMStateLoader (0x31ec9d0): Could not create a proxy of group: misc type: ViewLayout Segmentation fault (core dumped) Also if the data can be used by others, I would be glad if you delete the file,cause I have downloaded it. Regards Bobi |
|
October 25, 2013, 06:25 |
|
#10 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi Bobi,
well it seems that PV Need my Folder: Code:
Can't open directory /home/shorty/OpenFOAM/shorty-2.2.x/run/case/ Regards Tobi |
|
October 26, 2013, 05:54 |
|
#11 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Hi Tobi
From your instructions I learned new things in paraview Many thanks. Just two short questions: 1- Your streamlines have orientation, but mine didn't get. would you plz allude to the place where we put orientation on our streamlines? 2- what is the role of glyph? with slice - calculator and stream tracer consecutively, I got sth like your image. The same pic achieved by glyph, though. Kind Regards Bobi |
|
October 26, 2013, 06:06 |
|
#12 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi Bobi,
my streamlines have no orientation. On the streamlines I used the filter "glyphs" to get the orientation shown as small triangls that s all. In that filter you have to use the befor calculated velocity field (source). Then you will have 3D glyps with orientation. Then change 3D Glyphs to the settings you want to have. Additionally change the parameters so that your solution is good for you. Regards Tobi |
|
October 26, 2013, 09:32 |
|
#13 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Hi Tobi
I took a look into paraview tutorial too. I got what is going on with Glyph filter. I tried a lot to got a nice pic, however it seems that glyph settings is not that much simple. I took a snapshot from my paraview that shows my glyph settings. I would be very glad if you put a snapshot like mine that shows your glyph settings. I don't know where is the problem because pointers about the bluff body are very big, but in the bluff-body wake they are small. Regards Bobi |
|
October 26, 2013, 10:33 |
|
#14 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi,
you are not doing that: 1. cut your domain with some clips - cut the domain into the interessting domain 2. go down the properties menue and set scaling to "off" 3. set a good scale factor your self 4. decrease the number of glyphs Have fun, Regards Tobi |
|
October 27, 2013, 05:46 |
|
#15 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Hi Tobi
Many thanks for your helps. Finally I got a nice pic. Although the density of streamlines around the vortices center are high but generally the quality is acceptable. @ Bruno Hi buddy Would PLZ take a look at my pic and the desired one? I need to put a coordinate system with the origin at the leftmost point in the inner jet exit. (sth like the desired pic). Does paraview support this capability? Kind Regards Bobi |
|
October 27, 2013, 05:53 |
|
#16 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Bobi: If the results are in 3D, then the only thing I know of is the Cube Axes: http://www.paraview.org/Wiki/ParaVie...tion#Cube_Axes Best regards, Bruno
__________________
|
|
October 28, 2013, 02:14 |
|
#17 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Hi Bruno
Many thanks for your help. Wedge-typed mesh is kind of 3-D. I am going to take a look into the link. Regards Bobi |
|
October 28, 2013, 09:00 |
|
#18 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Hi Bruno
Just a simple problem. Where is this filter i.e. cube axes? I can't find it. Regards Bobi |
|
October 28, 2013, 17:59 |
|
#19 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Bobi,
http://www.paraview.org/Wiki/ParaVie...tion#Cube_Axes Quote:
Best regards, Bruno
__________________
|
||
October 29, 2013, 14:32 |
|
#20 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Dear Bruno
Many thanks for your kind hints. I am using paraview 3.12 with O.F. 2.2.x. It seems that I should upgrade my paraview version to 3.14. would you PLZ hint me how can I do this without affecting my O.F. settings? I mean without leaving O.F. 2.2.x. Regards Bobi |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Temperature and streamlines simultaneously in paraview for wedge-typed mesh | babakflame | ParaView | 1 | October 23, 2013 14:22 |