CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

OpenFoam cell zones

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2020, 10:47
Default OpenFoam cell zones
  #1
Member
 
Bineet Mehra
Join Date: Aug 2013
Posts: 61
Rep Power: 12
bineet_aero is on a distinguished road
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 08:36.
bineet_aero is offline   Reply With Quote

Old   November 18, 2020, 15:41
Default
  #2
Member
 
Eren
Join Date: Aug 2018
Posts: 86
Rep Power: 8
ErenC is on a distinguished road
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).
ErenC is offline   Reply With Quote

Old   November 20, 2020, 07:32
Default
  #3
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
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.)
simrego is offline   Reply With Quote

Old   November 21, 2020, 03:40
Default
  #4
New Member
 
Declan Keogh
Join Date: Jun 2020
Location: Sydney, Australia
Posts: 11
Rep Power: 5
dkeogh is on a distinguished road
As above, use the commands:

IdeasUnvToFoam -writeZones
splitMeshRegions -cellZones -overwrite
dkeogh is offline   Reply With Quote

Reply

Tags
cellzones, openfoam 1.7.1, toposet

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
Field operations on cell zones Andrea_85 OpenFOAM Programming & Development 0 March 7, 2018 08:03
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
Looping through Cell Zones in a Journal File adam.vaccaro Fluent UDF and Scheme Programming 0 August 1, 2013 22:45
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55


All times are GMT -4. The time now is 17:03.