|
[Sponsors] |
Registering a dictionary to the objectRegistry from within a boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 13, 2017, 09:30 |
Registering a dictionary to the objectRegistry from within a boundary condition
|
#1 |
New Member
Hendrik
Join Date: Jan 2017
Posts: 6
Rep Power: 9 |
Dear Foamers,
I've been working on the implementation of a translating reference frame velocity boundary condition (BC) to minimize the domain size in a rising bubble simulation. The bubble position and velocity is calculated in an adapted interFoam solver. To access the bubble velocity from within my custom BC I used a custom IOdictionary called velocityDict (Which is declared in createFields.H of the interFoam solver) Code:
IOdictionary velocityDict ( IOobject ( "velocityDict", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ) ); This works fine for a single core run. Unfortunately when I try to decompose the case, the decomposition fails because the dicionary is not known to decomposePar and reconstructPar. Now my question: Is there a possibilty to register this dictionary in the BC? Does anyboy have another suggestion how to get the bubble velocity from the main solver into the BC? |
|
Tags |
boundary condition, objectregistry |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
Dictionary update from a boundary condition: is it possible? | JoeFriend | OpenFOAM Programming & Development | 5 | August 16, 2017 13:34 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |