|
[Sponsors] |
[blockMesh] trying to do a simple cylinder with the function arc but not working |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 23, 2018, 13:26 |
trying to do a simple cylinder with the function arc but not working
|
#1 |
New Member
Carmelo Jesús Mentado Santana
Join Date: Aug 2018
Posts: 4
Rep Power: 7 |
I am trying to do a simple cylinder with the function arc but i don´t understand why it does not work.
error Foam " Create time Creating block mesh from "C:/OpenFOAM/18.06/Carmelo-dev/run/cavity/system/blockMeshDict" Creating block edges --> FOAM FATAL ERROR: 0 From function Foam::cylindricalCS Foam::blockEdges::arcEdge::calcAngle() in file blockEdges/arcEdge/arcEdge.C at line 58. FOAM aborting " This is the code. " convertToMeters 0.1; vertices ( (0 0 0) (1 0 0) (1 1 0) (0 1 0) (0 0 0.1) (1 0 0.1) (1 1 0.1) (0 1 0.1) ); blocks ( hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1) ); edges ( arc 0 1 (0.5 0 0) ); boundary ( movingWall { type wall; faces ( (3 7 6 2) ); } fixedWalls { type wall; faces ( (0 4 7 3) (2 6 5 1) (1 5 4 0) ); } frontAndBack { type empty; faces ( (0 3 2 1) (4 5 6 7) ); } ); mergePatchPairs ( ); " Thanks and Regards. |
|
October 16, 2018, 03:53 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
I think because this "arc" you would like to define is a straight line. As I remember in the arc you have to define a point on the arc not the origin. If you define the origin and 2 points you still have 2 possibilities for the arc. So if I'm correct you have to define the 2 ends of the arc (this is correct in your case) and an additional point on the arc (your point will define a straight line). |
|
October 17, 2018, 08:12 |
|
#3 |
Senior Member
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 7 |
as simrego said: the point specified with the arc command must be a point the arc passes through. In this case that would be (0.5 0.5 0).
Note; you also need to specify the arc between points 4 and 5 as (0.5 0.5 0.1) |
|
October 17, 2018, 09:02 |
|
#4 |
New Member
Carmelo Jesús Mentado Santana
Join Date: Aug 2018
Posts: 4
Rep Power: 7 |
thanks all. i saw my mistake.
|
|
September 24, 2020, 15:27 |
Same error
|
#5 |
Member
Chris Harding
Join Date: Dec 2016
Posts: 76
Rep Power: 9 |
||
September 25, 2020, 00:11 |
|
#6 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 15 |
Hi,
The mistake was that all the 3 points [(0 0 0), (1 0 0) and (0.5 0 0)] all lie on the same straight line - you cannot get an arc out of them. Instead of (0.5 0 0), it should be a point on the arc, for example (0.5 0.5 0) Hope this helps. Cheers, Antimony |
|
September 26, 2020, 09:57 |
Input error
|
#7 |
Member
Chris Harding
Join Date: Dec 2016
Posts: 76
Rep Power: 9 |
Hello,
For me, the error happened because my pointField.H programming was wrong, and my generated points were wrong. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 17:22 |
[mesh manipulation] RefineMesh Error and Foam warning | jiahui_93 | OpenFOAM Meshing & Mesh Conversion | 4 | March 3, 2018 11:32 |
[mesh manipulation] refineMesh Error | mohsen.boojari | OpenFOAM Meshing & Mesh Conversion | 3 | March 1, 2018 22:07 |
[swak4Foam] installation problem with version 0.2.3 | Claudio87 | OpenFOAM Community Contributions | 9 | May 8, 2013 10:20 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 14:11 |