|
[Sponsors] |
October 27, 2020, 11:47 |
OpenFoam cell zones
|
#1 |
Member
Bineet Mehra
Join Date: Aug 2013
Posts: 61
Rep Power: 13 |
Hello,
I have a conjugate heat transfer problem, few electronic components being cooled directly by a fluid (immersion method of cooling) and i am using OpenFoam for this. I have created the geometry and mesh in Salome software and was able to obtain the mesh in .unv format then using IdeasUnvToFoam, in openFoam. Different cellzones corresponding to different solids were identified in a single ""cellZones" file in "constant" folder. Now i need to specify different thermo-physical properties for each solid such as cp, K, rho etc and need to give certain volumetric heat flux values to some solids. I am trying to use splitMeshRegions command to get different zones but not able to due to this error -" Build: _b45f8f6f58-20200629 Expected 0 arguments but found 1 See 'splitMeshRegions -help' for usage" Thanks in advance for any help Regards Last edited by bineet_aero; October 30, 2020 at 09:36. |
|
November 18, 2020, 16:41 |
|
#2 |
Member
Eren
Join Date: Aug 2018
Posts: 86
Rep Power: 9 |
1) You can create different mesh files and combine them with "mergeMeshes" in that way, they will be different regions, converting them to the cellZone with topoSet is easy.
2) You can directly use topoSet to define cellZone, but it is limited with simple geometric shapes(I think you can use stl file too but I haven't tried that). |
|
November 20, 2020, 08:32 |
|
#3 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
In salome create groups for every region and when you import the mesh, they will be in different cellZones, and you can simply use the "splitMeshRegions -cellZones -overwrite" command. (At least it worked a few years ago like this, and I guess it still does.) |
|
November 21, 2020, 04:40 |
|
#4 |
New Member
Declan Keogh
Join Date: Jun 2020
Location: Sydney, Australia
Posts: 11
Rep Power: 6 |
As above, use the commands:
IdeasUnvToFoam -writeZones splitMeshRegions -cellZones -overwrite |
|
Tags |
cellzones, openfoam 1.7.1, toposet |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
Field operations on cell zones | Andrea_85 | OpenFOAM Programming & Development | 0 | March 7, 2018 09:03 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 04:19 |
Looping through Cell Zones in a Journal File | adam.vaccaro | Fluent UDF and Scheme Programming | 0 | August 1, 2013 23:45 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |