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

[blockMesh] 3D blockMesh with input/output patch

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 1, 2016, 08:43
Default 3D blockMesh with input/output patch
  #1
New Member
 
Jeroen
Join Date: Oct 2016
Posts: 21
Rep Power: 9
verboomj is on a distinguished road
Hi all,

I'm currently working with/on the adjointShapeOptimizationFoam solver and i've got it up and running for a 2D case (See pictures velocity/alpha).

http://i.imgur.com/STMqq19.png
http://i.imgur.com/fKrDyBw.png

However, now I want to extend it into 3D and I think there must be a way to do it simpler. See attached my blockMeshDict file.

What I need is something like this, input/out may be square:

http://i.imgur.com/vHzuEFu.jpg

What I did is create 4 planes of vertices and made 27 blocks from that, but now I learned that if you create multiple blocks you have to merge the faces linking each other, that makes it quite a bit complex.

It should end up something like this, but as you can see the results make no sense yet since I havn't merged any patches yet (and probably other things).

http://i.imgur.com/JrWbxW4.png

Any help in the right direction or a simpler method is appreciated!

Cheers, Jeroen.
Attached Images
File Type: png 3d_mesh.PNG (194.1 KB, 29 views)
File Type: jpg image1.jpg (117.5 KB, 20 views)
File Type: png 2d_mesh.PNG (82.5 KB, 19 views)
File Type: png 2d_mesh_alpha.PNG (106.7 KB, 17 views)
Attached Files
File Type: txt blockMeshDict.txt (3.6 KB, 23 views)
verboomj is offline   Reply With Quote

Old   November 3, 2016, 04:04
Default
  #2
New Member
 
Jeroen
Join Date: Oct 2016
Posts: 21
Rep Power: 9
verboomj is on a distinguished road
Fixed it, should've assigned zeroGradient/noSlip to the outer walls. However, it is still a rather complex mesh for a very simple goal, just an in- and output.
verboomj is offline   Reply With Quote

Reply

Tags
3d mesh, adjointshapeoptimization, blockmesh, input/output

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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] Create internal faces as patch in blockMesh m.delta68 OpenFOAM Meshing & Mesh Conversion 14 July 12, 2018 14:43
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 07:30
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
[GAMBIT] periodic faces not matching Aadhavan ANSYS Meshing & Geometry 6 August 31, 2013 11:25
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04


All times are GMT -4. The time now is 04:11.