|
[Sponsors] |
February 20, 2020, 09:17 |
OpenFOAM error
|
#1 |
New Member
Vinay Kumar V
Join Date: Feb 2020
Posts: 1
Rep Power: 0 |
Hello,
I have created a mesh in Gmsh and imported into OpenFOAM. I got 'Unhandled element 1 at line ....' FATAL ERROR as '2 not found in table' Unhandled element 1 at line 129081 Unhandled element 1 at line 129082 Unhandled element 1 at line 129083 Unhandled element 1 at line 129084 Unhandled element 1 at line 129085 Unhandled element 1 at line 129086 Unhandled element 1 at line 129087 Unhandled element 1 at line 129088 Unhandled element 1 at line 129089 Unhandled element 1 at line 129090 Unhandled element 1 at line 129091 Unhandled element 1 at line 129092 Unhandled element 1 at line 129093 --> FOAM FATAL ERROR: 2 not found in table. Valid entries: 0() From function const T& Foam::HashTable<T, Key, Hash>:perator[](const Key&) const [with T = int; Key = int; Hash = Foam::Hash<int>] in file /opt/app/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/HashTableI.H at line 126. FOAM exiting In gmsh, I do not have errors. [CODE][// Gmsh project created on Wed Feb 19 13:48:09 2020 SetFactory("OpenCASCADE"); Rectangle(1) = {0.21, 0.13, 0.2, 0.5, 0.5, 0}; Rectangle(2) = {-2.1, -2.2, -2, 5, 5, 0}; Rectangle(3) = {-0.35, -0.35, -0.5, 1.5, 1.5, 0}; //+ Extrude {0, 0, 0.5} { Surface{1}; } Extrude {0, 0, 5} { Surface{2}; } //+ BooleanDifference{ Volume{2}; Delete; }{ Volume{1}; Delete; } //+ Extrude {0, 0, 2} { Surface{3}; } //+ Line(41) = {12, 4}; //+ Line(42) = {1, 9}; //+ Line(43) = {3, 11}; //+ Line(44) = {2, 10}; //+ Line(45) = {13, 25}; //+ Line(46) = {16, 28}; //+ Line(47) = {15, 27}; //+ Line(48) = {14, 26}; //+ Curve Loop(20) = {42, 33, -45, -13}; //+ Plane Surface(20) = {20}; //+ Curve Loop(21) = {42, -12, 41, 4}; //+ Plane Surface(21) = {21}; //+ Curve Loop(22) = {41, 18, 46, -38}; //+ Plane Surface(22) = {22}; //+ Curve Loop(23) = {45, -40, -46, 20}; //+ Plane Surface(23) = {23}; //+ Transfinite Surface {21} = {4, 1, 9, 12}; //+ Transfinite Surface {22} = {4, 12, 28, 16}; //+ Transfinite Surface {23} = {25, 28, 16, 13}; //+ Transfinite Surface {7} = {1, 4, 16, 13}; //+ Transfinite Curve {20, 40, 4, 12} = 20 Using Progression 1; //+ Transfinite Curve {13, 33, 18, 38} = 20 Using Progression 1; //+ //+ Surface Loop(2) = {18, 20, 21, 22, 23, 7}; //+ Volume(4) = {2}; //+ Curve Loop(26) = {42, 9, -44, -1}; //+ Plane Surface(26) = {26}; //+ Curve Loop(27) = {44, 34, -48, -14}; //+ Plane Surface(27) = {27}; //+ Curve Loop(28) = {15, 48, -35, -45}; //+ Plane Surface(28) = {28}; //+ Surface Loop(3) = {4, 28, 27, 26, 20, 15}; //+ Volume(5) = {3}; //+ Transfinite Surface {26} = {1, 2, 10, 9}; //+ Transfinite Surface {27} = {14, 26, 10, 2}; //+ Transfinite Surface {28} = {13, 25, 26, 14}; //+ Transfinite Surface {4} = {13, 14, 2, 1}; //+ Transfinite Curve {9, 1, 15, 35} = 20 Using Progression 1; //+ Transfinite Curve {13, 33, 14, 34} = 20 Using Progression 1; //+ // Transfinite Volume{4} = {1, 4, 16, 13, 25, 9, 12, 28}; //+ // Transfinite Volume{5} = {13, 14, 2, 1, 25, 26, 10, 9}; //+ Curve Loop(32) = {44, 10, -43, -2}; //+ Plane Surface(31) = {32}; //+ Curve Loop(33) = {16, 47, -36, -43}; //+ Plane Surface(32) = {33}; //+ Curve Loop(34) = {17, 47, -37, -48}; //+ Plane Surface(33) = {34}; //+ Surface Loop(4) = {31, 32, 33, 5, 27, 16}; //+ Volume(6) = {4}; //+ Transfinite Surface {31} = {2, 3, 11, 10}; //+ Transfinite Surface {32} = {3, 15, 27, 11}; //+ Transfinite Surface {33} = {14, 26, 27, 15}; //+ Transfinite Surface {5} = {14, 15, 3, 2}; //+ //Transfinite Volume{6} = {2, 3, 15, 14, 26, 27, 11, 10}; //+ Transfinite Curve {10, 2, 17, 37} = 20 Using Progression 1; //+ Transfinite Curve {14, 34, 16, 36} = 20 Using Progression 1; Transfinite Curve {41} = 40 Using Progression 0.8; Transfinite Curve {42} = 40 Using Progression 1.2; //+ Transfinite Curve {43} = 40 Using Progression 1.2; //+ Transfinite Curve {44} = 40 Using Progression 1.2; //+ Transfinite Curve {45} = 40 Using Progression 1.2; //+ Transfinite Curve {46} = 40 Using Progression 1.2; //+ Transfinite Curve {47} = 40 Using Progression 1.2; //+ Transfinite Curve {48} = 40 Using Progression 1.2; //+ Curve Loop(38) = {43, 11, 41, -3}; //+ Plane Surface(36) = {38}; //+ Curve Loop(39) = {47, 39, -46, -19}; //+ Plane Surface(37) = {39}; //+ Surface Loop(5) = {36, 6, 22, 37, 32, 17}; //+ Volume(7) = {5}; //+ Transfinite Surface {36} = {3, 4, 12, 11}; //+ Transfinite Surface {6} = {15, 16, 4, 3}; //+ Transfinite Surface {37} = {15, 27, 28, 16}; //+ Transfinite Curve {3, 19, 39, 11} = 20 Using Progression 1; //+ Transfinite Curve {16, 36, 18, 38} = 20 Using Progression 1; //+ //+ // Transfinite Volume{7} = {15, 16, 4, 3, 27, 28, 12, 11}; //+ Surface Loop(6) = {3, 26, 31, 21, 1, 36}; //+ Volume(8) = {6}; //+ Surface Loop(7) = {28, 8, 33, 23, 37, 19}; //+ Volume(9) = {7}; //+ Transfinite Surface {19} = {26, 25, 28, 27}; //+ Transfinite Surface {8} = {14, 13, 16, 15}; //+ Transfinite Surface {1} = {2, 1, 4, 3}; //+ Transfinite Volume{9} = {26, 25, 28, 27, 14, 13, 16, 15}; //+ //Point(29) = {-2.1, 1.2, 1.5, 1.0}; //Point(30) = {-2.1, 1.2, -0.5, 1.0}; //Point(31) = {-2.1, -0.35, 1.5, 1.0}; //Point(32) = {-2.1, -0.35, -0.5, 1.0}; //+ Line(49) = {12, 21}; //+ Line(50) = {28, 22}; //+ Line(51) = {25, 18}; //+ Line(52) = {9, 17}; //+ Line(53) = {11, 23}; //+ Line(54) = {27, 24}; //+ Line(55) = {26, 20}; //+ Line(56) = {10, 19}; //+ Curve Loop(42) = {27, -51, -40, 50}; //+ Plane Surface(40) = {42}; //+ Curve Loop(44) = {21, -51, -33, 52}; //+ Plane Surface(41) = {44}; //+ Curve Loop(46) = {52, -26, -49, 12}; //+ Plane Surface(42) = {46}; //+ Curve Loop(47) = {49, -31, -53, 11}; //+ Plane Surface(43) = {47}; //+ Curve Loop(48) = {52, 23, -56, -9}; //+ Plane Surface(44) = {48}; //+ Curve Loop(49) = {56, 29, -53, -10}; //+ Plane Surface(45) = {49}; //+ Curve Loop(50) = {22, -55, -34, 56}; //+ Plane Surface(46) = {50}; //+ Curve Loop(51) = {55, 30, -54, -37}; //+ Plane Surface(47) = {51}; //+ Curve Loop(52) = {54, -28, -53, 36}; //+ Plane Surface(48) = {52}; //+ Curve Loop(53) = {51, 24, -55, -35}; //+ Plane Surface(49) = {53}; //+ Curve Loop(54) = {50, -32, -54, 39}; //+ Plane Surface(50) = {54}; //+ Curve Loop(55) = {38, 50, -25, -49}; //+ Plane Surface(51) = {55}; //+ Transfinite Surface {41} = {9, 25, 18, 17}; //+ Transfinite Surface {42} = {21, 12, 9, 17}; //+ Transfinite Surface {40} = {22, 28, 25, 18}; //+ Transfinite Surface {51} = {21, 12, 28, 22}; //+ Transfinite Surface {18} = {12, 28, 25, 9}; //+ Transfinite Surface {10} = {21, 22, 18, 17}; //+ Transfinite Curve {21, 33, 38, 25} = 20 Using Progression 1; //+ Transfinite Curve {27, 40, 26, 12} = 20 Using Progression 1; //+ Transfinite Curve {52} = 20 Using Progression 1; //+ Transfinite Curve {51} = 20 Using Progression 1; //+ Transfinite Curve {50} = 20 Using Progression 1; //+ Transfinite Curve {49} = 20 Using Progression 1; //+ Transfinite Surface {49} = {25, 26, 20, 18}; //+ Transfinite Surface {50} = {22, 24, 27, 28}; //+ Transfinite Surface {13} = {22, 24, 20, 18}; //+ Transfinite Surface {47} = {24, 27, 26, 20}; //+ Transfinite Curve {24, 35, 39, 32} = 20 Using Progression 1; //+ Transfinite Curve {30, 37, 40, 27} = 20 Using Progression 1; //+ Transfinite Curve {51} = 20 Using Progression 1; //+ Transfinite Curve {50} = 20 Using Progression 1; //+ Transfinite Curve {54} = 20 Using Progression 1; //+ Transfinite Curve {55} = 20 Using Progression 1; //+ Transfinite Surface {46} = {26, 10, 19, 20}; //+ Transfinite Surface {16} = {27, 11, 10, 26}; //+ Transfinite Surface {48} = {27, 11, 23, 24}; //+ Transfinite Surface {11} = {24, 23, 19, 20}; //+ Transfinite Surface {45} = {11, 23, 19, 10}; //+ Transfinite Curve {22, 34, 36, 28} = 20 Using Progression 1; //+ Transfinite Curve {29, 10, 37, 30} = 20 Using Progression 1; //+ Transfinite Curve {54} = 20 Using Progression 1; //+ Transfinite Curve {55} = 20 Using Progression 1; //+ Transfinite Curve {56} = 20 Using Progression 1; //+ Transfinite Curve {53} = 20 Using Progression 1; //+ Transfinite Surface {44} = {10, 9, 17, 19}; //+ Transfinite Surface {3} = {11, 12, 9, 10}; //+ Transfinite Surface {43} = {11, 12, 21, 23}; //+ Transfinite Surface {12} = {23, 21, 17, 19}; //+ Transfinite Curve {23, 9, 11, 31} = 20 Using Progression 1; //+ Transfinite Curve {26, 12, 10, 29} = 20 Using Progression 1; //+ Transfinite Curve {53} = 20 Using Progression 1; //+ Transfinite Curve {56} = 20 Using Progression 1; //+ Transfinite Curve {52} = 20 Using Progression 1; //+ Transfinite Curve {49} = 20 Using Progression 1; //+ Transfinite Surface {9} = {19, 20, 18, 17}; //+ Transfinite Surface {15} = {10, 9, 25, 26}; //+ Transfinite Surface {17} = {11, 27, 28, 12}; //+ Transfinite Surface {14} = {23, 24, 22, 21}; //+ Recombine Surface {41, 18, 40, 42, 51, 10}; //+ Recombine Surface {40, 19, 49, 13, 47, 50}; //+ Recombine Surface {16, 47, 46, 11, 45, 48}; //+ Recombine Surface {12, 44, 45, 3, 42, 43}; //+ Recombine Surface {15, 46, 44, 49, 41, 9}; //+ Recombine Surface {14, 51, 17, 43, 48, 50}; //+ Recombine Surface {19, 28, 8, 33, 23, 37}; //+ Recombine Surface {5, 27, 33, 31, 16, 32}; //+ Recombine Surface {3, 26, 1, 31, 36, 21}; //+ Recombine Surface {20, 7, 21, 23, 18, 22}; //+ Recombine Surface {6, 32, 37, 22, 36, 17}; //+ Recombine Surface {15, 20, 26, 28, 27, 4}; //+ Transfinite Volume{8} = {1, 4, 3, 2, 9, 12, 11, 10}; //+ Transfinite Volume{7} = {16, 4, 3, 15, 28, 12, 11, 27}; //+ Transfinite Volume{6} = {14, 2, 3, 15, 26, 10, 11, 27}; //+ Transfinite Surface {39} = {11, 27, 28, 12}; //+ Transfinite Surface {38} = {4, 3, 15, 16}; //+ Recombine Surface {39, 22, 36, 32, 37, 38}; //+ Transfinite Surface {34} = {3, 15, 14, 2}; //+ Transfinite Surface {35} = {10, 26, 27, 11}; //+ Recombine Surface {34, 33, 32, 31, 27, 35}; //+ Transfinite Surface {30} = {9, 25, 26, 10}; //+ Transfinite Surface {29} = {2, 14, 13, 1}; //+ Recombine Surface {29, 26, 27, 28, 20, 30}; //+ Transfinite Surface {24} = {12, 28, 25, 9}; //+ Transfinite Surface {25} = {4, 16, 13, 1}; //+ Recursive Delete { Volume{3}; } //+ Recursive Delete { Volume{2}; } //+ Curve Loop(56) = {26, 21, -27, -25}; //+ Plane Surface(52) = {56}; //+ Surface Loop(8) = {52, 42, 41, 40, 51, 24}; //+ Volume(10) = {8}; //+ Transfinite Surface {52} = {21, 22, 18, 17}; //+ Transfinite Volume{10} = {21, 22, 18, 17, 12, 28, 25, 9}; //+ Recombine Surface {52, 42, 41, 40, 24, 51}; //+ Curve Loop(57) = {27, 24, 30, 32}; //+ Plane Surface(53) = {57}; //+ Surface Loop(9) = {53, 49, 47, 50, 19, 40}; //+ Volume(11) = {9}; //+ Transfinite Surface {53} = {22, 24, 20, 18}; //+ Transfinite Volume{11} = {22, 24, 20, 18, 28, 27, 26, 25}; //+ Recombine Surface {53, 40, 49, 47, 19, 50}; //+ Curve Loop(59) = {26, 23, 29, 31}; //+ Plane Surface(54) = {59}; //+ Surface Loop(10) = {54, 44, 45, 43, 3, 42}; //+ Volume(12) = {10}; //+ Transfinite Surface {54} = {17, 19, 23, 21}; //+ Transfinite Volume{12} = {17, 19, 23, 21, 9, 10, 11, 12}; //+ Recombine Surface {54, 42, 3, 44, 43, 45}; //+ Curve Loop(60) = {29, 28, -30, -22}; //+ Plane Surface(55) = {60}; //+ Surface Loop(11) = {55, 48, 46, 45, 35, 47}; //+ Volume(13) = {11}; //+ Transfinite Surface {55} = {19, 20, 24, 23}; //+ Transfinite Volume{13} = {19, 20, 24, 23, 10, 26, 27, 11}; //+ Recombine Surface {55, 45, 46, 35, 48, 47}; //+ Curve Loop(61) = {32, -25, -31, 28}; //+ Plane Surface(56) = {61}; //+ Surface Loop(12) = {56, 50, 39, 48, 43, 51}; //+ Volume(14) = {12}; //+ Transfinite Surface {56} = {22, 21, 23, 24}; //+ Transfinite Volume{14} = {22, 21, 23, 24, 28, 12, 11, 27}; //+ Recombine Surface {56, 50, 39, 51, 43, 48}; //+ Curve Loop(62) = {23, 22, -24, -21}; //+ Plane Surface(57) = {62}; //+ Surface Loop(13) = {57, 44, 30, 46, 49, 41}; //+ Volume(15) = {13}; //+ Transfinite Surface {57} = {17, 18, 20, 19}; //+ Transfinite Volume{15} = {17, 18, 20, 19, 9, 25, 26, 10}; //+ Recombine Surface {57, 44, 46, 49, 41, 30}; //+ Recursive Delete { Surface{20}; } //+ Transfinite Surface {20} = {9, 25, 13, 1}; //+ Recombine Surface {20, 23, 24, 21, 22, 25}; //+ Transfinite Volume{4} = {1, 4, 16, 13, 12, 28, 25, 9}; //+ Recombine Surface {21, 20, 25, 24, 23, 22}; //+ Recursive Delete { Volume{4}; } //+ Curve Loop(63) = {4, 13, -20, -18}; //+ Plane Surface(58) = {63}; //+ Surface Loop(14) = {58, 22, 24, 23, 20, 21}; //+ Volume(16) = {14}; //+ Transfinite Surface {58} = {4, 16, 13, 1}; //+ Transfinite Volume{16} = {4, 16, 13, 1, 12, 28, 25, 9}; //+ Recombine Surface {24, 22, 23, 20, 58, 21}; //+ Recursive Delete { Volume{5}; } //+ Curve Loop(64) = {15, -14, -1, 13}; //+ Plane Surface(59) = {64}; //+ Surface Loop(15) = {59, 26, 20, 28, 30, 27}; //+ Volume(17) = {15}; //+ Transfinite Surface {59} = {13, 1, 2, 14}; //+ Transfinite Volume{17} = {13, 1, 2, 14, 25, 9, 10, 26}; //+ Recombine Surface {59, 30, 20, 26, 27, 28}; //+ Recursive Delete { Surface{59}; } Physical Surface("inlet") = {56}; //+ Physical Surface("outlet") = {57}; //+ Physical Surface("outer_wall") = {52, 54, 55, 53}; //+ Physical Surface("inner_wall") = {8, 38, 1, 59, 34, 58}; //+ Physical Surface("fluid") = {49, 47, 40, 50, 19, 28, 33, 23, 37, 27, 20, 32, 30, 26, 46, 35, 31, 22, 24, 21, 39, 3, 36, 41, 44, 45, 48, 51, 42, 43}; Mesh 3; ] Does anyone experienced similar type of error? Best regards Vinay |
|
Tags |
gmsh 4.0.4, open foam fatal error |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 09:00 |
long error when using make-install SU2_AD. | tomp1993 | SU2 Installation | 3 | March 17, 2018 06:25 |
Mesquite - Adaptive mesh refinement / coarsening? | philippose | OpenFOAM Running, Solving & CFD | 94 | January 27, 2016 09:40 |
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." | sega | OpenFOAM Community Contributions | 12 | February 17, 2010 09:30 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |