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

[snappyHexMesh] defining non-cubic blocks to toposet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 4, 2017, 08:55
Post defining non-cubic blocks to toposet
  #1
New Member
 
sara jamali
Join Date: Jul 2017
Location: Iran
Posts: 3
Rep Power: 8
sarajamali is on a distinguished road
Dear all,
I am beginner in openfoam and would be thankful to have your recommendations.
i want to define some blocks in toposet which are not rectangular cubes, they are Trapezoid cubes, so i cant use boxtocell . how can i define my blocks in toposet?
Thanks
sarajamali is offline   Reply With Quote

Old   August 15, 2017, 05:35
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

Perhaps the option "rotatedBoxToCell" meets your requirements?

https://openfoamwiki.net/index.php/TopoSet

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   August 26, 2017, 05:00
Default
  #3
New Member
 
sara jamali
Join Date: Jul 2017
Location: Iran
Posts: 3
Rep Power: 8
sarajamali is on a distinguished road
Quote:
Originally Posted by Antimony View Post
Hi,

Perhaps the option "rotatedBoxToCell" meets your requirements?

https://openfoamwiki.net/index.php/TopoSet

Cheers,
Antimony
Hi Antimony,
thanks a lot for your response, i tried "rotatedBoxToCell", for some special cases it works, but it doesn't meet what i want exactly, or maybe its better to ask how can i define a pyramid region to toposet?
sarajamali is offline   Reply With Quote

Old   August 26, 2017, 22:58
Default
  #4
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

I don't think there is a way to define a pyramid region directly in topoSet. The only reference to pyramids that I could find was on choosing by cell shape type (hex or pyr or tet etc).

If you know how and where exactly the pyramid should be, you could perhaps do one of two things:

1. Create a STL of the pyramid and use surfaceToCell to create cellSet based on the pyramid STL

2. Break your pyramid into many "boxes" and repeatedly use boxToCell or rotatedBoxToCell as the case maybe. This would again, provide only an approximation, but might still be doable.

Hope this helps/

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   August 29, 2017, 09:41
Default
  #5
New Member
 
sara jamali
Join Date: Jul 2017
Location: Iran
Posts: 3
Rep Power: 8
sarajamali is on a distinguished road
Dear Antimony,
thanks for your comment, I try the first method you mentioned.

Regards
Sara
sarajamali is offline   Reply With Quote

Reply

Tags
non-cubic blocks, toposet


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] Face reduced to less than 3 points (simple cubic blocks) mikeR OpenFOAM Meshing & Mesh Conversion 7 July 20, 2023 19:27
[Commercial meshers] COnvert FLuent MEsh to openfoam with interface manuc OpenFOAM Meshing & Mesh Conversion 1 July 25, 2017 03:13
[Commercial meshers] converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Meshing & Mesh Conversion 31 March 29, 2017 05:59
dsmcInitialise - dsmcFoam archymedes OpenFOAM Pre-Processing 94 July 15, 2016 16:14
[Other] How to create an MRF zone ? aminem OpenFOAM Meshing & Mesh Conversion 2 December 8, 2014 10:45


All times are GMT -4. The time now is 01:39.