Advertisement
Guest User

Untitled

a guest
Jul 20th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.40 KB | None | 0 0
  1. /*--------------------------------*- C++ -*----------------------------------*\
  2. | =========                 |                                                 |
  3. | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
  4. |  \\    /   O peration     | Version:  v1806                                 |
  5. |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
  6. |    \\/     M anipulation  |                                                 |
  7. \*---------------------------------------------------------------------------*/
  8. FoamFile
  9. {
  10.     version     2.0;
  11.     format      ascii;
  12.     class       dictionary;
  13.     object      blockMeshDict;
  14. }
  15. // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
  16.  
  17. scale   0.001;
  18.  
  19. vertices
  20. (
  21.     ( -2.03 -2.03 -2.03)
  22.     (  2.03 -2.03 -2.03)
  23.     (  2.03  2.03 -2.03)
  24.     ( -2.03  2.03 -2.03)
  25.     ( -2.03 -2.03 2.03)
  26.     (  2.03 -2.03 2.03)
  27.     (  2.03  2.03 2.03)
  28.     ( -2.03  2.03 2.03)
  29. );
  30.  
  31. blocks
  32. (
  33.     hex (0 1 2 3 4 5 6 7) (50 50 50) simpleGrading (1 1 1)
  34. );
  35.  
  36. edges
  37. (
  38. );
  39.  
  40. boundary
  41. (
  42.     allBoundary
  43.     {
  44.         type patch;
  45.         faces
  46.         (
  47.             (3 7 6 2)
  48.             (0 4 7 3)
  49.             (2 6 5 1)
  50.             (1 5 4 0)
  51.             (0 3 2 1)
  52.             (4 5 6 7)
  53.         );
  54.     }
  55. );
  56.  
  57. // ************************************************************************* //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement