CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

controlDict dynamic functions for chtMultiRegionFoam

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2017, 14:22
Question controlDict dynamic functions for chtMultiRegionFoam
New Member
Mahdi Nabil
Join Date: Sep 2015
Posts: 9
Rep Power: 9
Mhmnabil is on a distinguished road
Hi All,

I am running a chtMultiRegionFoam case with two regions (solid and fluid). It is actually a microchannel section with considering the surrounding walls. I am trying to modify dynamic function objects in the controlDict to actually add some functions to calculate some parameters on patches of both fluid and solid region.

I don't know how should I call a patch in a way that openfoam finds out which region i am talking about. When I was trying to do it as usual without referring to a region name:

const label InletPatchID = bMesh.findPatchID("Inlet");

It does not work. The error is:

request for objectRegistry region0 from objectRegistry ShortCase_1.1_1000_20_6FineCHT2processor4 failed
available objects of type objectRegistry are


Does anyone know how I can call a specific region when I write my functions in controlDict?

Mhmnabil is offline   Reply With Quote


chtmultiregionfoam, controldict, functionobjects, region patch, regions

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
writeFormat and timeFormat in functions subDict in controlDict cfdopenfoam OpenFOAM Running, Solving & CFD 3 March 5, 2021 08:29
How to solve the boundary layer without wall functions? WhiteW OpenFOAM Running, Solving & CFD 4 January 20, 2020 04:55
How to use dynSmagorinsky model correctly ? panda60 OpenFOAM 121 July 14, 2016 13:09
dynamic mesh or dynamic grid adaptation?? IndrajitW FLUENT 3 May 23, 2013 03:38
N-S equations:divergence free functions? D. Puigjaner Main CFD Forum 1 July 27, 2000 12:43

All times are GMT -4. The time now is 18:34.