View Issue Details

IDProjectCategoryView StatusLast Update
0003426OpenFOAMBugpublic2020-01-17 18:05
ReporterJeroenJanssen Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformAWSOSLinux UbuntuOS Version18
Fixed in Versiondev 
Summary0003426: no triangulated vtk files with cuttingPlane post processing
DescriptionAfter upgrading from OF6 to OF7, it seems that the 'triangulate' flag doesn't work anymore for the cuttingPlane postprocessor. The vtk files in the results all have meshes with faces with >=4 vertices, while the triangulate flag is set to true. All else works well (I do get triangulated vtk files for the 'patchInternalField', just not for the 'cuttingPlane').

Any help would be greatly appreciated.

Many thanks,
Jeroen
Steps To ReproduceAfter finishing the simpleFoam simulations I run the command:
mpirun -np 36 simpleFoam -parallel -postProcess -funcs "(surfaces)" -latestTime > log

An extract of the surfaces dictionary file:

...
surfaces
(
extractSurface_Ground_U13
    {
        type patchInternalField;
        patches (Ground Ground_Explicit Ground_Water);
        offsetMode uniform;
        offset (0 0 1.5);
        interpolate true;
        triangulate true;
    }

cuttingPlane14_X_000
    {
        type cuttingPlane;
        planeType pointAndNormal;
        pointAndNormalDict
        {
        basePoint (-798.600203421432 52.1308814897659 0);
        normalVector (0 1 -1.192093E-07);
        }
        interpolate true;
        triangulate true;
    }
)
...
TagsNo tags attached.

Activities

henry

2020-01-10 16:36

manager   ~0011051

We don't have access to the case you are running, can you reproduce the issue on one of the tutorial cases?

JeroenJanssen

2020-01-13 12:28

reporter   ~0011053

Hi Henry,

Thank you for your quick response.
No problem, please find attached the motorBike example (I only modified the 'cuttingPlane' dictionary, where I included the triangulate true - flag as I was used to in OF6 and before, and then the decomposeDict as I ran it on 36 cores). I've also included the resulting postProcessing file for U for timestep 500. As you can see there are a few tri's in there, but most of the faces have 4 or more vertices.
Hope that helps.

Thanks,
Jeroen
motorBike.zip (16,942 bytes)
U_yNormal.vtk (989,026 bytes)

henry

2020-01-13 14:36

manager   ~0011054

If you set
            triangulate rubbish;

you will find that there as no error message; there is no triangulate option in the latest cuttingPlane. However you can control the surface filtering which by default simplifies the triangulation into quads where possible but if you switch it off:

            filtering none;

then the original triangulated surface is written.

henry

2020-01-13 14:41

manager   ~0011055

Alternatively you can use the original cutting plane implementation by selecting

            type plane;
            .
            .
            .
            triangulate false;

but this has all the limitations and quirks of that version and I would recommend that you use the new one.

JeroenJanssen

2020-01-14 11:16

reporter   ~0011058

Thanks Henry,
I've tried the filtering none option you suggested, but where should I place that line? I put it within the cuttingPlane dict, both in the main body as well as within the individual plane, but there is no difference in the resulting vtk file. Still faces with 4 or more vertices. I've also tried to change the flag to rubbish and don't get any errors.

Am I putting it in the correct place, or not?

Thank you for your help

henry

2020-01-14 11:30

manager   ~0011059

With cuttingPlane in OpenFOAM-dev use

    filtering none;

instead and in place of

     triangulate true;

JeroenJanssen

2020-01-14 15:44

reporter   ~0011063

Thanks. I was using the OF7 distribution.
I just installed the dev and tried and it does create a triangulated vtk, however, running the motorBike example straight out the box causes snappyHexMesh to crash...
I've attached the log file for snappyHexMesh.
log.snappyHexMesh (12,032 bytes)   
--------------------------------------------------------------------------
[[45317,1],4]: A high-performance Open MPI point-to-point messaging module
was unable to find any relevant network interfaces:

Module: OpenFabrics (openib)
  Host: ip-172-31-32-118

Another transport will be used instead, although this may result in
lower performance.

