|
[Sponsors] |
January 30, 2018, 09:28 |
Output patch at arbitrary position in domain
|
#1 |
New Member
Oskar
Join Date: Mar 2009
Location: Finland
Posts: 12
Rep Power: 17 |
This can probably be done in post-processing also. But I think creating the patch in pre-processing should reduce the work-steps needed to get values out afterwards.
So I basically have a domain with internal and external flow. I'm trying to get a patch placed in the internal flow section, to be able to get the massflow through the internal section. I want to run several of these with varying geometry, and plot trendlines in relation to the geometry. At the moment I'm outputting a CAD geometry from solidworks with a .stl file. Then snappyHexMesh:ing to get the domain in one go. (outer bounds is just a simple square) But I've never seen this type of data extraction used before. Is there any way to create a patch at a arbitrary place, and have snappyHexMesh fit the mesh to the patch? |
|
January 31, 2018, 06:02 |
|
#2 |
Senior Member
|
Yes, you can make them faceZones. I would suggest some searching for "snappyHexMesh faceZones" to give some ideas.
Regards, Tom |
|
January 31, 2018, 11:43 |
|
#3 |
New Member
Oskar
Join Date: Mar 2009
Location: Finland
Posts: 12
Rep Power: 17 |
Thanks for pointing me in the right direction Tom!
I found some threads about using faceZones from setSet and topoSet. And they seem to be exactly what I need. However, I haven't been able to find any good basic example of how to actually do this. You wouldn't happen to have a link or a short simple description handy? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] outputTime in Swak function | immortality | OpenFOAM Community Contributions | 20 | October 6, 2022 12:08 |
[Other] Wedge patch '*' is not planar | LilumDaru | OpenFOAM Meshing & Mesh Conversion | 6 | January 12, 2021 05:55 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
Pressure distribution on a wall | darazsbence | CFX | 17 | October 6, 2015 10:38 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 13:38 |