Parameterfile External Meshes without Curved Boundaries

From HOPR
Jump to: navigation, search

This parameter file can be found in

tutorials/2-01-external_meshes_sphere/parameter.ini

See External Meshes without Curved Boundaries for a detailed description. The parameter file must not follow a given structure. If mandatory parameters are not given, an error message will be shown.

Parameterfile

!=============================================================================== !
! OUTPUT
!=============================================================================== !
  projectname=SPHERE               ! name of the project (used for filenames)
  Debugvisu    =T                  ! Write debug mesh to tecplot file
  outputFormat=1
!=============================================================================== !
! MESH
!=============================================================================== !
Mode      =3                       ! 1 Cartesian 3 CGNS 4 STAR-CD V3 
  nZones    =3                     ! number of zones
  filename=spheremesh02.cgns       ! name of mesh file
!  filename=spheremesh01.cgns      ! name of mesh file
!  filename=spheremesh04.cgns      ! name of mesh file
 
meshscale=0.001                    ! scales all input meshes by a factor
spacequandt=1000.                  ! tolerance for mesh connectivity (multiplicates with real tolerance)
!=============================================================================== !
! CURVED
!=============================================================================== !
!useCurveds=F                      ! T to generate curved boundaries 
 
!=============================================================================== !
! BOUNDARY CONDITIONS
!=============================================================================== !
  BoundaryName=sphere              ! the BC_Name must be defined in mesh file
  BoundaryType=(/4,1,0,0/)
  BoundaryName=inflow              ! the BC_Name must be defined in mesh file
  BoundaryType=(/2,0,0,0/)
  BoundaryName=outflow             ! the BC_Name must be defined in mesh file
  BoundaryType=(/2,0,0,0/)
  BoundaryName=mantel              ! the BC_Name must be defined in mesh file
  BoundaryType=(/2,0,0,0/)

Screen Output (spheremesh01)

After executing the upper parameter file with the external mesh spheremesh01 the following output will be shown:

====================================================================================================================================
           _______     _______    ___________________    ___________________   ___________________                         xX    
          /      /)   /      /)  /                  /)  /                  /) /                  /)     .xXXXXXXXXx.       X     
         /      //   /      //  /      _____       //  /      _____       // /      _____       //    .XXXXXXXXXXXXXXXx  .XXXXx  
        /      //   /      //  /      /)___/      //  /      /)___/      // /      /)___/      //   .XXXXXXXXXXXXXXXXXXXXXXXXXXx 
       /      //___/      //  /      //   /      //  /      //___/      // /      //___/      //  .XXXXXXXXXXXXXXXXXXXXXXXX´     
      /                  //  /      //   /      //  /                  // /                  //  .XX``XXXXXXXXXXXXXXXXXX´        
     /      _____       //  /      //   /      //  /      ____________// /      __      ____//   XX`  `XXXXX`      .X´           
    /      /)___/      //  /      //   /      //  /      /)___________) /      /)_|    |____)   XX     XXX`       .´             
   /      //   /      //  /      //___/      //  /      //             /      //  |    |__     ,X`    XXX´                       
  /      //   /      //  /                  //  /      //             /      //   |      /)   ,X`   .XX´                         
 /______//   /______//  /__________________//  /______//             /______//    |_____//   ,X`   XX´                           
 )______)    )______)   )__________________)   )______)              )______)     )_____)   xX    XXx                            
 
====================================================================================================================================
------------------------------------------------------------------------------------------------------------------------------------
 INIT OUTPUT...
 | Reading from file "parameter.ini":
 |                    projectname |                            SPHERE | *CUSTOM | 
 |                        Logging |                                 F | DEFAULT | 
 |                      DebugVisu |                                 T | *CUSTOM | 
 |                 DebugVisuLevel |                                 0 | DEFAULT | 
 |                   OutputFormat |                                 1 | *CUSTOM | 
 |                       sfc_type |                           hilbert | DEFAULT | 
 |                      doSortIJK |                                 F | DEFAULT | 
 |           useSpaceFillingCurve |                                 T | DEFAULT | 
 INIT OUTPUT DONE!
------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
 INIT MESH...
 |                     useCurveds |                                 F | DEFAULT | 
 |                           Mode |                                 3 | *CUSTOM | 
 |                         nZones |                                 3 | *CUSTOM | 
 |            meshIsAlreadyCurved |                                 F | DEFAULT | 
 |                          nskip |                                 1 | DEFAULT | 
 |                         nskipZ |                                 1 | DEFAULT | 
 |                     nMeshFiles |                                 1 | DEFAULT | 
 |               BugFix_ANSA_CGNS |                                 F | DEFAULT | 
 |                       FileName |                 spheremesh02.cgns | *CUSTOM | 
 |                   preScaleMesh |                                 F | DEFAULT | 
 |                  postScaleMesh |                                 F | DEFAULT | 
 |                      meshScale |                       0.10000E-02 | *CUSTOM | 
 |                    SpaceQuandt |                       0.10000E+04 | *CUSTOM | 
 |                   BoundaryName |                            sphere | *CUSTOM | 
 |                   BoundaryType |      Integer array of size (   4) | *CUSTOM |     4    1    0    0
 |                   BoundaryName |                            inflow | *CUSTOM | 
 |                   BoundaryType |      Integer array of size (   4) | *CUSTOM |     2    0    0    0
 |                   BoundaryName |                           outflow | *CUSTOM | 
 |                   BoundaryType |      Integer array of size (   4) | *CUSTOM |     2    0    0    0
 |                   BoundaryName |                            mantel | *CUSTOM | 
 |                   BoundaryType |      Integer array of size (   4) | *CUSTOM |     2    0    0    0
 |                        MeshDim |                                 3 | DEFAULT | 
 |                  doZcorrection |                                 F | DEFAULT | 
 |                        OrientZ |                                 F | DEFAULT | 
 |                     SplitToHex |                                 F | DEFAULT | 
 |                      nFineHexa |                                 1 | DEFAULT | 
 |                 MeshPostDeform |                                 0 | DEFAULT | 
 |                 ConformConnect |                                 T | DEFAULT | 
 |             checkElemJacobians |                                 F | DEFAULT | 
 |              jacobianTolerance |                       0.10000E-15 | DEFAULT | 
 INIT MESH DONE!