NOTE: You can disable this warning by setting the MCA parameter
btl_base_warn_component_unused to 0.
--------------------------------------------------------------------------
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : dev-7fdfe4224aad
Exec   : snappyHexMesh -parallel -overwrite
Date   : Jan 14 2020
Time   : 15:38:00
Host   : "ip-172-31-32-118"
PID    : 18025
I/O    : uncollated
Case   : /home/ubuntu/OpenFOAM/ubuntu-dev/run/motorBike
nProcs : 6
Slaves : 
5
(
"ip-172-31-32-118.18026"
"ip-172-31-32-118.18027"
"ip-172-31-32-118.18028"
"ip-172-31-32-118.18029"
"ip-172-31-32-118.18030"
)

Pstream initialized with:
    floatTransfer      : 0
    nProcsSimpleSum    : 0
    commsType          : nonBlocking
    polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Read mesh in = 0 s

Overall mesh bounding box  : (-5 -4 0) (15 4 8)
Relative tolerance         : 1e-06
Absolute matching distance : 2.29783e-05

Reading refinement surfaces.
Read refinement surfaces in = 0.98 s

Reading refinement shells.
Refinement level 4 for all cells inside refinementBox
Read refinement shells in = 0 s

Setting refinement level of surface to be consistent with shells.
Checked shell refinement in = 1.08 s

Reading features.
Read edgeMesh motorBike.eMesh
    points      : 20665
    edges       : 20867
    boundingBox : (-0.241214 -0.337971 -4.232e-05) (1.75115 0.329368 1.21979)

Refinement level according to distance to "motorBike.eMesh" (20665 points, 20867 edges).
    level 6 for all cells within 0 metre.
Read features in = 0.03 s


Determining initial surface intersections
-----------------------------------------

Edge intersection testing:
    Number of edges             : 4224
    Number of edges to retest   : 4224
    Number of intersected edges : 2
Calculated surface intersections in = 0 s

Initial mesh : cells:1280  faces:4224  points:1701
Cells per refinement level:
    0	1280

Adding patches for surface regions
----------------------------------

Patch Type                Region                        
----- ----                ------                        
motorBike:

5     wall                motorBike_frt-fairing:001%1   
6     wall                motorBike_windshield:002%2    
7     wall                motorBike_rr-wh-rim:005%5     
8     wall                motorBike_rr-wh-rim:010%10    
9     wall                motorBike_fr-wh-rim:011%11    
10    wall                motorBike_fr-wh-brake-disk:012%12
11    wall                motorBike_frame:016-shadow%13 
12    wall                motorBike_rear-susp:014%14    
13    wall                motorBike_rear-susp:014-shadow%15
14    wall                motorBike_frame:016%16        
15    wall                motorBike_rr-wh-rim:005-shadow%17
16    wall                motorBike_rr-wh-chain-hub:022%22
17    wall                motorBike_rearseat%24         
18    wall                motorBike_frt-fairing%25      
19    wall                motorBike_windshield%26       
20    wall                motorBike_headlights%27       
21    wall                motorBike_driversseat%28      
22    wall                motorBike_rear-body%29        
23    wall                motorBike_fuel-tank%30        
24    wall                motorBike_exhaust%31          
25    wall                motorBike_rr-wh-rim%32        
26    wall                motorBike_fr-mud-guard%33     
27    wall                motorBike_fr-wh-rim%34        
28    wall                motorBike_fr-wh-brake-disk%35 
29    wall                motorBike_fr-brake-caliper%36 
30    wall                motorBike_fr-wh-tyre%37       
31    wall                motorBike_hbars%38            
32    wall                motorBike_fr-forks%39         
33    wall                motorBike_chain%40            
34    wall                motorBike_rr-wh-tyre%41       
35    wall                motorBike_square-dial%42      
36    wall                motorBike_round-dial%43       
37    wall                motorBike_dial-holder%44      
38    wall                motorBike_rear-susp%45        
39    wall                motorBike_rear-brake-lights%46
40    wall                motorBike_rear-light-bracket%47
41    wall                motorBike_frame%48            
42    wall                motorBike_rear-mud-guard%49   
43    wall                motorBike_rear-susp-spring-damp%50
44    wall                motorBike_fairing-inner-plate%51
45    wall                motorBike_clutch-housing%52   
46    wall                motorBike_radiator%53         
47    wall                motorBike_water-pipe%54       
48    wall                motorBike_water-pump%55       
49    wall                motorBike_engine%56           
50    wall                motorBike_rear-shock-link%57  
51    wall                motorBike_rear-brake-fluid-pot-bracket%58
52    wall                motorBike_rear-brake-fluid-pot%59
53    wall                motorBike_footpeg%60          
54    wall                motorBike_rr-wh-chain-hub%61  
55    wall                motorBike_rear-brake-caliper%62
56    wall                motorBike_rider-helmet%65     
57    wall                motorBike_rider-visor%66      
58    wall                motorBike_rider-boots%67      
59    wall                motorBike_rider-gloves%68     
60    wall                motorBike_rider-body%69       
61    wall                motorBike_frame:0%70          
62    wall                motorBike_frt-fairing:001-shadow%74
63    wall                motorBike_windshield-shadow%75
64    wall                motorBike_fr-mud-guard-shadow%81
65    wall                motorBike_fr-wh-brake-disk-shadow%83
66    wall                motorBike_rear-mud-guard-shadow%84
67    wall                motorBike_rear-susp-spring-damp-shadow%85
68    wall                motorBike_radiator-shadow%86  
69    wall                motorBike_rear-shock-link-shadow%87
70    wall                motorBike_rear-brake-fluid-pot-bracket-shadow%88
71    wall                motorBike_rr-wh-chain-hub-shadow%89

