|
[Sponsors] |
[General] unwrap cylinder slice to flat plane |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 5, 2017, 05:44 |
unwrap cylinder slice to flat plane
|
#1 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Dear ParaView users,
I use ParaView version 5.3. I cut my data with a slice (cylinder type). I would like to unwrap the cylinder slice to a flat plane ! I need your help to achieve this task. Thanks a lot in advance for your advices. Best regards, Stéphane |
|
May 5, 2017, 09:49 |
|
#2 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
sorry
unwarp Stéphane |
|
May 5, 2017, 11:07 |
|
#3 |
Member
Joshua
Join Date: Dec 2016
Location: St. Louis, Missouri
Posts: 91
Rep Power: 10 |
Stéphane,
The following steps should allow you to unwrap a cylinder based around the origin. 1. Clip surface such that you do split the geometry in half(semi circle) but not at origin, offset by 0.0001. 2. Use a calculator filter 3. Make sure Attribute Mode is set on "Point Data" 4. Select "Coordinate Results" 5. Use something along the lines of sqrt(coordsX^2+coordsY^2)*iHat+tan^-1(coordsX/coordsY)*jHat+coordsZ*kHat Hope this helps. Joshua |
|
May 5, 2017, 11:21 |
|
#4 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi Joshua,
Thank you for your help! But it seems to be something wrong with your for formula : sqrt(coordsX^2+coordsY^2)*iHat+tan^-1(coordsX/coordsY)*jHat+coordsZ*kHat Regards, Stephane. |
|
May 5, 2017, 11:28 |
|
#5 |
Member
Joshua
Join Date: Dec 2016
Location: St. Louis, Missouri
Posts: 91
Rep Power: 10 |
Stéphane,
What appears to be wrong with the formula? If you geometry is oriented differently then you will need to interchange the x, y, and z axis in the equation. Joshua |
|
May 5, 2017, 11:50 |
|
#6 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi Joshua,
Sorry, your formula is right. With the below formula, the 2D plane will be located at X=0 and the width (Y-direction) will measure half-circumference. 0*iHat+atan(coordsX/coordsY)*(coordsX^2+coordsY^2)^(1/2)*jHat+coordsZ*kHat Thanks again for your quick help. Best regards, Stephane. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Question about Flow around a circular cylinder near a plane wall | ihu945 | OpenFOAM Meshing & Mesh Conversion | 1 | June 10, 2016 06:35 |
Flat Plate Boundary Layer Height | kennedy1992 | Fidelity CFD | 7 | February 24, 2016 05:45 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
benchmark: flow over a circular cylinder | goodegg | Main CFD Forum | 12 | January 22, 2013 12:47 |
Flow over a flat plate & Flow over a cylinder | cfdxue | Main CFD Forum | 0 | November 27, 2007 00:26 |