------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
 INIT BASIS...
 |                          nVisu |                                 1 | DEFAULT | 
 |                       nAnalyze |                                 3 | DEFAULT | 
 INIT BASIS DONE!
------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
 INIT SEARCH...
 |               nElemsNodeSearch |                                25 | DEFAULT | 
 |               RefineSideSearch |                       0.80000E+01 | DEFAULT | 
 INIT SEARCH DONE!
------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
 THE FOLLOWING INI-FILE PARAMETERS WERE IGNORED:
------------------------------------------------------------------------------------------------------------------------------------
====================================================================================================================================
 
                                              Entering fillMesh 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reading CGNS mesh...
 CGNS version:   2.52999997    
 Read Zone Zone_1_1
    read sectionZONE_1
    read sectioninnerfaces
    read sectionBC_sphere
 ERROR - Could not find corresponding boundary definition ofinnerfaces                      
 BC associated:BC_sphere-->sphere
 Read Zone Zone_1_2
    read sectionZONE_2
    read sectioninnerfaces
    read sectionBC_outflow
 ERROR - Could not find corresponding boundary definition ofinnerfaces                      
 BC associated:BC_outflow-->outflow
 Read Zone Zone_1_3
    read sectionZONE_3
    read sectioninnerfaces
    read sectionBC_inflow
    read sectionBC_outflow
    read sectionBC_mantel
 ERROR - Could not find corresponding boundary definition ofinnerfaces                      
 BC associated:BC_inflow-->inflow
 BC associated:BC_outflow-->outflow
 BC associated:BC_mantel-->mantel
DONE!   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   [ time: .005s ]
 Number of Elements:          376
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WRITING THE DEBUGMESH...
   #Elements          376
     WRITE DATA TO TECPLOT ASCII FILE... SPHERE_Debugmesh.dat   DONE
    Mesh visualized for debug purposes in file : SPHERE_Debugmesh
DONE!   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   [ time: .023s ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WRITING THE BC MESH...
   #BCSides          112
     WRITE DATA TO TECPLOT ASCII FILE... SPHERE_Debugmesh_BC.dat   DONE
    Boundary mesh visualized for debug purposes in file : SPHERE_Debugmesh_BC
DONE!   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   [ time: .004s ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Mesh connect starts
Count sides, delete Null BCs and check periodic BCs...
-----------------------------------
number of sides          :         2256
number of Inner sides    :         2144
number of BC sides       :          112
number of periodic sides :            0
-----------------------------------
Insert periodic sides...
Eliminate multiple Nodes...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLOBAL UNIQUE NODES ...
   All Nodes sorted...
   Number of nodes to check:         3008
    size of tolerance box:                    1
  Number of deleted nodes        2554
  Number of unique nodes         454
DONE!   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   [ time: .000s ]
Connect Conforming inner and periodic sides...
    -->         2144  sides of         2144   sides connected.
Mesh Connect completed with success.  
DONE!   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   [ time: .003s ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILD EDGES ...
DONE!   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   [ time: .000s ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLOBAL UNIQUE NODES ...
   All Nodes sorted...
   Number of nodes to check:          454
    size of tolerance box:                    1
  Number of deleted nodes           0
  Number of unique nodes         454
DONE!   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   [ time: .000s ]
 =======================CHECK NODE CONNECTIVITY =========================================
###### CHECK CORNER NODES
###### CHECK EDGE CURVED NODES
###### CHECK SURFACE CURVED NODES
SORT ELEMENTS ON SPACE FILLING CURVE, TYPE hilbert ...
... DONE
 write space filling curve to sfc.dat
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WRITING THE DEBUGMESH...
   #Elements          376
     WRITE DATA TO TECPLOT ASCII FILE... SPHERE_Debugmesh.dat   DONE
    Mesh visualized for debug purposes in file : SPHERE_Debugmesh
DONE!   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   [ time: .021s ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WRITING THE BC MESH...
   #BCSides          112
     WRITE DATA TO TECPLOT ASCII FILE... SPHERE_Debugmesh_BC.dat   DONE
    Boundary mesh visualized for debug purposes in file : SPHERE_Debugmesh_BC
DONE!   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   [ time: .004s ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
                                        GOT mesh (incl. rasterfahndung) 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 WRITE DATA TO HDF5 FILE...
 Mesh statistics:
 Element Type | number of elements
 104        |        0
 204        |        0
 105        |        0
 115        |        0
 205        |        0
 106        |        0
 116        |        0
 206        |        0
 108        |        0
 118        |      376
 208        |        0
DONE!   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   [ time: .000s ]
DONE!   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   [ time: .064s ]
====================================================================================================================================
 HOPR successfully finished: Mesh "SPHERE_mesh.h5" written to HDF5 file.
====================================================================================================================================