CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

Re: Regarding blockMesh.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2022, 05:44
Default Re: Regarding blockMesh.
  #1
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Hello all,

I am trying to merge the airfoil and base parts. I do not know how to merge it. If anyone has ideas please help me out of this problem. Thanks
HTML Code:
scale    0.001;

vertices
(
		
     // Profilepoints front
        (-48.15713 7.76775 12.1)   // 0
        (48.15713 2.5465  12.1)    // 1
        (48.15713 -2.5465 12.1)    // 2
        (-48.15713 -7.76775 12.1)  // 3
        
       
        (-48.15713 7.76775 102.1)   // 4
        (48.15713 2.5465  102.1)    // 5
        (48.15713 -2.5465 102.1)    // 6
        (-48.15713 -7.76775 102.1)  // 7
        
        
       // blockpoints
        (-76.5 76.5 0)     // 8
        (76.5 76.5 0)         // 9
        (76.5 -76.5 0)         // 10
        (-76.5 -76.5 0)       // 11    
        
        (-113 113 96.25)        // 12
        (113 113 96.25)         // 13
        (113 -113 96.25)        // 14
        (-113 -113 96.25)       // 15

);


edges
(

	arc 8 9 (0 76.5 15)
	arc 10 11 (0 -76.5 15)
	arc 12 13 (0 113 110)
	arc 14 15 (0 -113 110)

    //front side
    spline 0 1 (
(-48.15713 7.76775 12.1)
(-46.882 7.897875 12.3)
(-45.5605 8.1035 12.4)
(-44.19413 8.29425 12.5)
(-42.78425 8.469875 12.6)
(-41.332 8.63025 12.7)
(-39.839 8.8775 12.8)
(-38.30675 8.90425  12.9)
(-36.73663 9.017875 13.0)
(-35.13025 9.11575 13.1)
(-33.48913 9.197875 13.2)
(-31.81513 9.2645 13.3)
(-30.10963 9.3155 13.4)
(-28.37438 9.35125 13.5)
(-26.61125 9.371875 13.6)
(-24.82175 9.377625 13.7)
(-23.00775 9.36875 13.8)
(-21.17113 9.345625 13.9)
(-19.3135 9.3085 14.0)
(-17.437 9.258 14.1)
(-15.54313 9.194375 14.2)
(-13.634 9.118 14.3)
(-11.71138 9.0295 14.4)
(-9.777125 8.929375 14.5)
(-7.833375 8.818125 14.6)
(-5.88175 8.696125 14.7)
(-3.924375 8.564125 14.8)
(-1.963125 8.4225 14.9)
(0 8.271875 15)
(1.963125 8.112875 14.9)
(3.924375 7.946 14.8)
(5.88175 7.77175 14.7)
(7.833375 7.59075 14.6)
(9.777125 7.403625 14.5)
(11.71138 7.21075 14.4)
(13.634 7.01275 14.3)
(15.54313 6.810125 14.2)
(17.437 6.6035 14.1)
(19.3135 6.393375 14.0)
(21.17113 6.180125 13.9)
(23.00775 5.964375 13.8)
(24.82175 5.7465 13.7)
(26.61125 5.527125 13.6)
(28.37438 5.306625 13.5)
(30.10963 5.0855 13.4)
(31.81513 4.86425 13.3)
(33.48913 4.64325 13.2)
(35.13025 4.423 13.1)
(36.73663 4.203875 13.0)
(38.30675 3.9865 12.9)
(39.839 3.771125 12.8)
(41.332 3.55825 12.7)
(42.78425 3.348375 12.6)
(44.19413 3.14175 12.5)
(45.5605 2.939 12.4)
(46.882 2.740375 12.3)
(48.15713 2.5465 12.1)
     )


spline 1 2 (

        (48.15713 2.5465 12.1)
      //  (62.5 0.1975 11)
          (62.5 0 10)
      //  (62.5 -0.1975 11)
        (48.15713 -2.5465 12.1)
       

          )
    // upper main spline -> main_spline_00
    spline 3 2 ( 
     
(-48.15713 -7.76775 12.1)
(-46.882 -7.897875 12.3)
(-45.5605 -8.1035 12.4)
(-44.19413 -8.29425 12.5)
(-42.78425 -8.469875 12.6)
(-41.332 -8.63025 12.7)
(-39.839 -8.8775 12.8)
(-38.30675 -8.90425  12.9)
(-36.73663 -9.017875 13)
(-35.13025 -9.11575 13.1)
(-33.48913 -9.197875 13.2)
(-31.81513 -9.2645 13.3)
(-30.10963 -9.3155 13.4)
(-28.37438 -9.35125 13.5)
(-26.61125 -9.371875 13.6)
(-24.82175 -9.377625 13.7)
(-23.00775 -9.36875 13.8)
(-21.17113 -9.345625 13.9)
(-19.3135 -9.3085 14)
(-17.437 -9.258 14.1)
(-15.54313 -9.194375 14.2)
(-13.634 -9.118 14.3)
(-11.71138 -9.0295 14.4)
(-9.777125 -8.929375 14.5)
(-7.833375 -8.818125 14.6)
(-5.88175 -8.696125 14.7)
(-3.924375 -8.564125 14.8)
(-1.963125 -8.4225 14.9)
(0 -8.271875 15)
(1.963125 -8.112875 14.9)
(3.924375 -7.946 14.8)
(5.88175 -7.77175 14.7)
(7.833375 -7.59075 14.6)
(9.777125 -7.403625 14.5)
(11.71138 -7.21075 14.4)
(13.634 -7.01275 14.3)
(15.54313 -6.810125 14.2)
(17.437 -6.6035 14.1)
(19.3135 -6.393375 14.0)
(21.17113 -6.180125 13.9)
(23.00775 -5.964375 13.8)
(24.82175 -5.7465 13.7)
(26.61125 -5.527125 13.6)
(28.37438 -5.306625 13.5)
(30.10963 -5.0855 13.4)
(31.81513 -4.86425 13.3)
(33.48913 -4.64325 13.2)
(35.13025 -4.423 13.1)
(36.73663 -4.203875 13.0)
(38.30675 -3.9865 12.9)
(39.839 -3.771125 12.8)
(41.332 -3.55825 12.7)
(42.78425 -3.348375 12.6)
(44.19413 -3.14175 12.5)
(45.5605 -2.939 12.4)
(46.882 -2.740375 12.3)
(48.15713 -2.5465 12.1)

         )
    
    // lower main spline -> main_spline_01
    spline 3 0 ( 
      
    (-48.157125	-7.67775 12.1)
    (-49.38475	-7.443375 12.0)
    (-50.5635	-7.195125 11.9)
    (-51.6925	-6.933375 11.8)
    (-52.7705	-6.658625 11.7)
    (-53.796375	-6.37125 11.6)
    (-54.769125	-6.071625 11.5)
    (-56.55175 -5.438 11.4)
    (-57.359625 -5.10475 11.3)
    (-58.111 -4.761375 11.2)
    (-58.805 -4.40825 11.1)
    (-59.441 -4.045875 11.0)
    (-60.018375 -3.6746255 10.9)
    (-60.5365 -3.295 10.8)
    (-60.99475 -2.907375 10.7)
    (-61.393 -2.51225 10.6)
    (-61.7305 -2.109875 10.5)
    (-62.007125 -1.700625 10.4)
    (-62.222625 -1.28475 10.3)
    (-62.376625 -0.862625 10.2)
	(-62.469125	-0.43425 10.1)
	(-62.5 0 10)
	(-62.469125 0.43425 10.1)
	(-62.376625 0.862625  10.2)
	(-62.222625 1.28475 10.3)
	(-62.007125 1.700625 10.4)
	(-61.7305 2.109875 10.5)
	(-61.393 2.51225 10.6)
	(-60.99475 2.907375 10.7)
	(-60.5365 3.295 10.8)
	(-60.018375 3.674625 10.9)
    (-59.441 4.045875 11.0)
    (-58.805 4.40825 11.1)
	(-58.111 4.761375 11.2)
	(-57.359625 5.10475 11.3)
    (-56.55175 5.438 11.4)
    (-54.769125	6.071625 11.5)
    (-53.796375	6.37125 11.6)
    (-52.7705	6.658625 11.7)
    (-51.6925	6.933375 11.8)
    (-50.5635	7.195125 11.9)
    (-49.38475	7.443375 12)
    (-48.157125	7.67775 12.1)
    )


  spline 4 5 (
  (-48.15713 7.76775 102.1)
(-46.882 7.897875 102.2)
(-45.5605 8.1035 102.3)
(-44.19413 8.29425 102.4)
(-42.78425 8.469875 102.5)
(-41.332 8.63025 102.6)
(-39.839 8.8775 102.7)
(-38.30675 8.90425  102.8)
(-36.73663 9.017875 102.9)
(-35.13025 9.11575 103.0)
(-33.48913 9.197875 103.1)
(-31.81513 9.2645 103.2)
(-30.10963 9.3155 103.3)
(-28.37438 9.35125 103.4)
(-26.61125 9.371875 103.5)
(-24.82175 9.377625 103.6)
(-23.00775 9.36875 103.7)
(-21.17113 9.345625 103.8)
(-19.3135 9.3085 103.9)
(-17.437 9.258 104.0)
(-15.54313 9.194375 104.1)
(-13.634 9.118 104.2)
(-11.71138 9.0295 104.3)
(-9.777125 8.929375 104.4)
(-7.833375 8.818125 104.5)
(-5.88175 8.696125 104.6)
(-3.924375 8.564125 104.7)
(-1.963125 8.4225 104.8)
(0 8.271875 105)
(1.963125 8.112875 104.9)
(3.924375 7.946 104.8)
(5.88175 7.77175 104.7)
(7.833375 7.59075 104.6)
(9.777125 7.403625 104.5)
(11.71138 7.21075 104.4)
(13.634 7.01275 104.3)
(15.54313 6.810125 104.2)
(17.437 6.6035 104.0)
(19.3135 6.393375 103.9)
(21.17113 6.180125 103.8)
(23.00775 5.964375 103.7)
(24.82175 5.7465 103.6)
(26.61125 5.527125 103.5)
(28.37438 5.306625 103.4)
(30.10963 5.0855 103.3)
(31.81513 4.86425 103.2)
(33.48913 4.64325 103.1)
(35.13025 4.423 103.0)
(36.73663 4.203875 102.9)
(38.30675 3.9865 102.8)
(39.839 3.771125 102.7)
(41.332 3.55825 102.6)
(42.78425 3.348375 102.5)
(44.19413 3.14175 102.4)
(45.5605 2.939 102.3)
(46.882 2.740375 102.2)
(48.15713 2.5465 102.1)
     )


       

spline 5 6 (
         (48.15713 2.5465 102.1)
      //  (62.5 0.1975 11)
          (62.5 0 100)
      //  (62.5 -0.1975 11)
        (48.15713 -2.5465 102.1)
     )

spline 7 6 (
  (-48.15713 -7.76775 102.1)
(-46.882 -7.897875 102.2)
(-45.5605 -8.1035 102.3)
(-44.19413 -8.29425 102.4)
(-42.78425 -8.469875 102.5)
(-41.332 -8.63025 102.6)
(-39.839 -8.8775 102.7)
(-38.30675 -8.90425  102.8)
(-36.73663 -9.017875 102.9)
(-35.13025 -9.11575 103.0)
(-33.48913 -9.197875 103.1)
(-31.81513 -9.2645 103.2)
(-30.10963 -9.3155 103.3)
(-28.37438 -9.35125 103.4)
(-26.61125 -9.371875 103.5)
(-24.82175 -9.377625 103.6)
(-23.00775 -9.36875 103.7)
(-21.17113 -9.345625 103.8)
(-19.3135 -9.3085 103.9)
(-17.437 -9.258 104.0)
(-15.54313 -9.194375 104.1)
(-13.634 -9.118 104.2)
(-11.71138 -9.0295 104.3)
(-9.777125 -8.929375 104.4)
(-7.833375 -8.818125 104.5)
(-5.88175 -8.696125 104.6)
(-3.924375 -8.564125 104.7)
(-1.963125 -8.4225 104.8)
(0 -8.271875 105)
(1.963125 -8.112875 104.9)
(3.924375 -7.946 104.8)
(5.88175 -7.77175 104.7)
(7.833375 -7.59075 104.6)
(9.777125 -7.403625 104.5)
(11.71138 -7.21075 104.4)
(13.634 -7.01275 104.3)
(15.54313 -6.810125 104.2)
(17.437 -6.6035 104.0)
(19.3135 -6.393375 103.9)
(21.17113 -6.180125 103.8)
(23.00775 -5.964375 103.7)
(24.82175 -5.7465 103.6)
(26.61125 -5.527125 103.5)
(28.37438 -5.306625 103.4)
(30.10963 -5.0855 103.3)
(31.81513 -4.86425 103.2)
(33.48913 -4.64325 103.1)
(35.13025 -4.423 103.0)
(36.73663 -4.203875 102.9)
(38.30675 -3.9865 102.8)
(39.839 -3.771125 102.7)
(41.332 -3.55825 102.6)
(42.78425 -3.348375 102.5)
(44.19413 -3.14175 102.4)
(45.5605 -2.939 102.3)
(46.882 -2.740375 102.2)
(48.15713 -2.5465 102.1)
   )
  spline 7 4(
	(-48.157125	-7.67775 102.1)
    (-49.38475	-7.443375 102.0)
    (-50.5635	-7.195125 101.9)
    (-51.6925	-6.933375 101.8)
    (-52.7705	-6.658625 101.7)
    (-53.796375	-6.37125 101.6)
    (-54.769125	-6.071625 101.5)
    (-56.55175 -5.438 101.4)
    (-57.359625 -5.10475 101.3)
    (-58.111 -4.761375 101.2)
    (-58.805 -4.40825 101.1)
    (-59.441 -4.045875 101.0)
    (-60.018375 -3.6746255 100.9)
    (-60.5365 -3.295 100.8)
    (-60.99475 -2.907375 100.7)
    (-61.393 -2.51225 100.6)
    (-61.7305 -2.109875 100.5)
    (-62.007125 -1.700625 100.4)
    (-62.222625 -1.28475 100.3)
    (-62.376625 -0.862625 100.2)
	(-62.469125	-0.43425 100.1)
	(-62.5	0 100)
	(-62.469125	0.43425 100.1)
	(-62.376625 0.862625  100.2)
	(-62.222625 1.28475 100.3)
	(-62.007125 1.700625 100.4)
	(-61.7305 2.109875 100.5)
	(-61.393 2.51225 100.6)
	(-60.99475 2.907375 100.7)
	(-60.5365 3.295 100.8)
	(-60.018375 3.6746255 100.9)
    (-59.441 4.045875 101.0)
    (-58.805 4.40825 101.1)
	(-58.111 4.761375 101.2)
	(-57.359625 5.10475 101.3)
    (-56.55175 5.438 101.4)
    (-54.769125	6.071625 101.5)
    (-53.796375	6.37125 101.6)
    (-52.7705	6.658625 101.7)
    (-51.6925	6.933375 101.8)
    (-50.5635	7.195125 101.9)
    (-49.38475	7.443375 102.0)
    (-48.157125	7.67775 102.1)
)

);

blocks
(


	hex (4 5 6 7 0 1 2 3) (50 50 50) simpleGrading (1 1 1)      //airfoil
	hex (12 13 14 15 8 9 10 11) (50 50 50) simpleGrading (1 1 1)      //block
	

);

boundary
(
    airfoil                   
        {
            type  wall;
            faces
            (
                (4 5 6 7)
		(0 1 2 3)
                (4 0 7 3)
                (1 5 6 2)
                (5 4 0 1)
                (3 7 6 2)
            );
        }                  
   
   externalwall
   
        {
            type  wall;
            faces
            (
                (12 13 14 15)

            );
        }  
   walls
        {
            type  wall;
            faces
            (
            	(8 9 10 11)
                (12 8 11 15)
                (13 9 10 14)

            );
        }  
  );

mergePatchPairs
(

);
I have attached blockMesh photo and file. Please check it and let me know if you get any ideas.
Attached Images
File Type: jpeg WT.jpeg (154.4 KB, 9 views)

Last edited by mehulsasvadiya1996@gmail.; October 19, 2022 at 10:28.
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] OpenFOAM blockMesh bus error BRH OpenFOAM Meshing & Mesh Conversion 0 April 12, 2021 12:02
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 bjdarrer OpenFOAM Installation 7 August 25, 2020 20:15
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 15:53
[blockMesh] set of xyz data in blockMesh psk OpenFOAM Meshing & Mesh Conversion 12 August 27, 2013 09:37
Blockmesh cavity error message tonitoney OpenFOAM Installation 2 March 17, 2008 12:59


All times are GMT -4. The time now is 02:45.