Added patches in = 0.03 s

[0] Selecting decompositionMethod hierarchical
[3] Selecting decompositionMethod hierarchical
[5] Selecting decompositionMethod hierarchical
[2] Selecting decompositionMethod hierarchical
[1] Selecting decompositionMethod hierarchical
[4] Selecting decompositionMethod hierarchical
Layer thickness specified as final layer and expansion ratio.

Refinement phase
----------------

Found point (3.0001 3.0001 0.43) in cell 22 on processor 4

Feature refinement iteration 0
------------------------------

Marked for refinement due to explicit features             : 10 cells.
Determined cells to refine in = 0.02 s
Selected for feature refinement : 10 cells (out of 1280)
Edge intersection testing:
    Number of edges             : 4479
    Number of edges to retest   : 388
    Number of intersected edges : 26
Refined mesh in = 0.01 s
After refinement feature refinement iteration 0 : cells:1350  faces:4479  points:1823
Cells per refinement level:
    0	1270
    1	80
Balanced mesh in = 0.01 s
After balancing feature refinement iteration 0 : cells:1350  faces:4479  points:1823
Cells per refinement level:
    0	1270
    1	80

Feature refinement iteration 1
------------------------------

Marked for refinement due to explicit features             : 26 cells.
Determined cells to refine in = 0.02 s
Selected for feature refinement : 32 cells (out of 1350)
Edge intersection testing:
    Number of edges             : 5259
    Number of edges to retest   : 1149
    Number of intersected edges : 127
Refined mesh in = 0.01 s
After refinement feature refinement iteration 1 : cells:1574  faces:5259  points:2167
Cells per refinement level:
    0	1264
    1	102
    2	208
Balanced mesh in = 0.01 s
After balancing feature refinement iteration 1 : cells:1574  faces:5259  points:2167
Cells per refinement level:
    0	1264
    1	102
    2	208

Feature refinement iteration 2
------------------------------

Marked for refinement due to explicit features             : 100 cells.
Determined cells to refine in = 0.03 s
Selected for feature refinement : 120 cells (out of 1574)
Edge intersection testing:
    Number of edges             : 8103
    Number of edges to retest   : 3798
    Number of intersected edges : 726
Refined mesh in = 0.01 s
After refinement feature refinement iteration 2 : cells:2414  faces:8103  points:3354
Cells per refinement level:
    0	1260
    1	118
    2	236
    3	800
Balanced mesh in = 0.02 s
After balancing feature refinement iteration 2 : cells:2414  faces:8103  points:3354
Cells per refinement level:
    0	1260
    1	118
    2	236
    3	800

Feature refinement iteration 3
------------------------------

Marked for refinement due to explicit features             : 447 cells.
Determined cells to refine in = 0.04 s
Selected for feature refinement : 539 cells (out of 2414)
Edge intersection testing:
    Number of edges             : 20616
    Number of edges to retest   : 16350
    Number of intersected edges : 3115
Refined mesh in = 0.02 s
After refinement feature refinement iteration 3 : cells:6187  faces:20616  points:8337
Cells per refinement level:
    0	1252
    1	159
    2	359
    3	841
    4	3576
