problem in toposet
Hi Foamers,
i'm trying to run chtMultiRegionFoam on my own case, it's a tube with outer diameter 11cm, inner diameter 10cm and length 100cm i created a cylinder in blockMesh file with outer diameter 11cm and length 100 cm asin this code Code:
convertToMeters 0.01; Code:
actions Code:
Create time Code:
Create time |
Dears,
finally i have found the problem. in blockMeshDict i have converted units to centimeter so i have wrote 0.1m as 10. in toposet i used same value but it red it as meters so 10 became 10m. it red only tube region because it was invert of other region which had been red as empty. as assigned all cells for tube region. now every thing is do well. thanks for all who red this post. ahmed |
Hi,
What does topoSet do ? |
Quote:
topoSet is used to split your mesh into many regions so you can give properties to the entire region not only for patches. i used for the first time for heat transfer problem in chtMultiRegioFoam solver with multiRegionHeater case. you can try the case and will get a good experience of it. if any question don't hesitate to post for me. good luck :) |
New to OpenFoam and I am attempting post process the results from the the chtMultiRegionFoam tutorials. I cannot seem to get paraview to read any of the files. If I attempt to look at the with a gedit the file does not load correctly and I get nonsense. This has not been a problem for other tutorials. I am running open foam on a virtually install Ubuntu 12.04.
Suggestions please Thanks |
Quote:
i experienced same problem before, after processing chtMultiRegionFoam solver, as usual type paraFoam and paraview will open then from toolbar choose file then open, it will open window for you shows the directory of your case choose the five files with .openfoam extension (bottomair topair heater rightssolid leftsolid), click apply. now you can see results. the problem with gedit is that results are written in binary so you can't see it correctly. if you want go to controlDict file in system directory then change ninary to Ascii code then you will see results correctly. good luck :) |
Thx
Ahmed That did it. |
you are welcome.
|
Hello sir,
1)can you please tell me the significance of 'invert' action? also 2) what does 'type cellset' & 'type cellzoneset' mean? |
Quote:
1- invert is used to specify region which is the rest of the domain instead of specify it as every region you can just say that it is the invert of all regions in the domain. 2- about this question give me more time to get a detailed answer for you. :):):) |
Hi ~~ I wonder do you still work on chtMultiRegionFoam? cuz I see that the time you replied is really long time ago, I am totally new to OPenFoam, and now I am trying to split the region into solid and fluid. I generated my mesh in ICEM, and converted it in Openfoam, and now I am trying to split the region, I try to define the region in MakeCellSets file, I wonder am I doing right? Should I split the region in MakeCellSets or topoSet? I feel so confused, really hope that you can reply me! THanks!!!
|
Hi all
I am building a test case with 2 main regions (1 solid and 1 fluid attached together). I built it simply by using topoSet. My question is if I wanna create a wallFilmRegion between these two regions, how can I address the source info for that? I mean what it the correct source info for this patch? If you look at the case "tutorail/lagrangian/reactingParcelFilmFoam/rivuletpanel", the wallFilmRegion is created using a source from blockMeshDict. { name wallFilm; type faceSet; action new; source patchToFace; sourceInfo { name filmWalls; } } { name wallFilm; type faceZoneSet; action new; source setToFaceZone; sourceInfo { faceSet wallFilmFaces; } } But in my case the connecting patch between solid region and fluid region is not defined in advance and should be created within the topoSet itself! (First by topoSet I define 2 regions and now I wanna address the patch in between as source for wallFilmRegion.) any idea for that!? |
topoSetDict
1 Attachment(s)
Hi
How can be defined for a triangular box? |
Quote:
Did you find the solution for this geometry. I also have same problem? Umer |
topoSet in inclined box
Hello all,
How can I define an inclined cell zone (a rectangular box inclined at an angle), as boxToCell gives horizontal Thank you |
Hi,
according to this https://openfoamwiki.net/index.php/TopoSet you could use Code:
surfaceToCell Code:
setToCellZone In any case the problem is that you have to get to a mesh with cells not intersecating your stl surface or you won't get a smooth and plained "surface" at your cellZone. Regards. |
Usage of topoSetDict
Hello,
Can any one help me in understanding, how the topoSetDict is functioning and what exactly is box defines. Will this box collects all the information from the cells ? :confused: |
creating square patch (for air inlet) on the bottom face using cellset in toposet
Hi all,
I am trying to feed air through a square inlet on the bottom face of a 3D rectangular tank filled with water. I am able to do this using faceset in toposet dict as follows: { name faceGrabbed; type faceSet; action new; source boxToFace; sourceInfo { box (0.035 0.035 0.08)(0.04 0.04 0.08); } } But when i tried to do it with cellset (by replacing the type with cellset) as given below in toposet dict then I am facing the following error: unexpected class name cellset expected faceset while reading object faceGrabbed. { name faceGrabbed; type cellSet; action new; source boxToCell; sourceInfo { box (0.015 0.015 0)(0.02 0.02 0); } } ) My create patch dictionary is as follows: { //- name of new patch name bubble; //- type of new patch patchInfo { type patch; } //- How to construct: either from 'patches' or 'set' constructFrom set; //- if constructionFrom = set : name of faceSet set faceGrabbed; } ); I am running the following commands: blockMesh TopoSet CreatePatchDict -overwrite -------here I am getting error: Foam fatal IO error: unexpected class name cellset expected faceset while reading object faceGrabbed. Can anyone please help as I tried a lot to retrieve this. Quote:
|
From your topoSetDict:
Quote:
Quote:
Maybe you should define a faceSet into your topoSet... |
Yes, I did it with faceset. But I want to try the same with cellset also. The reason for using cellset is to create circular patch in future instead of square patch as mentioned above. As far as I know, we can only create circular patch using cellset.
So I want to know how can i do it with cellset in toposet. Thanks for your reply. Quote:
|
All times are GMT -4. The time now is 22:10. |