|
[Sponsors] |
September 22, 2014, 17:42 |
topoSetDict by Mesh from another Software
|
#1 |
Member
Parisa
Join Date: Feb 2013
Posts: 51
Rep Power: 13 |
Hi,
I have imported a mesh from another software to OpenFOAM. Right now, I have all the faces in the boundary file in polymesh. I am using chtMultiRegionFoam. How can I set the topoSetDict? In the sourceInfo, I would like to put all the faces that make the cell. What should be the keyword in the source? Is that my strategy correct? Regards, Parisa |
|
September 22, 2014, 18:15 |
|
#2 |
Member
Parisa
Join Date: Feb 2013
Posts: 51
Rep Power: 13 |
In a better way to ask, suppose that I have all the boundary faces.
How can I make the zone with the available faces, and then set the zone. Thanks, Parisa |
|
October 4, 2014, 13:01 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Greetings Parisa,
Since you didn't provide specific details, I'll have to give a general answer. You can use this command to find tutorials that use topoSet: Code:
find $FOAM_TUTORIALS -name Allrun | xargs grep -sl topoSet Code:
find $FOAM_UTILITIES -name topoSetDict Bruno
__________________
|
|
December 12, 2014, 06:29 |
|
#4 |
Member
Join Date: Oct 2014
Posts: 42
Rep Power: 11 |
Good Morning,
I am very interested on this thread, so I will detail my problem. I guess it is exactly the same that Parisa_Khiabani had. I have been working with engrid and I have a complete model (includin its mesh) which consists of a cube inside another cube. The fluid will enter from the inlet and it will go out by the outlet, and the idea is to analyse the influence on it about temperature. For this purpose I have worked with chtMultiregionSimpleFoam. I achieved to do the same but creating the 2 cubes directly from OpenFoam, the first one with the mesh and the second one as a region in topoSetDict. PHP Code:
PHP Code:
If I just substitute this files in the polymesh of my OF model, it gaves problem with the fluid region. I have been testing and I got the conclusion that the cube of my engrid file would be cutting the fluid region, so it doesn't know how to interpret it. So my question to the forum is: What I have to do to have my element of study (in this case is the little cube, but it could be a cylinder or whatever) to make it work as a region in topoSetDict and not having to create it?? In this case a cube it is not a problem, but you can imagine if it is a complex structure. I guess it should be similiar to what I found here: https://github.com/OpenFOAM/OpenFOAM...SetDicthttp:// between lines 145 and 158. I post it here but I don't know why it doesn't paste well. // // Select based on surface // source surfaceToCell; // sourceInfo // { // file "www.avl.com-geometry.stl"; // useSurfaceOrientation false; // use closed surface inside/outside // // test (ignores includeCut, // // outsidePoints) // outsidePoints ((-99 -99 -59)); // definition of outside // includeCut false; // cells cut by surface // includeInside false; // cells not on outside of surf // includeOutside false; // cells on outside of surf // nearDistance -1; // cells with centre near surf // // (set to -1 if not used) // curvature 0.9; // cells within nearDistance // // and near surf curvature // // (set to -100 if not used) // } I attach the following pictures: engrid model and the case made directly from OF with this solver. If it is necessary to attach any further information don't hesitate to ask. This is quite important for my and I don't know how to continue. Thank you in advance! Last edited by Wien3; December 12, 2014 at 07:31. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
Gambit problems | Althea | FLUENT | 22 | January 4, 2017 03:19 |
[ICEM] surface mesh merging problem | everest | ANSYS Meshing & Geometry | 44 | April 14, 2016 06:41 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |
Mesh generation software is needed | H.Dou | Main CFD Forum | 12 | May 4, 2011 15:20 |