Advertisement
Guest User

Untitled

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