Balanced mesh in = 0.03 s
After balancing feature refinement iteration 3 : cells:6187  faces:20616  points:8337
Cells per refinement level:
    0	1252
    1	159
    2	359
    3	841
    4	3576

Feature refinement iteration 4
------------------------------

Marked for refinement due to explicit features             : 1726 cells.
Determined cells to refine in = 0.05 s
Selected for feature refinement : 2001 cells (out of 6187)
Edge intersection testing:
    Number of edges             : 68094
    Number of edges to retest   : 62382
    Number of intersected edges : 11403
Refined mesh in = 0.05 s
After refinement feature refinement iteration 4 : cells:20194  faces:68094  points:27936
Cells per refinement level:
    0	1250
    1	168
    2	380
    3	890
    4	3698
    5	13808
[5] 
[5] 
[5] --> FOAM FATAL IO ERROR: 
[5] incorrect first token, expected '(', found on line 0 the punctuation token '['
[5] 
[5] file: IOstream at line 0.
[5] 
[5]     From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::List<T>&) [with T = Foam::Vector<double>]
[5]     in file /home/ubuntu/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/ListIO.C at line 131.
[5] 
FOAM parallel run exiting
[5] 
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 5 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[ip-172-31-32-118:18020] 5 more processes have sent help message help-mpi-btl-base.txt / btl:no-nics
[ip-172-31-32-118:18020] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
log.snappyHexMesh (12,032 bytes)   

henry

2020-01-14 16:35

manager   ~0011066

I've attached the log file for snappyHexMesh that I get with OpenFOAM-dev
log.snappyHexMesh.gz (15,935 bytes)

JeroenJanssen

2020-01-17 13:00

reporter   ~0011072

Hi Henry,

Thanks. I've tried it again just now. Unfortunately it still crashes at the same point...
I've gone through these steps this morning:

- launch a fresh AWS instance with Linux Ubuntu Server 18.04 LTS (ami-0be057a22c63962cb)
- install OpenFOAM-dev (downloaded this morning) through the command line according the instructions (https://openfoam.org/download/dev-ubuntu/)
- copy the motorBike tutorial to the run folder
- run ./Allrun

snappyHexMesh crashes at the same location with an IOStream error:
[5] --> FOAM FATAL IO ERROR:
[5] incorrect first token, expected '(', found on line 0 the punctuation token '['
[5]
[5] file: IOstream at line 0.
[5]
[5] From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::List<T>&) [with T = Foam::Vector<double>]
[5] in file /home/ubuntu/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/ListIO.C at line 131.
[5]
FOAM parallel run exiting

I've gone through all the case files and compared the OF7 and OF-dev versions, they are both identical. The only small difference I can see between your and my log file is the OF Build (dev-7fdfe4224aad for mine and dev-2771c1f85c26 for yours) and I noticed that your log file has an additional line printed in line 33:
SetNaN : Initialising allocated memory to NaN (FOAM_SETNAN).

I've also run another tutorial windAroundBuildings. It succeeds on a single core, but crashes too in parallel with the same error. (Let me know if you'd prefer for me to raise a separate issue, as it seems this is probably not related to my original question anymore).

In addition, I put a cuttingPlane in this case and can confirm that it produces triangulated vtk files (see the images attached). The meshes are not very pretty, as it introduces triangles with a very high aspect ratio between each cell. I use these triangulated .vtk files to visualise results back in Rhino (3d CAD package), which only allows for tri or quad meshes. As these vtk files are quite large usually, I expect these additional triangles will make these meshes quite heavy, it would be great to have this original triangulate flag back in the dictionaries.

I hope that helps getting to the bottom of this...

Thanks,
Jeroen


PS: Also... The interface of this site is not that great. I had to type this twice as it timed out while I was typing and finding some stuff out (the suggested back button is bringing you back to the main page and therefore all the typed input and files disappear ...)
log-2.snappyHexMesh (12,035 bytes)   
--------------------------------------------------------------------------
[[47437,1],3]: A high-performance Open MPI point-to-point messaging module
was unable to find any relevant network interfaces:

Module: OpenFabrics (openib)
  Host: ip-172-31-43-252

Another transport will be used instead, although this may result in
lower performance.

NOTE: You can disable this warning by setting the MCA parameter
btl_base_warn_component_unused to 0.
--------------------------------------------------------------------------
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : dev-7fdfe4224aad
Exec   : snappyHexMesh -parallel -overwrite
Date   : Jan 17 2020
Time   : 11:45:51
Host   : "ip-172-31-43-252"
PID    : 15703
I/O    : uncollated
Case   : /home/ubuntu/OpenFOAM/ubuntu-dev/run/motorBike
nProcs : 6
Slaves : 
5
(
"ip-172-31-43-252.15704"
"ip-172-31-43-252.15705"
"ip-172-31-43-252.15706"
"ip-172-31-43-252.15707"
"ip-172-31-43-252.15708"
)

Pstream initialized with:
    floatTransfer      : 0
    nProcsSimpleSum    : 0
    commsType          : nonBlocking
    polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Read mesh in = 0 s

Overall mesh bounding box  : (-5 -4 0) (15 4 8)
Relative tolerance         : 1e-06
Absolute matching distance : 2.29783e-05

Reading refinement surfaces.
Read refinement surfaces in = 0.99 s

Reading refinement shells.
Refinement level 4 for all cells inside refinementBox
Read refinement shells in = 0 s

Setting refinement level of surface to be consistent with shells.
Checked shell refinement in = 1.08 s

Reading features.
Read edgeMesh motorBike.eMesh
    points      : 20665
    edges       : 20867
    boundingBox : (-0.241214 -0.337971 -4.232e-05) (1.75115 0.329368 1.21979)

Refinement level according to distance to "motorBike.eMesh" (20665 points, 20867 edges).
    level 6 for all cells within 0 metre.
Read features in = 0.03 s


Determining initial surface intersections
-----------------------------------------

Edge intersection testing:
    Number of edges             : 4224
    Number of edges to retest   : 4224
    Number of intersected edges : 2
Calculated surface intersections in = 0.01 s

Initial mesh : cells:1280  faces:4224  points:1701
Cells per refinement level:
    0	1280

Adding patches for surface regions
----------------------------------

Patch Type                Region                        
----- ----                ------                        
motorBike:

5     wall                motorBike_frt-fairing:001%1   
6     wall                motorBike_windshield:002%2    
7     wall                motorBike_rr-wh-rim:005%5     
8     wall                motorBike_rr-wh-rim:010%10    
9     wall                motorBike_fr-wh-rim:011%11    
10    wall                motorBike_fr-wh-brake-disk:012%12
11    wall                motorBike_frame:016-shadow%13 
12    wall                motorBike_rear-susp:014%14    
13    wall                motorBike_rear-susp:014-shadow%15
14    wall                motorBike_frame:016%16        
15    wall                motorBike_rr-wh-rim:005-shadow%17
16    wall                motorBike_rr-wh-chain-hub:022%22
17    wall                motorBike_rearseat%24         
18    wall                motorBike_frt-fairing%25      
19    wall                motorBike_windshield%26       
20    wall                motorBike_headlights%27       
21    wall                motorBike_driversseat%28      
22    wall                motorBike_rear-body%29        
23    wall                motorBike_fuel-tank%30        
24    wall                motorBike_exhaust%31          
25    wall                motorBike_rr-wh-rim%32        
26    wall                motorBike_fr-mud-guard%33     
27    wall                motorBike_fr-wh-rim%34        
28    wall                motorBike_fr-wh-brake-disk%35 
29    wall                motorBike_fr-brake-caliper%36 
30    wall                motorBike_fr-wh-tyre%37       
31    wall                motorBike_hbars%38            
32    wall                motorBike_fr-forks%39         
33    wall                motorBike_chain%40            
34    wall                motorBike_rr-wh-tyre%41       
35    wall                motorBike_square-dial%42      
36    wall                motorBike_round-dial%43       
37    wall                motorBike_dial-holder%44      
38    wall                motorBike_rear-susp%45        
39    wall                motorBike_rear-brake-lights%46
40    wall                motorBike_rear-light-bracket%47
41    wall                motorBike_frame%48            
42    wall                motorBike_rear-mud-guard%49   
43    wall                motorBike_rear-susp-spring-damp%50
44    wall                motorBike_fairing-inner-plate%51
45    wall                motorBike_clutch-housing%52   
46    wall                motorBike_radiator%53         
47    wall                motorBike_water-pipe%54       
48    wall                motorBike_water-pump%55       
49    wall                motorBike_engine%56           
50    wall                motorBike_rear-shock-link%57  
51    wall                motorBike_rear-brake-fluid-pot-bracket%58
52    wall                motorBike_rear-brake-fluid-pot%59
53    wall                motorBike_footpeg%60          
54    wall                motorBike_rr-wh-chain-hub%61  
55    wall                motorBike_rear-brake-caliper%62
56    wall                motorBike_rider-helmet%65     
57    wall                motorBike_rider-visor%66      
58    wall                motorBike_rider-boots%67      
59    wall                motorBike_rider-gloves%68     
60    wall                motorBike_rider-body%69       
61    wall                motorBike_frame:0%70          
62    wall                motorBike_frt-fairing:001-shadow%74
63    wall                motorBike_windshield-shadow%75
64    wall                motorBike_fr-mud-guard-shadow%81
65    wall                motorBike_fr-wh-brake-disk-shadow%83
66    wall                motorBike_rear-mud-guard-shadow%84
67    wall                motorBike_rear-susp-spring-damp-shadow%85
68    wall                motorBike_radiator-shadow%86  
69    wall                motorBike_rear-shock-link-shadow%87
70    wall                motorBike_rear-brake-fluid-pot-bracket-shadow%88
[1] Selecting decompositionMethod hierarchical
[2] Selecting decompositionMethod hierarchical
[3] Selecting decompositionMethod hierarchical
[4] Selecting decompositionMethod hierarchical
[5] Selecting decompositionMethod hierarchical
71    wall                motorBike_rr-wh-chain-hub-shadow%89

Added patches in = 0.03 s

[0] Selecting decompositionMethod hierarchical
Layer thickness specified as final layer and expansion ratio.

Refinement phase
----------------

Found point (3.0001 3.0001 0.43) in cell 22 on processor 4

Feature refinement iteration 0
------------------------------

Marked for refinement due to explicit features             : 10 cells.
Determined cells to refine in = 0.02 s
Selected for feature refinement : 10 cells (out of 1280)
Edge intersection testing:
    Number of edges             : 4479
    Number of edges to retest   : 388
    Number of intersected edges : 26
Refined mesh in = 0.01 s
After refinement feature refinement iteration 0 : cells:1350  faces:4479  points:1823
Cells per refinement level:
    0	1270
    1	80
Balanced mesh in = 0.01 s
After balancing feature refinement iteration 0 : cells:1350  faces:4479  points:1823
Cells per refinement level:
    0	1270
    1	80

Feature refinement iteration 1
------------------------------

Marked for refinement due to explicit features             : 26 cells.
Determined cells to refine in = 0.02 s
Selected for feature refinement : 32 cells (out of 1350)
Edge intersection testing:
    Number of edges             : 5259
    Number of edges to retest   : 1149
    Number of intersected edges : 127
Refined mesh in = 0.01 s
After refinement feature refinement iteration 1 : cells:1574  faces:5259  points:2167
Cells per refinement level:
    0	1264
    1	102
    2	208
Balanced mesh in = 0.01 s
After balancing feature refinement iteration 1 : cells:1574  faces:5259  points:2167
Cells per refinement level:
    0	1264
    1	102
    2	208

Feature refinement iteration 2
------------------------------

Marked for refinement due to explicit features             : 100 cells.
Determined cells to refine in = 0.03 s
Selected for feature refinement : 120 cells (out of 1574)
Edge intersection testing:
    Number of edges             : 8103
    Number of edges to retest   : 3798
    Number of intersected edges : 726
Refined mesh in = 0.01 s
After refinement feature refinement iteration 2 : cells:2414  faces:8103  points:3354
Cells per refinement level:
    0	1260
    1	118
    2	236
    3	800
Balanced mesh in = 0.01 s
After balancing feature refinement iteration 2 : cells:2414  faces:8103  points:3354
Cells per refinement level:
    0	1260
    1	118
    2	236
    3	800

Feature refinement iteration 3
------------------------------

Marked for refinement due to explicit features             : 447 cells.
Determined cells to refine in = 0.04 s
Selected for feature refinement : 539 cells (out of 2414)
Edge intersection testing:
    Number of edges             : 20616
    Number of edges to retest   : 16350
    Number of intersected edges : 3115
Refined mesh in = 0.02 s
After refinement feature refinement iteration 3 : cells:6187  faces:20616  points:8337
Cells per refinement level:
    0	1252
    1	159
    2	359
    3	841
    4	3576
Balanced mesh in = 0.03 s
After balancing feature refinement iteration 3 : cells:6187  faces:20616  points:8337
Cells per refinement level:
    0	1252
    1	159
    2	359
    3	841
    4	3576

Feature refinement iteration 4
------------------------------

Marked for refinement due to explicit features             : 1726 cells.
Determined cells to refine in = 0.06 s
Selected for feature refinement : 2001 cells (out of 6187)
Edge intersection testing:
    Number of edges             : 68094
    Number of edges to retest   : 62382
    Number of intersected edges : 11403
Refined mesh in = 0.04 s
After refinement feature refinement iteration 4 : cells:20194  faces:68094  points:27936
Cells per refinement level:
    0	1250
    1	168
    2	380
    3	890
    4	3698
    5	13808
[5] 
[5] 
[5] --> FOAM FATAL IO ERROR: 
[5] incorrect first token, expected '(', found on line 0 the punctuation token '['
[5] 
[5] file: IOstream at line 0.
[5] 
[5]     From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::List<T>&) [with T = Foam::Vector<double>]
[5]     in file /home/ubuntu/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/ListIO.C at line 131.
[5] 
FOAM parallel run exiting
[5] 
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 5 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[ip-172-31-43-252:15698] 5 more processes have sent help message help-mpi-btl-base.txt / btl:no-nics
[ip-172-31-43-252:15698] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
log-2.snappyHexMesh (12,035 bytes)   

henry

2020-01-17 13:49

manager   ~0011073

You will need

commit 2771c1f85c267e9925c2796b52b3ae010fae6179
Author: Henry Weller <http://openfoam.org>
Date: Mon Jan 13 19:55:18 2020 +0000

    coupledPolyPatch: Added initialisation of ordering_ data member
    
    Resolves bug-report https://bugs.openfoam.org/view.php?id=3428

which is more recent than commit-7fdfe4224aad.

Try compiling the latest OpenFOAM-dev sources.

henry

2020-01-17 13:51

manager   ~0011074

> PS: Also... The interface of this site is not that great. I had to type this twice as it timed out while I was typing and finding some stuff out (the suggested back button is bringing you back to the main page and therefore all the typed input and files disappear ...)

Agreed, I have also had this problem in the past. Have you reported it to the maintainers of the Mantis software?

JeroenJanssen

2020-01-17 17:48

reporter   ~0011076

yes that worked!
It's fully running and exporting the triangulated .vtk files.
Thanks!

ok, no, I didn't report it yet, but I will push my comment through to Mantis.

henry

2020-01-17 18:05

manager   ~0011077

Resolved by commit 2771c1f85c267e9925c2796b52b3ae010fae6179

Issue History

Date Modified Username Field Change
2020-01-10 12:04 JeroenJanssen New Issue
2020-01-10 16:36 henry Note Added: 0011051
2020-01-13 12:28 JeroenJanssen File Added: motorBike.zip
2020-01-13 12:28 JeroenJanssen File Added: U_yNormal.vtk
2020-01-13 12:28 JeroenJanssen Note Added: 0011053
2020-01-13 14:36 henry Note Added: 0011054
2020-01-13 14:41 henry Note Added: 0011055
2020-01-14 11:16 JeroenJanssen Note Added: 0011058
2020-01-14 11:30 henry Note Added: 0011059
2020-01-14 15:44 JeroenJanssen File Added: log.snappyHexMesh
2020-01-14 15:44 JeroenJanssen Note Added: 0011063
2020-01-14 16:35 henry File Added: log.snappyHexMesh.gz
2020-01-14 16:35 henry Note Added: 0011066
2020-01-17 13:00 JeroenJanssen File Added: cuttingPlane_windAroundBuildings.PNG
2020-01-17 13:00 JeroenJanssen File Added: cuttingPlane_windAroundBuildings02.PNG
2020-01-17 13:00 JeroenJanssen File Added: log-2.snappyHexMesh
2020-01-17 13:00 JeroenJanssen Note Added: 0011072
2020-01-17 13:49 henry Note Added: 0011073
2020-01-17 13:51 henry Note Added: 0011074
2020-01-17 17:48 JeroenJanssen Note Added: 0011076
2020-01-17 18:05 henry Assigned To => henry
2020-01-17 18:05 henry Status new => resolved
2020-01-17 18:05 henry Resolution open => fixed
2020-01-17 18:05 henry Fixed in Version => dev
2020-01-17 18:05 henry Note Added: 0011077