|
[Sponsors] |
January 28, 2010, 15:47 |
Cannot view arc edge in ParaView
|
#1 |
New Member
Erlend Grotle
Join Date: Jan 2010
Posts: 2
Rep Power: 0 |
I have tried several blockMesDict files trying to make a cylinder using arc. blockMesh seems to go fine, but the arc is not visible in paraview (version 3.6.1). Anyone experienced this ? I used an example from the user manual so I recon the use of arc should be ok.
|
|
November 13, 2015, 13:09 |
|
#2 |
New Member
Ivan
Join Date: Oct 2015
Posts: 4
Rep Power: 11 |
I had the same problem with paraview 4.1.0
It is at the moment just a 1 cell try. BlockMesh code runs but it doesn't show any arc. Code:
L 288; D 88; R 100; B 722; C 222; alpha 35.0; CapL 50; Dd 50; nzp -50; zp 50; //declaración de distancias Fd #calc "10*$L"; Bd #calc "20*$L"; Ud #calc "8*$L"; Ax #calc "$Fd-$CapL"; Bx #calc "$Fd+$R-($R+$CapL)*cos(45.0)"; Cx #calc "$Fd+$R-$R*cos(45.0)"; //Dx #calc "$Fd+$R"; //Ex #calc "$Fd+$R+$B"; Cy #calc "$Dd+$R+$D"; Dy #calc "$Dd+$R+$D+($R+$CapL)*sin(45.0)"; //Gy #calc "$Dd+$L"; Hy #calc "$Dd+$D+$R+$R*sin(45.0)"; //Ly #calc "$Dd+$L+$CapL"; convertToMeters 0.001; vertices ( ($Ax $Cy $nzp) ($Fd $Cy $nzp) ($Cx $Hy $nzp) ($Bx $Dy $nzp) ($Ax $Cy $zp) ($Fd $Cy $zp) ($Cx $Hy $zp) ($Bx $Dy $zp) ); blocks ( hex (0 1 2 3 4 5 6 7) (1 1 1) simpleGrading (1 1 1) //0 ); edges ( arc 1 2 (#calc "$Fd+($R-$R*cos(20.0))" #calc "$Cy+$R*sin(20.0)" $nzp) ); boundary ( ); mergePatchPairs ( ); Moreover, after perform checkMesh got 1 failure: Code:
***Number of edges not aligned with or perpendicular to non-empty directions: 6 <<Writing 8 points on non-aligned edges to set nonAlignedEdges Last edited by wyldckat; November 13, 2015 at 15:46. Reason: Changed [QUOTE][/QUOTE] to [CODE][/CODE] |
|
November 13, 2015, 15:50 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answers:
|
|
November 14, 2015, 11:37 |
|
#4 | |
New Member
Ivan
Join Date: Oct 2015
Posts: 4
Rep Power: 11 |
Quote:
Your explanation has been very useful because I realized that just changing the number of cells per each direction (x' y'), arcs are drawn. so I changed like this: hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1) //0 Thanks a lot. Best regards Ivan |
||
November 14, 2015, 11:44 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer:
That affects only the way the cells are distributed along their directions. I hope you wanted to write this: Code:
hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1) //0 |
|
November 14, 2015, 12:22 |
|
#6 | |
New Member
Ivan
Join Date: Oct 2015
Posts: 4
Rep Power: 11 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Openfoam: Meshing, where do my defaultFaces come from | syntex | OpenFOAM Meshing & Mesh Conversion | 19 | December 10, 2018 08:21 |
[blockMesh] meshing a cylinder | Nico A. | OpenFOAM Meshing & Mesh Conversion | 6 | June 19, 2017 15:12 |
Help -> Meshing of a Cylinder for Pouseuille Flow | fisherman05 | Mesh Generation & Pre-Processing | 0 | February 18, 2013 00:14 |
Multiblocks | Rider | OpenFOAM | 16 | April 12, 2012 04:00 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |