|
[Sponsors] |
controlDict dynamic functions for chtMultiRegionFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 25, 2017, 15:22 |
controlDict dynamic functions for chtMultiRegionFoam
|
#1 |
New Member
Mahdi Nabil
Join Date: Sep 2015
Posts: 9
Rep Power: 11 |
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: 4] --> FOAM FATAL ERROR: [4] request for objectRegistry region0 from objectRegistry ShortCase_1.1_1000_20_6FineCHT2processor4 failed available objects of type objectRegistry are 2 ( fluid solid ) Does anyone know how I can call a specific region when I write my functions in controlDict? Regards, Mahdi |
|
Tags |
chtmultiregionfoam, controldict, functionobjects, region patch, regions |
|
|
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 09:29 |
How to solve the boundary layer without wall functions? | WhiteW | OpenFOAM Running, Solving & CFD | 4 | January 20, 2020 05:55 |
How to use dynSmagorinsky model correctly ? | panda60 | OpenFOAM | 121 | July 14, 2016 14:09 |
dynamic mesh or dynamic grid adaptation?? | IndrajitW | FLUENT | 3 | May 23, 2013 04:38 |
N-S equations:divergence free functions? | D. Puigjaner | Main CFD Forum | 1 | July 27, 2000 13:43 |