|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Nov 2016
Posts: 10
Rep Power: 7 ![]() |
Hi,
I am doing some co-processing in my main solver loop and would like to access the user-inputed value in the boundary condition. For example, I have a custom boundary condition with a sub-dictionary that looks like: outlet { type customType; targetConc 0.4; value uniform 0.0; } I want to access the value of "targetConc" in my main cover loop (not in the BC) so that I can use it as input for other quantities I am trying to calculate. I know how to access the fvPatchField at the outlet, but unfortunately, the scalar I defined in my BC is private data and there is no member function to access it. So, I want to re-read the value of that scalar into the top solver from the original boundary condition dictionary. Summarizing: How do I access the boundary condition dictionary from within the main solver? Thanks! |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 9 ![]() |
Hi, have u finally found a method to do this?
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Nov 2016
Posts: 10
Rep Power: 7 ![]() |
Nope! I'm just reading a duplicated value from the transport dictionary (non-elegant but it works).
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 08:44 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 10:52 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 17:51 |
External Radiation Boundary Condition for Grid Interface | CFD XUE | FLUENT | 0 | July 9, 2010 02:53 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |