|
[Sponsors] |
June 9, 2009, 07:04 |
passing none-Field Data among libraries
|
#1 |
New Member
Lukas Fischer
Join Date: Mar 2009
Location: Innsbruck, Austria
Posts: 15
Rep Power: 17 |
Hi,
we would like to access one Foam::scalar that we calculate in a modified forces library to set a boundary. The library we created calculates the surface elevation depending on gamma and a predefinded direction and is called from the controlDict similar to the forces library and can be called several times with different names. Now we would like to use these values in a wave generating boundary, preferably by specifying the same identifier in the boundary condition as in the controlDict. If the forces lib would be a registry object this would be easy, but it seems to me that only fields and some special types (i.e. Time) can be attached to the registry. Is there any type that can hold a single value/scalar and that can be attached to the registry or can the forces object be linked to the reg., or is there a different way to pass small data among libraries? Thanks, Lukas |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
External magnetic field data | Richard Lee | FLUENT | 7 | January 11, 2019 04:43 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
may i import flow field data to do particle track? | Hao | FLUENT | 8 | April 29, 2008 08:22 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 17:27 |