CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Creating an Angled, Smooth Wall with topoSetDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2020, 17:34
Default Creating an Angled, Smooth Wall with topoSetDict
  #1
New Member
 
Jake Colburn
Join Date: Jul 2020
Location: Alabama, USA
Posts: 1
Rep Power: 0
JakeAC is on a distinguished road
Hello everybody,

I am trying to simulate gas flow and heat transfer through a converging-diverging nozzle using chtMultiRegionSimpleFoam, and I am running into a problem with creating the cell sets for defining the regions.

As you can see from the screenshot of the converging section, there are three regions: ambient air on the outside of the nozzle (top blue section), the nozzle wall (middle white section), and the gas moving through the nozzle (bottom blue section); the bottom plane is a symmetry plane. I am currently using boxToCell to create the cell sets for the cell zones that are defining the three regions. This creates the problem of having the "stair steps" along the wall rather than a single, smooth line, so I have been trying to figure out a way to basically define the gas cell zone as the combination of a rectangular prism with two triangular prisms, one for the converging portion and one for the diverging portion.

I have tried using boxToCell with one of the sides of the box being the nozzle wall, but that appears to not do anything, and maybe that is because part of the box is overlapping with another. I have also looked through the topoSet cellSet sources, and none of the other sources seem like they will be able to help create a triangular prism cell set.

I've just been using blockMesh and the topoSetDict to create the mesh and create the cellSets, but would another software, such as Gmsh, Pointwise, or the like, be able to set and define the cell sets/zones more easily and/or without the use of the topoSetDict? Or is there a good way to create the smooth wall cell set with blockMesh and topoSetDict that I have been missing?

I've also attached the blockMesh and topoSet files.

Thanks everybody,
Jake
Attached Images
File Type: png Nozzle Zones Screenshot.png (6.6 KB, 30 views)
Attached Files
File Type: txt blockMeshDict.txt (1.6 KB, 7 views)
File Type: txt topoSetDict.txt (4.4 KB, 19 views)
JakeAC is offline   Reply With Quote

Old   July 25, 2020, 22:37
Default
  #2
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19
fumiya is on a distinguished road
Why don't you use snappyHexMesh?
It is time-consuming to generate boundary-fitted mesh with blockMesh.

Hope this helps,
Fumiya

P.S.
We've developed ennovaCFD, a commercial mesh generator with OpenFOAM setup GUI. You can easily generate CHT meshes with cellZones as shown in the attached picture.
Attached Images
File Type: jpg Eb6OuneVcAAV9gj.jpg (57.9 KB, 27 views)
__________________
[Personal]
fumiya 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
Divergence in AMG solver! marina FLUENT 20 August 1, 2020 12:30
Centrifugal fan j0hnny CFX 13 October 1, 2019 14:55
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 18:38
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 09:44
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 10:28


All times are GMT -4. The time now is 12:41.